Cant import any makehuman models into blender with skeleton

If you have problems understanding something or getting started, ask here

Moderator: joepal

Cant import any makehuman models into blender with skeleton

Postby Thomasmg81 » Fri Jun 04, 2021 11:23 pm

When i try to export a model to adjust the pose in blender, it wont load with the skeleton.
When i import it with a obj file, the mesh loads but the rig isn't there.
When i import it as a fbx file, the mesh doesnt load at all and i get this error message instead.
Can someone please suggest a fix?
Thanks in advance..
Attachments
error message.png
Thomasmg81
 
Posts: 11
Joined: Wed Oct 17, 2018 10:12 pm
Location: Northern Ireland, UK

Re: Cant import any makehuman models into blender with skele

Postby Aranuvir » Sat Jun 05, 2021 5:34 am

Looks like your Blender is slightly outdated (round about 8 years) and I fear no one still supports it. You might consider an update...
Aranuvir
 
Posts: 1314
Joined: Sun Oct 12, 2014 2:12 pm

Re: Cant import any makehuman models into blender with skele

Postby Thomasmg81 » Sat Jun 05, 2021 9:10 pm

Aranuvir wrote:Looks like your Blender is slightly outdated (round about 8 years) and I fear no one still supports it. You might consider an update...


I've been using makehuman in conjunction with this blender version with no issue for a while now.
I've only started having this problem recently. It started inexplicably.

I put off updating my blender version because i cant be bothered learning a new GUI. However when i tried loading the model into blender 2.8 the same issue is still persisting.
Thomasmg81
 
Posts: 11
Joined: Wed Oct 17, 2018 10:12 pm
Location: Northern Ireland, UK

Re: Cant import any makehuman models into blender with skele

Postby tomcat » Sun Jun 06, 2021 6:08 am

Thomasmg81 wrote:However when i tried loading the model into blender 2.8 the same issue is still persisting.

  • You can try using Blender 2.79b. (It has an ancient GUI.)
  • You can export to Blender 2.8/2.9 via the Socket ("MakeHuman plugin for blender").
Foreigners' reactions to Russian "Bird's Milk" candies
— Are your birds being milked?
— In Russia everyone is milked. Here even the zucchini is used to make caviar.
User avatar
tomcat
 
Posts: 335
Joined: Sun Sep 27, 2015 7:53 pm
Location: Moscow (Orcish Stan), The Aggressive Evil Empire

Re: Cant import any makehuman models into blender with skele

Postby punkduck » Sun Jun 06, 2021 9:25 pm

it has to do something with empty bytes and stringnodes of fbx. I tried to find out where it crashes, because the code did change a bit, but not completely.
Partly the error output seems to be incomplete. A similar code is found in the file "io_scene_fbx/import_fbx.py" but blen_read_texture is not existent. I found
blen_read_texture_image instead. The filepath is empty, when replace is called, so it is no string then.

They call elem_find_first_string and this error was detected some years ago. This one:

https://developer.blender.org/T45291

When you want to use a 2.79 it looks like this (and it did not change for the 2.8+ code).

Code: Select all
def elem_find_first_string(elem, id_search):
    fbx_item = elem_find_first(elem, id_search)
    if fbx_item is not None and fbx_item.props:  # Do not error on complete empty properties (see T45291).
        assert(len(fbx_item.props) == 1)
        assert(fbx_item.props_type[0] == data_types.STRING)
        return fbx_item.props[0].decode('utf-8', 'replace')
    return None


elem_find_first_string was fixed ibetween. Maybe the fbx plugins are very old.

Honestly either use mhx2 importer and exporter or use the MPFB plugin, neither blender nor makehuman are really fbx systems, so it is always a better solution to use the proprietary protocols. Fbx works okay for e.g. the export to unreal engine. And slowly it is hard to work with pre- 2.8+ blender versions. I still have a 2.79c, but 2.69 is really vintage style ... ;)
User avatar
punkduck
 
Posts: 1216
Joined: Mon Oct 17, 2016 7:24 pm
Location: Nuremberg, Germany


Return to Newbies

Who is online

Users browsing this forum: No registered users and 1 guest