I need to write a python script in order to import .mhx file and management it. I don't if it is possible to do that or no? Any help?

  • $\begingroup$ Make human comes with a script to import MHX files into blender. there are tutorials at the main website makehuman.org/documentation $\endgroup$
    – wardrums
    Commented Jun 20, 2015 at 11:50
  • $\begingroup$ If this is a question about python you may better ask it on the main SO. Maybe you should edit your question to "how can I export MakeHuman files to Blender" $\endgroup$
    – Foad
    Commented Jun 27, 2018 at 19:12

3 Answers 3

  1. Download the make human blender tools from the make human website.

  2. Open the zip. It will create a "blendertools" folder where you opened it.

  3. Install the make human scene importer script: blendertools\mhx_importer\import_scene_mhx.py

  4. Once the plugin is installed, this command will become available to you via python:

    bpy.ops.import_scene.makehuman_mhx(filter_glob="*.mhx", filepath="", scale=1, advanced=False, enforce=True, mesh=True, proxy=True, cage=False, clothes=True, shapekeys=True, drivers=False, diamond=False, rigify=True)

  • $\begingroup$ Thanks. I guess not all of these parameters are needed? Some of them must be set by default $\endgroup$ Commented Aug 16, 2015 at 15:25
  • $\begingroup$ Sure, every param there has a default value, though I'd make sure to provide a value for the filepath param :) $\endgroup$
    – TLousky
    Commented Aug 16, 2015 at 16:11

Have you had a look at the blender-addons repository? There are quite a few resources available for you to dive in, like this one for example:


The ImportMhx class at line 2958 gives you a good starting point.


For some reasons the newer version of MakeHuman (1.1.x) have removed the .mhx export option! Somebody has developed the MHX2 plugin which you can download from here or from the BitBucket repo. Then following the instructions on the README file:

  • copy the 9_export_mhx2 folder to the MakeHuman plugins folder. For example on macOS it is in /Applications/MakeHuman.app/Contents/Resources/plugins
  • copy the import_runtime_mhx2 folder to the Blender addons folder. On my macOS it is on /Users/userName/Library/Application Support/Blender/2.79/scripts/addons
  • The you may follow these instructions to activate the plugin on Blender

After that you can export as mhx2 and then directly import in Blender.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .