diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2022-01-05 23:59:22 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2022-01-09 15:41:09 +0300 |
commit | 29c03b657082c266233b3795407d71629f3a02ea (patch) | |
tree | a646e336d409f095044b82388abb9d41ab809345 /rigify | |
parent | 0391f865e12d432ad06050f654a04f259361f123 (diff) |
Rigify: enable the split toe option by default in metarigs and samples.
Diffstat (limited to 'rigify')
-rw-r--r-- | rigify/metarigs/Basic/basic_human.py | 16 | ||||
-rw-r--r-- | rigify/metarigs/human.py | 16 | ||||
-rw-r--r-- | rigify/rigs/limbs/leg.py | 4 |
3 files changed, 28 insertions, 8 deletions
diff --git a/rigify/metarigs/Basic/basic_human.py b/rigify/metarigs/Basic/basic_human.py index 9ddbdc0e..1c584325 100644 --- a/rigify/metarigs/Basic/basic_human.py +++ b/rigify/metarigs/Basic/basic_human.py @@ -418,7 +418,7 @@ def create(obj): except AttributeError: pass pbone = obj.pose.bones[bones['thigh.L']] - pbone.rigify_type = 'limbs.super_limb' + pbone.rigify_type = 'limbs.leg' pbone.lock_location = (False, False, False) pbone.lock_rotation = (False, False, False) pbone.lock_rotation_w = False @@ -430,6 +430,10 @@ def create(obj): except AttributeError: pass try: + pbone.rigify_parameters.extra_ik_toe = True + except AttributeError: + pass + try: pbone.rigify_parameters.fk_layers = [False, False, False, False, False, False, False, False, False, False, False, False, False, False, True, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False] except AttributeError: pass @@ -438,7 +442,7 @@ def create(obj): except AttributeError: pass pbone = obj.pose.bones[bones['thigh.R']] - pbone.rigify_type = 'limbs.super_limb' + pbone.rigify_type = 'limbs.leg' pbone.lock_location = (False, False, False) pbone.lock_rotation = (False, False, False) pbone.lock_rotation_w = False @@ -457,6 +461,10 @@ def create(obj): pbone.rigify_parameters.limb_type = "leg" except AttributeError: pass + try: + pbone.rigify_parameters.extra_ik_toe = True + except AttributeError: + pass pbone = obj.pose.bones[bones['spine.002']] pbone.rigify_type = '' pbone.lock_location = (False, False, False) @@ -610,7 +618,7 @@ def create(obj): pbone.rotation_mode = 'QUATERNION' pbone.bone.layers = [False, False, False, True, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False] pbone = obj.pose.bones[bones['upper_arm.L']] - pbone.rigify_type = 'limbs.super_limb' + pbone.rigify_type = 'limbs.arm' pbone.lock_location = (False, False, False) pbone.lock_rotation = (False, False, False) pbone.lock_rotation_w = False @@ -626,7 +634,7 @@ def create(obj): except AttributeError: pass pbone = obj.pose.bones[bones['upper_arm.R']] - pbone.rigify_type = 'limbs.super_limb' + pbone.rigify_type = 'limbs.arm' pbone.lock_location = (False, False, False) pbone.lock_rotation = (False, False, False) pbone.lock_rotation_w = False diff --git a/rigify/metarigs/human.py b/rigify/metarigs/human.py index 9ddc2f75..5ff61677 100644 --- a/rigify/metarigs/human.py +++ b/rigify/metarigs/human.py @@ -1328,7 +1328,7 @@ def create(obj): except AttributeError: pass pbone = obj.pose.bones[bones['thigh.L']] - pbone.rigify_type = 'limbs.super_limb' + pbone.rigify_type = 'limbs.leg' pbone.lock_location = (False, False, False) pbone.lock_rotation = (False, False, False) pbone.lock_rotation_w = False @@ -1340,6 +1340,10 @@ def create(obj): except AttributeError: pass try: + pbone.rigify_parameters.extra_ik_toe = True + except AttributeError: + pass + try: pbone.rigify_parameters.fk_layers = [False, False, False, False, False, False, False, False, False, False, False, False, False, False, True, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False] except AttributeError: pass @@ -1348,7 +1352,7 @@ def create(obj): except AttributeError: pass pbone = obj.pose.bones[bones['thigh.R']] - pbone.rigify_type = 'limbs.super_limb' + pbone.rigify_type = 'limbs.leg' pbone.lock_location = (False, False, False) pbone.lock_rotation = (False, False, False) pbone.lock_rotation_w = False @@ -1367,6 +1371,10 @@ def create(obj): pbone.rigify_parameters.limb_type = "leg" except AttributeError: pass + try: + pbone.rigify_parameters.extra_ik_toe = True + except AttributeError: + pass pbone = obj.pose.bones[bones['spine.002']] pbone.rigify_type = '' pbone.lock_location = (False, False, False) @@ -1520,7 +1528,7 @@ def create(obj): pbone.rotation_mode = 'QUATERNION' pbone.bone.layers = [False, False, False, True, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False] pbone = obj.pose.bones[bones['upper_arm.L']] - pbone.rigify_type = 'limbs.super_limb' + pbone.rigify_type = 'limbs.arm' pbone.lock_location = (False, False, False) pbone.lock_rotation = (False, False, False) pbone.lock_rotation_w = False @@ -1536,7 +1544,7 @@ def create(obj): except AttributeError: pass pbone = obj.pose.bones[bones['upper_arm.R']] - pbone.rigify_type = 'limbs.super_limb' + pbone.rigify_type = 'limbs.arm' pbone.lock_location = (False, False, False) pbone.lock_rotation = (False, False, False) pbone.lock_rotation_w = False diff --git a/rigify/rigs/limbs/leg.py b/rigify/rigs/limbs/leg.py index 051c0ec0..5967dcef 100644 --- a/rigify/rigs/limbs/leg.py +++ b/rigify/rigs/limbs/leg.py @@ -470,6 +470,10 @@ def create_sample(obj): pbone.rigify_parameters.tweak_layers = [False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, True, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False] except AttributeError: pass + try: + pbone.rigify_parameters.extra_ik_toe = True + except AttributeError: + pass pbone = obj.pose.bones[bones['shin.L']] pbone.rigify_type = '' pbone.lock_location = (False, False, False) |