Rigify doesn't work

Issue #458 resolved
Noname created an issue

Hello,

After applying rigify to the model IK appears to not working.

Rigify itself does work correctly but mesh appears to be using FK ?

Also moving by the torso bone moves entire character in T pose instead to correctly drive hip bone.

Regards

Comments (9)

  1. Noname reporter

    Now with version 162 I got error when converting to rigify:

    Python: Traceback (most recent call last):
      File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import-daz-dev\error.py", line 247, in execute
        self.run(context)
      File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import-daz-dev\rigify.py", line 1287, in run
        gen = self.rigifyMeta(context)
      File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import-daz-dev\rigify.py", line 869, in rigifyMeta
        self.rigifyMeta1(context)
      File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import-daz-dev\rigify.py", line 1112, in rigifyMeta1
        self.fixBoneDrivers(gen, correctives)
      File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import-daz-dev\fix.py", line 166, in fixBoneDrivers
        changeTargets(rig, rig)
      File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import-daz-dev\fix.py", line 161, in changeTargets
        self.changeTarget(fcu, rna, rig, assoc)
      File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import-daz-dev\fix.py", line 190, in changeTarget
        trg.bone_target = assoc[trg.bone_target]
    KeyError: 'foot.L'
    
    location: <unknown location>:-1
    

  2. engetudouiti

    Yes I saw same issue. ( reported in another topic but thanks now it becom more clear ^^;) though it generate rig as FK rig fy.

  3. Alessandro Padovani

    Just to add that version 160 (commit 979be54) works fine, though rigify starts in fk mode that I suppose it’s on purpose. So we have to set ik in the control panel.

    update. Here 162 (commit 604aa41) seems to work fine too. Same as 160 and I get no errors when converting to rigify. Tested both G8 and G81. But I’m on blender 2.92 I see that Noname uses 2.93.

  4. Thomas Larsson repo owner

    Rigify starts in FK mode in Blender 2.92 for me too. I don’t think I have changed anything related to this, so probably something changed between 2.91 and 2.92.

  5. Noname reporter

    Update:

    Steps:

    • import using Easy Import (DBZ file) G3F character Lilith
    • press Convert to Rigify (nothing done at all beyond that)

    blender 2.93 + 162 - error:

    Python: Traceback (most recent call last):
      File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import-daz-dev\error.py", line 247, in execute
        self.run(context)
      File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import-daz-dev\rigify.py", line 1287, in run
        gen = self.rigifyMeta(context)
      File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import-daz-dev\rigify.py", line 869, in rigifyMeta
        self.rigifyMeta1(context)
      File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import-daz-dev\rigify.py", line 1112, in rigifyMeta1
        self.fixBoneDrivers(gen, correctives)
      File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import-daz-dev\fix.py", line 166, in fixBoneDrivers
        changeTargets(rig, rig)
      File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import-daz-dev\fix.py", line 161, in changeTargets
        self.changeTarget(fcu, rna, rig, assoc)
      File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import-daz-dev\fix.py", line 190, in changeTarget
        trg.bone_target = assoc[trg.bone_target]
    KeyError: 'foot.L'
    
    location: <unknown location>:-1
    

    Tested also normal import same issue.

    blender 2.92 + 162 - error:

    Python: Traceback (most recent call last):
      File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\Diffeomorphic-import-daz-dev\error.py", line 247, in execute
        self.run(context)
      File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\Diffeomorphic-import-daz-dev\rigify.py", line 1287, in run
        gen = self.rigifyMeta(context)
      File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\Diffeomorphic-import-daz-dev\rigify.py", line 869, in rigifyMeta
        self.rigifyMeta1(context)
      File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\Diffeomorphic-import-daz-dev\rigify.py", line 1112, in rigifyMeta1
        self.fixBoneDrivers(gen, correctives)
      File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\Diffeomorphic-import-daz-dev\fix.py", line 166, in fixBoneDrivers
        changeTargets(rig, rig)
      File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\Diffeomorphic-import-daz-dev\fix.py", line 161, in changeTargets
        self.changeTarget(fcu, rna, rig, assoc)
      File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\Diffeomorphic-import-daz-dev\fix.py", line 190, in changeTarget
        trg.bone_target = assoc[trg.bone_target]
    KeyError: 'foot.L'
    
    location: <unknown location>:-1
    

    Older version don’t produce error.

  6. engetudouiti
    1. I saw same error for G3 do not test G8.1 now, About g3, even though I import base G3, it show the error when I convert to rig-fy. No option remove the error but it can generate rig and apply armature modifer with weight map for mesh
    2. When I generate Armature human from meta-rig (without use this plug in and mesh ) b2.92 set bones (limb) it set limb slider IK-FK as 0.0
    3. Daz importer generated rig set Limb slider IK-FK as 0.0 so it seems same (then now rig start as FK)
    4. I feel there seems label miss about the Rig fy props. we basically expect IK-FK = 0 means IK but not. it need to request for blender. I do not clear remember about old blender version. anyway before rig fy start as IK posing.

    So this add on side problem is the error message only , then we afraid if some set up functions not applied for generate rig. about G3 figures. anyway I confirm those error with G3 import and convert Rig fy with 2.92 (official release version)

  7. Thomas Larsson repo owner

    Should work now. The problem is specific to G3F, where the heel bone is driven by the foot. I had only tested rigigy with G8F, who does not have a heel bone, so the problem never showed up there.

  8. Noname reporter

    Sorry about that (clicking image) I should be more clear when reporting issue.

    Seams to be working fine.

  9. Log in to comment