Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with rigs that were converted to Rigify #10

Open
VP1989 opened this issue Feb 16, 2023 · 1 comment
Open

Issues with rigs that were converted to Rigify #10

VP1989 opened this issue Feb 16, 2023 · 1 comment

Comments

@VP1989
Copy link

VP1989 commented Feb 16, 2023

I have imported a model from Koikatsu to Blender and converted the bones to Rigify. When I try to use this add-on, it keeps giving me the same error.

~~~~~~~~~~~START~~~~~~~~~~~~

skeleton is RIG-Armature.003
Traceback (most recent call last):
  File "C:\Users\ADMIN\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\autogrip-main\handrig.py", line 698, in find_hand_root
    return obj.pose.bones['DEF-hand.L']
KeyError: 'bpy_prop_collection[key]: key "DEF-hand.L" not found'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ADMIN\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\autogrip-main\handrig.py", line 747, in execute
    righthandroot = find_hand_root('R')
  File "C:\Users\ADMIN\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\autogrip-main\handrig.py", line 711, in find_hand_root
    raise RuntimeError("Couldn't find hand root. Are you sure you have the right rig type?")
RuntimeError: Couldn't find hand root. Are you sure you have the right rig type?
Error: Python: Traceback (most recent call last):
  File "C:\Users\ADMIN\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\autogrip-main\handrig.py", line 698, in find_hand_root
    return obj.pose.bones['DEF-hand.L']
KeyError: 'bpy_prop_collection[key]: key "DEF-hand.L" not found'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ADMIN\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\autogrip-main\handrig.py", line 747, in execute
    righthandroot = find_hand_root('R')
  File "C:\Users\ADMIN\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\autogrip-main\handrig.py", line 711, in find_hand_root
    raise RuntimeError("Couldn't find hand root. Are you sure you have the right rig type?")
RuntimeError: Couldn't find hand root. Are you sure you have the right rig type?

Clicking on "Guess Rig Type" brings me the same message: "Rig doesn't match precoded types."

Please let me know what other info I should provide to solve this.

@Jetpack-Crow
Copy link
Owner

Jetpack-Crow commented Feb 16, 2023

This add-on works based off of the names of bones. I've never worked with that model type and don't know what to expect from its rigs, but if you don't have a bone called DEF-hand.L, that must mean the conversion isn't updating the deformation bones' names to match Rigify's defaults, only adding additional controllers on top of them. I've been thinking of adding more tools to work with custom types of rigs for a while, but haven't figured out a decent way to implement them yet. You could try renaming the original rig's bones to match Rigify's bone names more closely, but otherwise, this may be outside the scope of this add-on for right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants