Add new features to previously existing MHX armature.

Issue #1834 invalid
Azzy Limmons created an issue

Hello,

I have some models I have been working on for a very long time, and used the Diffeomorphic tools create MHX armatures for them.

This might be a proposal or more of a question; is there a way to add things like the new Tongue IK, Finger IK, Spine IK to an MHX armature that was already created in the past? I see no way to do it in either the DAZ Importer nor MHX plugin panels.

I really would love to make use of these newer IK features on older MHX rigs without re-importing my model from Daz, as I would lose a lot of work I have done on them since then.

In many cases I do not have the original DAZ rig pre-conversion saved for the characters, so I can not simply recreate the DAZ rig. And re-importing necessitates I also remerge clothing and accessory bones and with the custom work I have done adjusting bone locations, I would lose that work as well. I really would love if the enhanced features could be added to the rigs post-conversion.

Comments (4)

  1. Thomas Larsson repo owner
    • changed status to open

    Unfortunately, this is not possible. There are several different versions of mhx. There is a conversion tool that hopefully works to translate between different major versions, but they just make it possible to pose old mhx rig, not to add new features. Sorry about that.

  2. Azzy Limmons reporter

    Is it possible you could point me to the line numbers in the code where the Tongue IK, Finger IK, and Spine IK generation code is run? If nothing else, I could use that as reference to create my own private script. The version of MHX my characters are on is from Daz Importer 1.6.1. I can’t imagine so many things have changed as to make that code totally inapplicable.

    Thank you!

  3. Thomas Larsson repo owner

    Some significant changes have been made after 1.6.1, in particular what kind of custom variables that are used in drivers. But if you open an old mhx in the latest version you will see conversion tools. Be aware that you cannot go back to previous version if you save the converted rig with the same file name.

    Anyway, you find the code that generate the IK features here:

    Spine IK: addBack, mhx.py line 958

    Finger IK: addFingerWinders, mhx.py line 1076

    Tongue IK: addTongueIkBones, fix.py line 427
    addTongueControl, fix.py line 436

  4. Log in to comment