rescale metarig types to roughly match 1.0 == 1m for body parts, also fix py error with bone UI

This commit is contained in:
2009-12-17 13:17:24 +00:00
parent 01dd4ea13a
commit 4cddc9e146
8 changed files with 90 additions and 97 deletions

View File

@@ -33,32 +33,32 @@ def metarig_template():
obj = bpy.context.active_object
arm = obj.data
bone = arm.edit_bones.new('body')
bone.head[:] = -0.3000, -1.0000, 0.0000
bone.tail[:] = -0.3000, -1.0000, 1.0000
bone.head[:] = -0.0728, -0.2427, 0.0000
bone.tail[:] = -0.0728, -0.2427, 0.2427
bone.roll = 0.0000
bone.connected = False
bone = arm.edit_bones.new('thigh')
bone.head[:] = 0.0000, 0.0000, -0.0000
bone.tail[:] = 0.3351, -0.8690, -1.3903
bone.tail[:] = 0.0813, -0.2109, -0.3374
bone.roll = -0.4656
bone.connected = False
bone.parent = arm.edit_bones['body']
bone = arm.edit_bones.new('shin')
bone.head[:] = 0.3351, -0.8690, -1.3903
bone.tail[:] = 0.2943, -0.0179, -2.4026
bone.head[:] = 0.0813, -0.2109, -0.3374
bone.tail[:] = 0.0714, -0.0043, -0.5830
bone.roll = -0.2024
bone.connected = True
bone.parent = arm.edit_bones['thigh']
bone = arm.edit_bones.new('foot')
bone.head[:] = 0.2943, -0.0179, -2.4026
bone.tail[:] = 0.3830, -0.1995, -3.1531
bone.head[:] = 0.0714, -0.0043, -0.5830
bone.tail[:] = 0.0929, -0.0484, -0.7652
bone.roll = -0.3766
bone.connected = True
bone.parent = arm.edit_bones['shin']
bone = arm.edit_bones.new('toe')
bone.head[:] = 0.3830, -0.1995, -3.1531
bone.tail[:] = 0.4724, -0.5126, -3.1531
bone.roll = 0.0000
bone.head[:] = 0.0929, -0.0484, -0.7652
bone.tail[:] = 0.1146, -0.1244, -0.7652
bone.roll = -0.0000
bone.connected = True
bone.parent = arm.edit_bones['foot']