diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-12-17 16:17:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-12-17 16:17:24 +0300 |
commit | 4cddc9e1468a3c329a6380450da6076b9cb06f3e (patch) | |
tree | 7a40624a84841c97a60ae23bf84524d55661651d /release/scripts/modules/rigify/finger_curl.py | |
parent | 01dd4ea13ad75f4b9df04b56a3cc456d006d8390 (diff) |
rescale metarig types to roughly match 1.0 == 1m for body parts, also fix py error with bone UI
Diffstat (limited to 'release/scripts/modules/rigify/finger_curl.py')
-rw-r--r-- | release/scripts/modules/rigify/finger_curl.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/release/scripts/modules/rigify/finger_curl.py b/release/scripts/modules/rigify/finger_curl.py index cec6504a8aa..a4688ee8b5b 100644 --- a/release/scripts/modules/rigify/finger_curl.py +++ b/release/scripts/modules/rigify/finger_curl.py @@ -28,23 +28,24 @@ METARIG_NAMES = "finger_01", "finger_02", "finger_03" def metarig_template(): + # generated by rigify.write_meta_rig bpy.ops.object.mode_set(mode='EDIT') obj = bpy.context.active_object arm = obj.data bone = arm.edit_bones.new('finger.01') bone.head[:] = 0.0000, 0.0000, 0.0000 - bone.tail[:] = 0.8788, -0.4584, -0.1327 + bone.tail[:] = 0.0353, -0.0184, -0.0053 bone.roll = -2.8722 bone.connected = False bone = arm.edit_bones.new('finger.02') - bone.head[:] = 0.8788, -0.4584, -0.1327 - bone.tail[:] = 1.7483, -0.9059, -0.3643 + bone.head[:] = 0.0353, -0.0184, -0.0053 + bone.tail[:] = 0.0702, -0.0364, -0.0146 bone.roll = -2.7099 bone.connected = True bone.parent = arm.edit_bones['finger.01'] bone = arm.edit_bones.new('finger.03') - bone.head[:] = 1.7483, -0.9059, -0.3643 - bone.tail[:] = 2.2478, -1.1483, -0.7408 + bone.head[:] = 0.0702, -0.0364, -0.0146 + bone.tail[:] = 0.0903, -0.0461, -0.0298 bone.roll = -2.1709 bone.connected = True bone.parent = arm.edit_bones['finger.02'] |