diff options
-rw-r--r-- | rigify/__init__.py | 24 | ||||
-rw-r--r-- | rigify/generate.py | 36 | ||||
-rw-r--r-- | rigify/metarig_menu.py | 34 | ||||
-rw-r--r-- | rigify/metarigs/Animals/__init__.py | 0 | ||||
-rw-r--r-- | rigify/metarigs/Animals/bird.py | 1494 | ||||
-rw-r--r-- | rigify/metarigs/Animals/cat.py | 2979 | ||||
-rw-r--r-- | rigify/metarigs/Animals/horse.py | 1372 | ||||
-rw-r--r-- | rigify/metarigs/Animals/shark.py | 794 | ||||
-rw-r--r-- | rigify/metarigs/Animals/wolf.py | 3227 | ||||
-rw-r--r-- | rigify/metarigs/Basic/basic_human.py | 684 | ||||
-rw-r--r-- | rigify/metarigs/Basic/basic_quadruped.py | 819 | ||||
-rw-r--r-- | rigify/metarigs/human.py | 247 | ||||
-rw-r--r-- | rigify/rigs/faces/super_face.py | 24 | ||||
-rw-r--r-- | rigify/rigs/limbs/arm.py | 16 | ||||
-rw-r--r-- | rigify/rigs/limbs/leg.py | 12 | ||||
-rw-r--r-- | rigify/rigs/limbs/paw.py | 16 | ||||
-rw-r--r-- | rigify/rigs/limbs/rear_paw.py | 16 | ||||
-rw-r--r-- | rigify/ui.py | 106 | ||||
-rw-r--r-- | rigify/utils.py | 55 |
19 files changed, 11702 insertions, 253 deletions
diff --git a/rigify/__init__.py b/rigify/__init__.py index 2e7953b1..2b065092 100644 --- a/rigify/__init__.py +++ b/rigify/__init__.py @@ -286,6 +286,24 @@ def register(): IDStore.rigify_types = bpy.props.CollectionProperty(type=RigifyName) IDStore.rigify_active_type = bpy.props.IntProperty(name="Rigify Active Type", description="The selected rig type") + IDStore.rigify_advanced_generation = bpy.props.BoolProperty(name="Rigify Advanced Generation", + description="Rigify Advanced Generation Parameters", + default=False) + + IDStore.rigify_force_widget_update = bpy.props.BoolProperty(name="Force Widget Update", + description="Rigify Force Widget Update", + default=False) + + IDStore.rigify_target_rigs = bpy.props.CollectionProperty(type=RigifyName) + IDStore.rigify_target_rig = bpy.props.StringProperty(name="Rigify Target Rig", + description="The Rig, Generate will run upon", + default="") + + IDStore.rigify_rig_uis = bpy.props.CollectionProperty(type=RigifyName) + IDStore.rigify_rig_ui = bpy.props.StringProperty(name="Rigify Target Rig UI", + description="The Rig UI to overwrite", + default="") + if (ui and 'legacy' in str(ui)) or bpy.context.user_preferences.addons['rigify'].preferences.legacy_mode: # update legacy on restart or reload bpy.context.user_preferences.addons['rigify'].preferences.legacy_mode = True @@ -307,6 +325,12 @@ def unregister(): del IDStore.rigify_collection del IDStore.rigify_types del IDStore.rigify_active_type + del IDStore.rigify_advanced_generation + del IDStore.rigify_force_widget_update + del IDStore.rigify_target_rig + del IDStore.rigify_target_rigs + del IDStore.rigify_rig_uis + del IDStore.rigify_rig_ui bpy.utils.unregister_class(RigifyName) bpy.utils.unregister_class(RigifyParameters) diff --git a/rigify/generate.py b/rigify/generate.py index 66971a7e..1af872d6 100644 --- a/rigify/generate.py +++ b/rigify/generate.py @@ -31,6 +31,7 @@ from .utils import RIG_DIR from .utils import create_root_widget from .utils import random_id from .utils import copy_attributes +from .utils import gamma_correct from .rig_ui_template import UI_SLIDERS, layers_ui, UI_REGISTER @@ -71,7 +72,7 @@ def generate_rig(context, metarig): bpy.ops.object.mode_set(mode='OBJECT') scene = context.scene - + id_store = context.window_manager #------------------------------------------ # Create/find the rig object and set it up @@ -79,10 +80,8 @@ def generate_rig(context, metarig): # regenerate in the same object. If not, create a new # object to generate the rig in. print("Fetch rig.") - try: - name = metarig["rig_object_name"] - except KeyError: - name = "rig" + + name = id_store.rigify_target_rig or "rig" try: obj = scene.objects[name] @@ -102,6 +101,19 @@ def generate_rig(context, metarig): obj.select = True scene.objects.active = obj + # Remove wgts if force update is set + if "WGTS" in scene.objects and id_store.rigify_force_widget_update: + bpy.ops.object.select_all(action='DESELECT') + for i, lyr in enumerate(WGT_LAYERS): + if lyr: + context.scene.layers[i] = True + for wgt in bpy.data.objects["WGTS"].children: + wgt.select = True + bpy.ops.object.delete(use_global=False) + for i, lyr in enumerate(WGT_LAYERS): + if lyr: + context.scene.layers[i] = False + # Remove all bones from the generated rig armature. bpy.ops.object.mode_set(mode='EDIT') for bone in obj.data.edit_bones: @@ -423,12 +435,14 @@ def generate_rig(context, metarig): # Create list of layer name/row pairs layer_layout = [] for l in metarig.data.rigify_layers: - print( l.name ) + print(l.name) layer_layout += [(l.name, l.row)] # Generate the UI script - if "rig_ui.py" in bpy.data.texts: - script = bpy.data.texts["rig_ui.py"] + rig_ui_name = id_store.rigify_rig_ui or 'rig_ui.py' + + if rig_ui_name in bpy.data.texts.keys(): + script = bpy.data.texts[rig_ui_name] script.clear() else: script = bpy.data.texts.new("rig_ui.py") @@ -521,9 +535,9 @@ def create_bone_groups(obj, metarig): if name not in obj.pose.bone_groups.keys(): bg = obj.pose.bone_groups.new(name) bg.color_set = 'CUSTOM' - bg.colors.normal = groups[g_id].normal - bg.colors.select = groups[g_id].select - bg.colors.active = groups[g_id].active + bg.colors.normal = gamma_correct(groups[g_id].normal) + bg.colors.select = gamma_correct(groups[g_id].select) + bg.colors.active = gamma_correct(groups[g_id].active) for b in pb: try: diff --git a/rigify/metarig_menu.py b/rigify/metarig_menu.py index 0c917c40..5c8c2ee4 100644 --- a/rigify/metarig_menu.py +++ b/rigify/metarig_menu.py @@ -117,7 +117,6 @@ def make_submenu_func(bl_idname, text): # Get the metarig modules metarigs_dict = get_metarig_list("") -print(metarigs_dict) armature_submenus = [] # Create metarig add Operators @@ -137,24 +136,27 @@ for metarig_class in metarigs_dict: metarig_ops[metarig_class].append((T, name)) menu_funcs = [] -for metarig_class in metarigs_dict: + +for mop, name in metarig_ops[utils.METARIG_DIR]: + text = capwords(name.replace("_", " ")) + " (Meta-Rig)" + menu_funcs += [make_metarig_menu_func(mop.bl_idname, text)] + +metarigs_dict.pop(utils.METARIG_DIR) + +metarig_classes = list(metarigs_dict.keys()) +metarig_classes.sort() +for metarig_class in metarig_classes: # Create menu functions - if metarig_class != utils.METARIG_DIR: - armature_submenus.append(type('Class_' + metarig_class + '_submenu', (ArmatureSubMenu,), {})) - armature_submenus[-1].bl_label = metarig_class + ' (submenu)' - armature_submenus[-1].bl_idname = 'ARMATURE_MT_%s_class' % metarig_class - armature_submenus[-1].operators = [] - menu_funcs += [make_submenu_func(armature_submenus[-1].bl_idname, metarig_class)] + + armature_submenus.append(type('Class_' + metarig_class + '_submenu', (ArmatureSubMenu,), {})) + armature_submenus[-1].bl_label = metarig_class + ' (submenu)' + armature_submenus[-1].bl_idname = 'ARMATURE_MT_%s_class' % metarig_class + armature_submenus[-1].operators = [] + menu_funcs += [make_submenu_func(armature_submenus[-1].bl_idname, metarig_class)] for mop, name in metarig_ops[metarig_class]: - print(metarig_class) - print(metarig_ops[metarig_class]) - if metarig_class != utils.METARIG_DIR: - arm_sub = next((e for e in armature_submenus if e.bl_label == metarig_class + ' (submenu)'), '') - arm_sub.operators.append((mop.bl_idname, name,)) - else: - text = capwords(name.replace("_", " ")) + " (Meta-Rig)" - menu_funcs += [make_metarig_menu_func(mop.bl_idname, text)] + arm_sub = next((e for e in armature_submenus if e.bl_label == metarig_class + ' (submenu)'), '') + arm_sub.operators.append((mop.bl_idname, name,)) def register(): for cl in metarig_ops: diff --git a/rigify/metarigs/Animals/__init__.py b/rigify/metarigs/Animals/__init__.py new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/rigify/metarigs/Animals/__init__.py diff --git a/rigify/metarigs/Animals/bird.py b/rigify/metarigs/Animals/bird.py new file mode 100644 index 00000000..0c4f7d31 --- /dev/null +++ b/rigify/metarigs/Animals/bird.py @@ -0,0 +1,1494 @@ +import bpy + + +from mathutils import Color + + +def create(obj): + # generated by rigify.utils.write_metarig + bpy.ops.object.mode_set(mode='EDIT') + arm = obj.data + + for i in range(6): + arm.rigify_colors.add() + + arm.rigify_colors[0].name = "Root" + arm.rigify_colors[0].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[0].normal = Color((0.4352940022945404, 0.18431399762630463, 0.4156860113143921)) + arm.rigify_colors[0].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[0].standard_colors_lock = True + arm.rigify_colors[1].name = "IK" + arm.rigify_colors[1].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[1].normal = Color((0.6039220094680786, 0.0, 0.0)) + arm.rigify_colors[1].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[1].standard_colors_lock = True + arm.rigify_colors[2].name = "Special" + arm.rigify_colors[2].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[2].normal = Color((0.9568629860877991, 0.7882350087165833, 0.04705899953842163)) + arm.rigify_colors[2].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[2].standard_colors_lock = True + arm.rigify_colors[3].name = "Tweak" + arm.rigify_colors[3].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[3].normal = Color((0.03921600058674812, 0.21176500618457794, 0.5803920030593872)) + arm.rigify_colors[3].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[3].standard_colors_lock = True + arm.rigify_colors[4].name = "FK" + arm.rigify_colors[4].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[4].normal = Color((0.11764699965715408, 0.5686269998550415, 0.035294000059366226)) + arm.rigify_colors[4].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[4].standard_colors_lock = True + arm.rigify_colors[5].name = "Extra" + arm.rigify_colors[5].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[5].normal = Color((0.9686279892921448, 0.2509799897670746, 0.09411799907684326)) + arm.rigify_colors[5].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[5].standard_colors_lock = True + + for i in range(29): + arm.rigify_layers.add() + + arm.rigify_layers[0].name = "Face" + arm.rigify_layers[0].row = 1 + arm.rigify_layers[0].set = False + arm.rigify_layers[0].group = 6 + arm.rigify_layers[1].name = "Face (Tweak)" + arm.rigify_layers[1].row = 2 + arm.rigify_layers[1].set = False + arm.rigify_layers[1].group = 4 + arm.rigify_layers[2].name = " " + arm.rigify_layers[2].row = 1 + arm.rigify_layers[2].set = False + arm.rigify_layers[2].group = 0 + arm.rigify_layers[3].name = "Spine" + arm.rigify_layers[3].row = 3 + arm.rigify_layers[3].set = False + arm.rigify_layers[3].group = 3 + arm.rigify_layers[4].name = "Spine (Tweak)" + arm.rigify_layers[4].row = 4 + arm.rigify_layers[4].set = False + arm.rigify_layers[4].group = 4 + arm.rigify_layers[5].name = " " + arm.rigify_layers[5].row = 1 + arm.rigify_layers[5].set = False + arm.rigify_layers[5].group = 0 + arm.rigify_layers[6].name = " " + arm.rigify_layers[6].row = 1 + arm.rigify_layers[6].set = False + arm.rigify_layers[6].group = 0 + arm.rigify_layers[7].name = "Wing.L" + arm.rigify_layers[7].row = 6 + arm.rigify_layers[7].set = False + arm.rigify_layers[7].group = 5 + arm.rigify_layers[8].name = "" + arm.rigify_layers[8].row = 8 + arm.rigify_layers[8].set = False + arm.rigify_layers[8].group = 0 + arm.rigify_layers[9].name = "Wing.L (Tweak)" + arm.rigify_layers[9].row = 7 + arm.rigify_layers[9].set = False + arm.rigify_layers[9].group = 4 + arm.rigify_layers[10].name = "Wing.R" + arm.rigify_layers[10].row = 6 + arm.rigify_layers[10].set = False + arm.rigify_layers[10].group = 5 + arm.rigify_layers[11].name = "" + arm.rigify_layers[11].row = 8 + arm.rigify_layers[11].set = False + arm.rigify_layers[11].group = 0 + arm.rigify_layers[12].name = "Wing.R (Tweak)" + arm.rigify_layers[12].row = 7 + arm.rigify_layers[12].set = False + arm.rigify_layers[12].group = 4 + arm.rigify_layers[13].name = "Leg.L (IK)" + arm.rigify_layers[13].row = 10 + arm.rigify_layers[13].set = False + arm.rigify_layers[13].group = 2 + arm.rigify_layers[14].name = "Leg.L (FK)" + arm.rigify_layers[14].row = 11 + arm.rigify_layers[14].set = False + arm.rigify_layers[14].group = 5 + arm.rigify_layers[15].name = "Leg.L (Tweak)" + arm.rigify_layers[15].row = 12 + arm.rigify_layers[15].set = False + arm.rigify_layers[15].group = 4 + arm.rigify_layers[16].name = " Leg.R (IK)" + arm.rigify_layers[16].row = 10 + arm.rigify_layers[16].set = False + arm.rigify_layers[16].group = 2 + arm.rigify_layers[17].name = " Leg.R (FK)" + arm.rigify_layers[17].row = 11 + arm.rigify_layers[17].set = False + arm.rigify_layers[17].group = 5 + arm.rigify_layers[18].name = " Leg.R (Tweak)" + arm.rigify_layers[18].row = 12 + arm.rigify_layers[18].set = False + arm.rigify_layers[18].group = 4 + arm.rigify_layers[19].name = " " + arm.rigify_layers[19].row = 1 + arm.rigify_layers[19].set = False + arm.rigify_layers[19].group = 0 + arm.rigify_layers[20].name = " " + arm.rigify_layers[20].row = 1 + arm.rigify_layers[20].set = False + arm.rigify_layers[20].group = 0 + arm.rigify_layers[21].name = "Claws" + arm.rigify_layers[21].row = 13 + arm.rigify_layers[21].set = False + arm.rigify_layers[21].group = 6 + arm.rigify_layers[22].name = "Claws (Tweak)" + arm.rigify_layers[22].row = 14 + arm.rigify_layers[22].set = False + arm.rigify_layers[22].group = 4 + arm.rigify_layers[23].name = " " + arm.rigify_layers[23].row = 1 + arm.rigify_layers[23].set = False + arm.rigify_layers[23].group = 0 + arm.rigify_layers[24].name = "Feathers" + arm.rigify_layers[24].row = 8 + arm.rigify_layers[24].set = False + arm.rigify_layers[24].group = 6 + arm.rigify_layers[25].name = " " + arm.rigify_layers[25].row = 1 + arm.rigify_layers[25].set = False + arm.rigify_layers[25].group = 0 + arm.rigify_layers[26].name = " " + arm.rigify_layers[26].row = 1 + arm.rigify_layers[26].set = False + arm.rigify_layers[26].group = 0 + arm.rigify_layers[27].name = " " + arm.rigify_layers[27].row = 1 + arm.rigify_layers[27].set = False + arm.rigify_layers[27].group = 0 + arm.rigify_layers[28].name = "Root" + arm.rigify_layers[28].row = 14 + arm.rigify_layers[28].set = False + arm.rigify_layers[28].group = 1 + + bones = {} + + bone = arm.edit_bones.new('spine') + bone.head[:] = -0.0000, 0.1371, 0.0894 + bone.tail[:] = -0.0000, 0.1039, 0.0907 + bone.roll = 0.0000 + bone.use_connect = False + bones['spine'] = bone.name + bone = arm.edit_bones.new('spine.001') + bone.head[:] = -0.0000, 0.1039, 0.0907 + bone.tail[:] = -0.0000, 0.0757, 0.0880 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine']] + bones['spine.001'] = bone.name + bone = arm.edit_bones.new('t_feather.L') + bone.head[:] = 0.0112, 0.1017, 0.0907 + bone.tail[:] = 0.0167, 0.1345, 0.0894 + bone.roll = 0.0032 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine']] + bones['t_feather.L'] = bone.name + bone = arm.edit_bones.new('t_feather.R') + bone.head[:] = -0.0112, 0.1017, 0.0907 + bone.tail[:] = -0.0167, 0.1345, 0.0894 + bone.roll = -0.0032 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine']] + bones['t_feather.R'] = bone.name + bone = arm.edit_bones.new('spine.002') + bone.head[:] = -0.0000, 0.0757, 0.0880 + bone.tail[:] = -0.0000, 0.0451, 0.0845 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.001']] + bones['spine.002'] = bone.name + bone = arm.edit_bones.new('spine.003') + bone.head[:] = -0.0000, 0.0451, 0.0845 + bone.tail[:] = -0.0000, 0.0192, 0.0888 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.002']] + bones['spine.003'] = bone.name + bone = arm.edit_bones.new('spine.004') + bone.head[:] = -0.0000, 0.0192, 0.0888 + bone.tail[:] = -0.0000, -0.0106, 0.0979 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.003']] + bones['spine.004'] = bone.name + bone = arm.edit_bones.new('spine.005') + bone.head[:] = -0.0000, -0.0106, 0.0979 + bone.tail[:] = -0.0000, -0.0298, 0.1158 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.004']] + bones['spine.005'] = bone.name + bone = arm.edit_bones.new('pelvis.L') + bone.head[:] = -0.0000, 0.0192, 0.0888 + bone.tail[:] = 0.0250, 0.0070, 0.0782 + bone.roll = -0.0369 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.004']] + bones['pelvis.L'] = bone.name + bone = arm.edit_bones.new('pelvis.R') + bone.head[:] = 0.0000, 0.0192, 0.0888 + bone.tail[:] = -0.0250, 0.0070, 0.0782 + bone.roll = 0.0369 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.004']] + bones['pelvis.R'] = bone.name + bone = arm.edit_bones.new('thigh.L') + bone.head[:] = 0.0149, 0.0063, 0.0739 + bone.tail[:] = 0.0149, 0.0143, 0.0391 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.004']] + bones['thigh.L'] = bone.name + bone = arm.edit_bones.new('thigh.R') + bone.head[:] = -0.0149, 0.0063, 0.0739 + bone.tail[:] = -0.0149, 0.0143, 0.0391 + bone.roll = -0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.004']] + bones['thigh.R'] = bone.name + bone = arm.edit_bones.new('shoulder.L') + bone.head[:] = 0.0014, -0.0217, 0.0893 + bone.tail[:] = 0.0076, -0.0020, 0.1179 + bone.roll = 1.3977 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.005']] + bones['shoulder.L'] = bone.name + bone = arm.edit_bones.new('spine.006') + bone.head[:] = -0.0000, -0.0298, 0.1158 + bone.tail[:] = -0.0000, -0.0417, 0.1348 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.005']] + bones['spine.006'] = bone.name + bone = arm.edit_bones.new('shoulder.R') + bone.head[:] = -0.0014, -0.0217, 0.0893 + bone.tail[:] = -0.0076, -0.0020, 0.1179 + bone.roll = -1.3977 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.005']] + bones['shoulder.R'] = bone.name + bone = arm.edit_bones.new('shin.L') + bone.head[:] = 0.0149, 0.0143, 0.0391 + bone.tail[:] = 0.0149, 0.0015, 0.0074 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['thigh.L']] + bones['shin.L'] = bone.name + bone = arm.edit_bones.new('shin.R') + bone.head[:] = -0.0149, 0.0143, 0.0391 + bone.tail[:] = -0.0149, 0.0015, 0.0074 + bone.roll = -0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['thigh.R']] + bones['shin.R'] = bone.name + bone = arm.edit_bones.new('Wing.L') + bone.head[:] = 0.0089, 0.0141, 0.1157 + bone.tail[:] = 0.0485, 0.0107, 0.1163 + bone.roll = 2.8221 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['shoulder.L']] + bones['Wing.L'] = bone.name + bone = arm.edit_bones.new('neck.001') + bone.head[:] = -0.0000, -0.0417, 0.1348 + bone.tail[:] = -0.0000, -0.0458, 0.1429 + bone.roll = 0.0001 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.006']] + bones['neck.001'] = bone.name + bone = arm.edit_bones.new('Wing.R') + bone.head[:] = -0.0089, 0.0141, 0.1157 + bone.tail[:] = -0.0485, 0.0107, 0.1163 + bone.roll = -2.8221 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['shoulder.R']] + bones['Wing.R'] = bone.name + bone = arm.edit_bones.new('foot.L') + bone.head[:] = 0.0149, 0.0015, 0.0074 + bone.tail[:] = 0.0149, -0.0033, 0.0045 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['shin.L']] + bones['foot.L'] = bone.name + bone = arm.edit_bones.new('foot.R') + bone.head[:] = -0.0149, 0.0015, 0.0074 + bone.tail[:] = -0.0149, -0.0033, 0.0045 + bone.roll = -0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['shin.R']] + bones['foot.R'] = bone.name + bone = arm.edit_bones.new('Wing.001.L') + bone.head[:] = 0.0485, 0.0107, 0.1163 + bone.tail[:] = 0.0919, 0.0021, 0.1191 + bone.roll = 2.7596 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['Wing.L']] + bones['Wing.001.L'] = bone.name + bone = arm.edit_bones.new('w_feather.004.L') + bone.head[:] = 0.0382, 0.0253, 0.1081 + bone.tail[:] = 0.0553, 0.0878, 0.0901 + bone.roll = 3.0872 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['Wing.L']] + bones['w_feather.004.L'] = bone.name + bone = arm.edit_bones.new('neck.002') + bone.head[:] = -0.0000, -0.0458, 0.1429 + bone.tail[:] = -0.0000, -0.0483, 0.1498 + bone.roll = 0.0001 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['neck.001']] + bones['neck.002'] = bone.name + bone = arm.edit_bones.new('Wing.001.R') + bone.head[:] = -0.0485, 0.0107, 0.1163 + bone.tail[:] = -0.0919, 0.0021, 0.1191 + bone.roll = -2.7596 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['Wing.R']] + bones['Wing.001.R'] = bone.name + bone = arm.edit_bones.new('w_feather.004.R') + bone.head[:] = -0.0382, 0.0253, 0.1081 + bone.tail[:] = -0.0553, 0.0878, 0.0901 + bone.roll = -3.0872 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['Wing.R']] + bones['w_feather.004.R'] = bone.name + bone = arm.edit_bones.new('toe.L') + bone.head[:] = 0.0149, -0.0033, 0.0045 + bone.tail[:] = 0.0149, -0.0404, 0.0006 + bone.roll = 3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['foot.L']] + bones['toe.L'] = bone.name + bone = arm.edit_bones.new('toe.R') + bone.head[:] = -0.0149, -0.0033, 0.0045 + bone.tail[:] = -0.0149, -0.0404, 0.0006 + bone.roll = -3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['foot.R']] + bones['toe.R'] = bone.name + bone = arm.edit_bones.new('Wing.002.L') + bone.head[:] = 0.0919, 0.0021, 0.1191 + bone.tail[:] = 0.2128, 0.0178, 0.1159 + bone.roll = 2.8565 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['Wing.001.L']] + bones['Wing.002.L'] = bone.name + bone = arm.edit_bones.new('w_feather.003.L') + bone.head[:] = 0.0754, 0.0212, 0.1122 + bone.tail[:] = 0.1342, 0.0830, 0.0901 + bone.roll = 3.0993 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['Wing.001.L']] + bones['w_feather.003.L'] = bone.name + bone = arm.edit_bones.new('head') + bone.head[:] = -0.0000, -0.0483, 0.1498 + bone.tail[:] = -0.0000, -0.1026, 0.1815 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['neck.002']] + bones['head'] = bone.name + bone = arm.edit_bones.new('Wing.002.R') + bone.head[:] = -0.0919, 0.0021, 0.1191 + bone.tail[:] = -0.2128, 0.0178, 0.1159 + bone.roll = -2.8565 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['Wing.001.R']] + bones['Wing.002.R'] = bone.name + bone = arm.edit_bones.new('w_feather.003.R') + bone.head[:] = -0.0754, 0.0212, 0.1122 + bone.tail[:] = -0.1342, 0.0830, 0.0901 + bone.roll = -3.0993 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['Wing.001.R']] + bones['w_feather.003.R'] = bone.name + bone = arm.edit_bones.new('toes_parent.L') + bone.head[:] = 0.0149, -0.0033, 0.0045 + bone.tail[:] = 0.0149, -0.0096, 0.0037 + bone.roll = 3.1416 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['toe.L']] + bones['toes_parent.L'] = bone.name + bone = arm.edit_bones.new('t_thumb.001.L') + bone.head[:] = 0.0136, 0.0051, 0.0022 + bone.tail[:] = 0.0131, 0.0142, 0.0026 + bone.roll = 3.1406 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['toe.L']] + bones['t_thumb.001.L'] = bone.name + bone = arm.edit_bones.new('toes_parent.R') + bone.head[:] = -0.0149, -0.0033, 0.0045 + bone.tail[:] = -0.0149, -0.0096, 0.0037 + bone.roll = -3.1416 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['toe.R']] + bones['toes_parent.R'] = bone.name + bone = arm.edit_bones.new('t_thumb.001.R') + bone.head[:] = -0.0136, 0.0051, 0.0022 + bone.tail[:] = -0.0131, 0.0142, 0.0026 + bone.roll = -3.1406 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['toe.R']] + bones['t_thumb.001.R'] = bone.name + bone = arm.edit_bones.new('w_feather.001.L') + bone.head[:] = 0.1595, -0.0062, 0.1163 + bone.tail[:] = 0.2489, -0.0055, 0.1224 + bone.roll = 2.9290 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['Wing.002.L']] + bones['w_feather.001.L'] = bone.name + bone = arm.edit_bones.new('w_feather.002.L') + bone.head[:] = 0.1218, 0.0331, 0.1099 + bone.tail[:] = 0.1812, 0.0495, 0.1068 + bone.roll = 2.8770 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['Wing.002.L']] + bones['w_feather.002.L'] = bone.name + bone = arm.edit_bones.new('beak.001.T') + bone.head[:] = -0.0000, -0.0703, 0.1580 + bone.tail[:] = -0.0000, -0.0927, 0.1597 + bone.roll = 0.0001 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['head']] + bones['beak.001.T'] = bone.name + bone = arm.edit_bones.new('beak_001.B') + bone.head[:] = -0.0000, -0.0703, 0.1556 + bone.tail[:] = -0.0000, -0.0914, 0.1555 + bone.roll = 0.0001 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['head']] + bones['beak_001.B'] = bone.name + bone = arm.edit_bones.new('eye.L') + bone.head[:] = 0.0055, -0.0647, 0.1615 + bone.tail[:] = 0.0198, -0.0675, 0.1615 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['head']] + bones['eye.L'] = bone.name + bone = arm.edit_bones.new('eye.R') + bone.head[:] = -0.0055, -0.0647, 0.1615 + bone.tail[:] = -0.0198, -0.0675, 0.1615 + bone.roll = -0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['head']] + bones['eye.R'] = bone.name + bone = arm.edit_bones.new('n_feather.001.L') + bone.head[:] = 0.0098, -0.0390, 0.1566 + bone.tail[:] = 0.0131, -0.0247, 0.1430 + bone.roll = -0.0380 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['head']] + bones['n_feather.001.L'] = bone.name + bone = arm.edit_bones.new('n_feather.001.R') + bone.head[:] = -0.0098, -0.0390, 0.1566 + bone.tail[:] = -0.0131, -0.0247, 0.1430 + bone.roll = 0.0380 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['head']] + bones['n_feather.001.R'] = bone.name + bone = arm.edit_bones.new('skull.006.L') + bone.head[:] = 0.0033, -0.0587, 0.1538 + bone.tail[:] = 0.0162, -0.0666, 0.1509 + bone.roll = 1.6532 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['head']] + bones['skull.006.L'] = bone.name + bone = arm.edit_bones.new('skull.006.R') + bone.head[:] = -0.0033, -0.0587, 0.1538 + bone.tail[:] = -0.0162, -0.0666, 0.1509 + bone.roll = -1.6532 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['head']] + bones['skull.006.R'] = bone.name + bone = arm.edit_bones.new('w_feather.001.R') + bone.head[:] = -0.1595, -0.0062, 0.1163 + bone.tail[:] = -0.2489, -0.0055, 0.1224 + bone.roll = -2.9290 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['Wing.002.R']] + bones['w_feather.001.R'] = bone.name + bone = arm.edit_bones.new('w_feather.002.R') + bone.head[:] = -0.1218, 0.0331, 0.1099 + bone.tail[:] = -0.1812, 0.0495, 0.1068 + bone.roll = -2.8770 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['Wing.002.R']] + bones['w_feather.002.R'] = bone.name + bone = arm.edit_bones.new('t_ring.001.L') + bone.head[:] = 0.0183, -0.0026, 0.0034 + bone.tail[:] = 0.0216, -0.0129, 0.0038 + bone.roll = 6.0340 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['toes_parent.L']] + bones['t_ring.001.L'] = bone.name + bone = arm.edit_bones.new('t_index.001.L') + bone.head[:] = 0.0122, -0.0026, 0.0034 + bone.tail[:] = 0.0093, -0.0130, 0.0038 + bone.roll = 6.5631 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['toes_parent.L']] + bones['t_index.001.L'] = bone.name + bone = arm.edit_bones.new('t_middle.001.L') + bone.head[:] = 0.0149, -0.0050, 0.0034 + bone.tail[:] = 0.0149, -0.0207, 0.0040 + bone.roll = 3.1416 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['toes_parent.L']] + bones['t_middle.001.L'] = bone.name + bone = arm.edit_bones.new('t_thumb.002.L') + bone.head[:] = 0.0131, 0.0142, 0.0026 + bone.tail[:] = 0.0126, 0.0241, 0.0003 + bone.roll = 3.1472 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['t_thumb.001.L']] + bones['t_thumb.002.L'] = bone.name + bone = arm.edit_bones.new('t_ring.001.R') + bone.head[:] = -0.0183, -0.0026, 0.0034 + bone.tail[:] = -0.0216, -0.0129, 0.0038 + bone.roll = -6.0340 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['toes_parent.R']] + bones['t_ring.001.R'] = bone.name + bone = arm.edit_bones.new('t_index.001.R') + bone.head[:] = -0.0122, -0.0026, 0.0034 + bone.tail[:] = -0.0093, -0.0130, 0.0038 + bone.roll = -6.5631 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['toes_parent.R']] + bones['t_index.001.R'] = bone.name + bone = arm.edit_bones.new('t_middle.001.R') + bone.head[:] = -0.0149, -0.0050, 0.0034 + bone.tail[:] = -0.0149, -0.0207, 0.0040 + bone.roll = -3.1416 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['toes_parent.R']] + bones['t_middle.001.R'] = bone.name + bone = arm.edit_bones.new('t_thumb.002.R') + bone.head[:] = -0.0131, 0.0142, 0.0026 + bone.tail[:] = -0.0126, 0.0241, 0.0003 + bone.roll = -3.1472 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['t_thumb.001.R']] + bones['t_thumb.002.R'] = bone.name + bone = arm.edit_bones.new('beak.002.T') + bone.head[:] = -0.0000, -0.0927, 0.1597 + bone.tail[:] = -0.0000, -0.1131, 0.1533 + bone.roll = 0.0001 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['beak.001.T']] + bones['beak.002.T'] = bone.name + bone = arm.edit_bones.new('beak.002.B') + bone.head[:] = -0.0000, -0.0914, 0.1555 + bone.tail[:] = -0.0000, -0.1084, 0.1519 + bone.roll = 0.0001 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['beak_001.B']] + bones['beak.002.B'] = bone.name + bone = arm.edit_bones.new('tongue.001.L') + bone.head[:] = -0.0000, -0.0792, 0.1536 + bone.tail[:] = -0.0000, -0.0840, 0.1555 + bone.roll = 0.0001 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['beak_001.B']] + bones['tongue.001.L'] = bone.name + bone = arm.edit_bones.new('t_ring.002.L') + bone.head[:] = 0.0216, -0.0129, 0.0038 + bone.tail[:] = 0.0237, -0.0195, 0.0032 + bone.roll = 0.5806 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['t_ring.001.L']] + bones['t_ring.002.L'] = bone.name + bone = arm.edit_bones.new('t_index.002.L') + bone.head[:] = 0.0093, -0.0130, 0.0038 + bone.tail[:] = 0.0067, -0.0223, 0.0032 + bone.roll = -0.4957 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['t_index.001.L']] + bones['t_index.002.L'] = bone.name + bone = arm.edit_bones.new('t_middle.002.L') + bone.head[:] = 0.0149, -0.0207, 0.0040 + bone.tail[:] = 0.0149, -0.0308, 0.0031 + bone.roll = 3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['t_middle.001.L']] + bones['t_middle.002.L'] = bone.name + bone = arm.edit_bones.new('t_ring.002.R') + bone.head[:] = -0.0216, -0.0129, 0.0038 + bone.tail[:] = -0.0237, -0.0195, 0.0032 + bone.roll = -0.5806 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['t_ring.001.R']] + bones['t_ring.002.R'] = bone.name + bone = arm.edit_bones.new('t_index.002.R') + bone.head[:] = -0.0093, -0.0130, 0.0038 + bone.tail[:] = -0.0067, -0.0223, 0.0032 + bone.roll = 0.4957 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['t_index.001.R']] + bones['t_index.002.R'] = bone.name + bone = arm.edit_bones.new('t_middle.002.R') + bone.head[:] = -0.0149, -0.0207, 0.0040 + bone.tail[:] = -0.0149, -0.0308, 0.0031 + bone.roll = -3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['t_middle.001.R']] + bones['t_middle.002.R'] = bone.name + bone = arm.edit_bones.new('tongue.002.L') + bone.head[:] = -0.0000, -0.0840, 0.1555 + bone.tail[:] = -0.0000, -0.0874, 0.1553 + bone.roll = 0.0001 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['tongue.001.L']] + bones['tongue.002.L'] = bone.name + bone = arm.edit_bones.new('t_ring.003.L') + bone.head[:] = 0.0237, -0.0195, 0.0032 + bone.tail[:] = 0.0261, -0.0270, 0.0009 + bone.roll = 1.5954 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['t_ring.002.L']] + bones['t_ring.003.L'] = bone.name + bone = arm.edit_bones.new('t_index.003.L') + bone.head[:] = 0.0067, -0.0223, 0.0032 + bone.tail[:] = 0.0038, -0.0327, 0.0009 + bone.roll = 4.8853 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['t_index.002.L']] + bones['t_index.003.L'] = bone.name + bone = arm.edit_bones.new('t_middle.003.L') + bone.head[:] = 0.0149, -0.0308, 0.0031 + bone.tail[:] = 0.0149, -0.0421, -0.0003 + bone.roll = 3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['t_middle.002.L']] + bones['t_middle.003.L'] = bone.name + bone = arm.edit_bones.new('t_ring.003.R') + bone.head[:] = -0.0237, -0.0195, 0.0032 + bone.tail[:] = -0.0261, -0.0270, 0.0009 + bone.roll = -1.5954 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['t_ring.002.R']] + bones['t_ring.003.R'] = bone.name + bone = arm.edit_bones.new('t_index.003.R') + bone.head[:] = -0.0067, -0.0223, 0.0032 + bone.tail[:] = -0.0038, -0.0327, 0.0009 + bone.roll = -4.8853 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['t_index.002.R']] + bones['t_index.003.R'] = bone.name + bone = arm.edit_bones.new('t_middle.003.R') + bone.head[:] = -0.0149, -0.0308, 0.0031 + bone.tail[:] = -0.0149, -0.0421, -0.0003 + bone.roll = -3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['t_middle.002.R']] + bones['t_middle.003.R'] = bone.name + bone = arm.edit_bones.new('tongue.003.L') + bone.head[:] = -0.0000, -0.0874, 0.1553 + bone.tail[:] = -0.0000, -0.0898, 0.1553 + bone.roll = 3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['tongue.002.L']] + bones['tongue.003.L'] = bone.name + + bpy.ops.object.mode_set(mode='OBJECT') + pbone = obj.pose.bones[bones['spine']] + pbone.rigify_type = 'spines.super_spine' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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] + try: + pbone.rigify_parameters.use_tail = True + except AttributeError: + pass + try: + pbone.rigify_parameters.tail_pos = 3 + except AttributeError: + pass + try: + pbone.rigify_parameters.pivot_pos = 4 + except AttributeError: + pass + try: + pbone.rigify_parameters.neck_pos = 8 + except AttributeError: + pass + try: + pbone.rigify_parameters.copy_rotation_axes = [True, False, True] + except AttributeError: + pass + try: + pbone.rigify_parameters.tweak_layers = [False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['spine.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['t_feather.L']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, True, False, False, False, False, False, False, False] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['t_feather.R']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, True, False, False, False, False, False, False, False] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['spine.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['spine.003']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['spine.004']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['spine.005']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['pelvis.L']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + try: + pbone.rigify_parameters.make_control = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['pelvis.R']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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] + try: + pbone.rigify_parameters.make_control = False + except AttributeError: + pass + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['thigh.L']] + pbone.rigify_type = 'limbs.super_limb' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False] + try: + pbone.rigify_parameters.limb_type = "paw" + except AttributeError: + pass + try: + 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.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 + pbone = obj.pose.bones[bones['thigh.R']] + pbone.rigify_type = 'limbs.super_limb' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, 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] + try: + pbone.rigify_parameters.limb_type = "paw" + except AttributeError: + pass + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + try: + pbone.rigify_parameters.fk_layers = [False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['shoulder.L']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['spine.006']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['shoulder.R']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['shin.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False] + pbone = obj.pose.bones[bones['shin.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, 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] + pbone = obj.pose.bones[bones['Wing.L']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False, False, False, False] + try: + pbone.rigify_parameters.tweak_layers = [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, False, False, False, False, False] + except AttributeError: + pass + pbone = obj.pose.bones[bones['neck.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['Wing.R']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + try: + pbone.rigify_parameters.tweak_layers = [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, False, False] + except AttributeError: + pass + pbone = obj.pose.bones[bones['foot.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False] + pbone = obj.pose.bones[bones['foot.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, 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] + pbone = obj.pose.bones[bones['Wing.001.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False, False, False, False] + pbone = obj.pose.bones[bones['w_feather.004.L']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, True, False, False, False, False, False, False, False] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['neck.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['Wing.001.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + pbone = obj.pose.bones[bones['w_feather.004.R']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, True, False, False, False, False, False, False, False] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['toe.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False] + pbone = obj.pose.bones[bones['toe.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, 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] + pbone = obj.pose.bones[bones['Wing.002.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False, False, False, False] + pbone = obj.pose.bones[bones['w_feather.003.L']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, True, False, False, False, False, False, False, False] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['head']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['Wing.002.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + pbone = obj.pose.bones[bones['w_feather.003.R']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, True, False, False, False, False, False, False, False] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['toes_parent.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + pbone = obj.pose.bones[bones['t_thumb.001.L']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, False, False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['toes_parent.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + pbone = obj.pose.bones[bones['t_thumb.001.R']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, False, False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['w_feather.001.L']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, True, False, False, False, False, False, False, False] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['w_feather.002.L']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, True, False, False, False, False, False, False, False] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['beak.001.T']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['beak_001.B']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['eye.L']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['eye.R']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['n_feather.001.L']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, True, False, False, False, False, False, False, False] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['n_feather.001.R']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, True, False, False, False, False, False, False, False] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['skull.006.L']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + try: + pbone.rigify_parameters.make_control = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['skull.006.R']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + try: + pbone.rigify_parameters.make_control = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['w_feather.001.R']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, True, False, False, False, False, False, False, False] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['w_feather.002.R']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, True, False, False, False, False, False, False, False] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['t_ring.001.L']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, False, False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['t_index.001.L']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, False, False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['t_middle.001.L']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, False, False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['t_thumb.002.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + pbone = obj.pose.bones[bones['t_ring.001.R']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, False, False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['t_index.001.R']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, False, False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['t_middle.001.R']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, False, False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['t_thumb.002.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + pbone = obj.pose.bones[bones['beak.002.T']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['beak.002.B']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['tongue.001.L']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['t_ring.002.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + pbone = obj.pose.bones[bones['t_index.002.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + pbone = obj.pose.bones[bones['t_middle.002.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + pbone = obj.pose.bones[bones['t_ring.002.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + pbone = obj.pose.bones[bones['t_index.002.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + pbone = obj.pose.bones[bones['t_middle.002.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + pbone = obj.pose.bones[bones['tongue.002.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['t_ring.003.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + pbone = obj.pose.bones[bones['t_index.003.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + pbone = obj.pose.bones[bones['t_middle.003.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + pbone = obj.pose.bones[bones['t_ring.003.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + pbone = obj.pose.bones[bones['t_index.003.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + pbone = obj.pose.bones[bones['t_middle.003.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + pbone = obj.pose.bones[bones['tongue.003.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + + bpy.ops.object.mode_set(mode='EDIT') + for bone in arm.edit_bones: + bone.select = False + bone.select_head = False + bone.select_tail = False + for b in bones: + bone = arm.edit_bones[bones[b]] + bone.select = True + bone.select_head = True + bone.select_tail = True + arm.edit_bones.active = bone + + arm.layers = [(x in [0, 3, 7, 10, 13, 16, 21, 24]) for x in range(32)] + +if __name__ == "__main__": + create(bpy.context.active_object)
\ No newline at end of file diff --git a/rigify/metarigs/Animals/cat.py b/rigify/metarigs/Animals/cat.py new file mode 100644 index 00000000..a084ca36 --- /dev/null +++ b/rigify/metarigs/Animals/cat.py @@ -0,0 +1,2979 @@ +import bpy + + +from mathutils import Color + + +def create(obj): + # generated by rigify.utils.write_metarig + bpy.ops.object.mode_set(mode='EDIT') + arm = obj.data + + for i in range(6): + arm.rigify_colors.add() + + arm.rigify_colors[0].name = "Root" + arm.rigify_colors[0].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[0].normal = Color((0.4352940022945404, 0.18431399762630463, 0.4156860113143921)) + arm.rigify_colors[0].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[0].standard_colors_lock = True + arm.rigify_colors[1].name = "IK" + arm.rigify_colors[1].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[1].normal = Color((0.6039220094680786, 0.0, 0.0)) + arm.rigify_colors[1].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[1].standard_colors_lock = True + arm.rigify_colors[2].name = "Special" + arm.rigify_colors[2].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[2].normal = Color((0.9568629860877991, 0.7882350087165833, 0.04705899953842163)) + arm.rigify_colors[2].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[2].standard_colors_lock = True + arm.rigify_colors[3].name = "Tweak" + arm.rigify_colors[3].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[3].normal = Color((0.03921600058674812, 0.21176500618457794, 0.5803920030593872)) + arm.rigify_colors[3].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[3].standard_colors_lock = True + arm.rigify_colors[4].name = "FK" + arm.rigify_colors[4].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[4].normal = Color((0.11764699965715408, 0.5686269998550415, 0.035294000059366226)) + arm.rigify_colors[4].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[4].standard_colors_lock = True + arm.rigify_colors[5].name = "Extra" + arm.rigify_colors[5].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[5].normal = Color((0.9686279892921448, 0.2509799897670746, 0.09411799907684326)) + arm.rigify_colors[5].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[5].standard_colors_lock = True + + for i in range(29): + arm.rigify_layers.add() + + arm.rigify_layers[0].name = "Face" + arm.rigify_layers[0].row = 1 + arm.rigify_layers[0].set = False + arm.rigify_layers[0].group = 5 + arm.rigify_layers[1].name = "Face (Primary)" + arm.rigify_layers[1].row = 2 + arm.rigify_layers[1].set = False + arm.rigify_layers[1].group = 2 + arm.rigify_layers[2].name = "Face (Secondary)" + arm.rigify_layers[2].row = 2 + arm.rigify_layers[2].set = False + arm.rigify_layers[2].group = 3 + arm.rigify_layers[3].name = "Spine" + arm.rigify_layers[3].row = 3 + arm.rigify_layers[3].set = False + arm.rigify_layers[3].group = 3 + arm.rigify_layers[4].name = "Spine (Tweak)" + arm.rigify_layers[4].row = 4 + arm.rigify_layers[4].set = False + arm.rigify_layers[4].group = 4 + arm.rigify_layers[5].name = "Paws" + arm.rigify_layers[5].row = 5 + arm.rigify_layers[5].set = False + arm.rigify_layers[5].group = 6 + arm.rigify_layers[6].name = "Paws (Tweak)" + arm.rigify_layers[6].row = 6 + arm.rigify_layers[6].set = False + arm.rigify_layers[6].group = 4 + arm.rigify_layers[7].name = "Arm.L (IK)" + arm.rigify_layers[7].row = 7 + arm.rigify_layers[7].set = False + arm.rigify_layers[7].group = 2 + arm.rigify_layers[8].name = "Arm.L (FK)" + arm.rigify_layers[8].row = 8 + arm.rigify_layers[8].set = False + arm.rigify_layers[8].group = 5 + arm.rigify_layers[9].name = "Arm,L (Tweak)" + arm.rigify_layers[9].row = 9 + arm.rigify_layers[9].set = False + arm.rigify_layers[9].group = 4 + arm.rigify_layers[10].name = "Arm.R (IK)" + arm.rigify_layers[10].row = 7 + arm.rigify_layers[10].set = False + arm.rigify_layers[10].group = 2 + arm.rigify_layers[11].name = "Arm.R (FK)" + arm.rigify_layers[11].row = 8 + arm.rigify_layers[11].set = False + arm.rigify_layers[11].group = 5 + arm.rigify_layers[12].name = "Arm.R (Tweak)" + arm.rigify_layers[12].row = 9 + arm.rigify_layers[12].set = False + arm.rigify_layers[12].group = 4 + arm.rigify_layers[13].name = "Leg.L (IK)" + arm.rigify_layers[13].row = 10 + arm.rigify_layers[13].set = False + arm.rigify_layers[13].group = 2 + arm.rigify_layers[14].name = "Leg.L (FK)" + arm.rigify_layers[14].row = 11 + arm.rigify_layers[14].set = False + arm.rigify_layers[14].group = 5 + arm.rigify_layers[15].name = "Leg.L (Tweak)" + arm.rigify_layers[15].row = 12 + arm.rigify_layers[15].set = False + arm.rigify_layers[15].group = 4 + arm.rigify_layers[16].name = "Leg.R (IK)" + arm.rigify_layers[16].row = 10 + arm.rigify_layers[16].set = False + arm.rigify_layers[16].group = 2 + arm.rigify_layers[17].name = "Leg.R (FK)" + arm.rigify_layers[17].row = 11 + arm.rigify_layers[17].set = False + arm.rigify_layers[17].group = 5 + arm.rigify_layers[18].name = "Leg.R (Tweak)" + arm.rigify_layers[18].row = 12 + arm.rigify_layers[18].set = False + arm.rigify_layers[18].group = 4 + arm.rigify_layers[19].name = "Tail" + arm.rigify_layers[19].row = 13 + arm.rigify_layers[19].set = False + arm.rigify_layers[19].group = 3 + arm.rigify_layers[20].name = "Tail (Tweaks)" + arm.rigify_layers[20].row = 14 + arm.rigify_layers[20].set = False + arm.rigify_layers[20].group = 4 + arm.rigify_layers[21].name = " " + arm.rigify_layers[21].row = 1 + arm.rigify_layers[21].set = False + arm.rigify_layers[21].group = 0 + arm.rigify_layers[22].name = " " + arm.rigify_layers[22].row = 1 + arm.rigify_layers[22].set = False + arm.rigify_layers[22].group = 0 + arm.rigify_layers[23].name = " " + arm.rigify_layers[23].row = 1 + arm.rigify_layers[23].set = False + arm.rigify_layers[23].group = 0 + arm.rigify_layers[24].name = " " + arm.rigify_layers[24].row = 1 + arm.rigify_layers[24].set = False + arm.rigify_layers[24].group = 0 + arm.rigify_layers[25].name = " " + arm.rigify_layers[25].row = 1 + arm.rigify_layers[25].set = False + arm.rigify_layers[25].group = 0 + arm.rigify_layers[26].name = " " + arm.rigify_layers[26].row = 1 + arm.rigify_layers[26].set = False + arm.rigify_layers[26].group = 0 + arm.rigify_layers[27].name = " " + arm.rigify_layers[27].row = 1 + arm.rigify_layers[27].set = False + arm.rigify_layers[27].group = 0 + arm.rigify_layers[28].name = "Root" + arm.rigify_layers[28].row = 16 + arm.rigify_layers[28].set = False + arm.rigify_layers[28].group = 1 + + bones = {} + + bone = arm.edit_bones.new('tail.004') + bone.head[:] = -0.0000, 0.5531, 0.2488 + bone.tail[:] = -0.0000, 0.4543, 0.2321 + bone.roll = 0.0000 + bone.use_connect = False + bones['tail.004'] = bone.name + bone = arm.edit_bones.new('tail.003') + bone.head[:] = -0.0000, 0.4543, 0.2321 + bone.tail[:] = -0.0000, 0.3513, 0.2284 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['tail.004']] + bones['tail.003'] = bone.name + bone = arm.edit_bones.new('tail.002') + bone.head[:] = -0.0000, 0.3513, 0.2284 + bone.tail[:] = -0.0000, 0.2460, 0.2324 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['tail.003']] + bones['tail.002'] = bone.name + bone = arm.edit_bones.new('tail.001') + bone.head[:] = -0.0000, 0.2460, 0.2324 + bone.tail[:] = 0.0000, 0.1499, 0.2500 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['tail.002']] + bones['tail.001'] = bone.name + bone = arm.edit_bones.new('spine') + bone.head[:] = 0.0000, 0.1499, 0.2500 + bone.tail[:] = 0.0000, 0.0769, 0.2272 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['tail.001']] + bones['spine'] = bone.name + bone = arm.edit_bones.new('spine.001') + bone.head[:] = 0.0000, 0.0769, 0.2272 + bone.tail[:] = 0.0000, 0.0180, 0.2240 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine']] + bones['spine.001'] = bone.name + bone = arm.edit_bones.new('pelvis.L') + bone.head[:] = 0.0000, 0.1499, 0.2500 + bone.tail[:] = 0.0391, 0.1124, 0.2699 + bone.roll = 2.3502 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine']] + bones['pelvis.L'] = bone.name + bone = arm.edit_bones.new('pelvis.R') + bone.head[:] = 0.0000, 0.1499, 0.2500 + bone.tail[:] = -0.0391, 0.1124, 0.2699 + bone.roll = -2.3502 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine']] + bones['pelvis.R'] = bone.name + bone = arm.edit_bones.new('pelvis.C') + bone.head[:] = 0.0000, 0.1499, 0.2500 + bone.tail[:] = 0.0000, 0.1344, 0.1727 + bone.roll = -0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine']] + bones['pelvis.C'] = bone.name + bone = arm.edit_bones.new('spine.002') + bone.head[:] = 0.0000, 0.0180, 0.2240 + bone.tail[:] = 0.0000, -0.0513, 0.2271 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.001']] + bones['spine.002'] = bone.name + bone = arm.edit_bones.new('thigh.L') + bone.head[:] = 0.0291, 0.1181, 0.2460 + bone.tail[:] = 0.0293, 0.1107, 0.1682 + bone.roll = 3.1383 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['pelvis.L']] + bones['thigh.L'] = bone.name + bone = arm.edit_bones.new('thigh.R') + bone.head[:] = -0.0291, 0.1181, 0.2460 + bone.tail[:] = -0.0293, 0.1107, 0.1682 + bone.roll = -3.1383 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['pelvis.R']] + bones['thigh.R'] = bone.name + bone = arm.edit_bones.new('spine.003') + bone.head[:] = 0.0000, -0.0513, 0.2271 + bone.tail[:] = 0.0000, -0.1571, 0.2355 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.002']] + bones['spine.003'] = bone.name + bone = arm.edit_bones.new('belly.C') + bone.head[:] = 0.0000, -0.0142, 0.1779 + bone.tail[:] = 0.0000, -0.0142, 0.1333 + bone.roll = 6.2832 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.002']] + bones['belly.C'] = bone.name + bone = arm.edit_bones.new('shin.L') + bone.head[:] = 0.0293, 0.1107, 0.1682 + bone.tail[:] = 0.0293, 0.1684, 0.1073 + bone.roll = 3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['thigh.L']] + bones['shin.L'] = bone.name + bone = arm.edit_bones.new('shin.R') + bone.head[:] = -0.0293, 0.1107, 0.1682 + bone.tail[:] = -0.0293, 0.1684, 0.1073 + bone.roll = -3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['thigh.R']] + bones['shin.R'] = bone.name + bone = arm.edit_bones.new('spine.004') + bone.head[:] = 0.0000, -0.1571, 0.2355 + bone.tail[:] = 0.0000, -0.1736, 0.2395 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.003']] + bones['spine.004'] = bone.name + bone = arm.edit_bones.new('Breast.C') + bone.head[:] = 0.0000, -0.1169, 0.1866 + bone.tail[:] = 0.0000, -0.1279, 0.1479 + bone.roll = -6.2832 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.003']] + bones['Breast.C'] = bone.name + bone = arm.edit_bones.new('shoulder.L') + bone.head[:] = 0.0070, -0.0868, 0.2502 + bone.tail[:] = 0.0346, -0.1117, 0.2857 + bone.roll = -1.0756 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.003']] + bones['shoulder.L'] = bone.name + bone = arm.edit_bones.new('shoulder.R') + bone.head[:] = -0.0070, -0.0868, 0.2502 + bone.tail[:] = -0.0346, -0.1117, 0.2857 + bone.roll = 1.0756 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.003']] + bones['shoulder.R'] = bone.name + bone = arm.edit_bones.new('foot.L') + bone.head[:] = 0.0293, 0.1684, 0.1073 + bone.tail[:] = 0.0293, 0.1530, 0.0167 + bone.roll = 3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['shin.L']] + bones['foot.L'] = bone.name + bone = arm.edit_bones.new('foot.R') + bone.head[:] = -0.0293, 0.1684, 0.1073 + bone.tail[:] = -0.0293, 0.1530, 0.0167 + bone.roll = -3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['shin.R']] + bones['foot.R'] = bone.name + bone = arm.edit_bones.new('spine.005') + bone.head[:] = 0.0000, -0.1736, 0.2395 + bone.tail[:] = 0.0000, -0.1860, 0.2445 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.004']] + bones['spine.005'] = bone.name + bone = arm.edit_bones.new('upper_arm.L') + bone.head[:] = 0.0313, -0.1149, 0.2257 + bone.tail[:] = 0.0313, -0.0871, 0.1235 + bone.roll = 3.1416 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['shoulder.L']] + bones['upper_arm.L'] = bone.name + bone = arm.edit_bones.new('upper_arm.R') + bone.head[:] = -0.0313, -0.1149, 0.2257 + bone.tail[:] = -0.0313, -0.0871, 0.1235 + bone.roll = -3.1416 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['shoulder.R']] + bones['upper_arm.R'] = bone.name + bone = arm.edit_bones.new('r_toe.L') + bone.head[:] = 0.0293, 0.1530, 0.0167 + bone.tail[:] = 0.0293, 0.1300, 0.0167 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['foot.L']] + bones['r_toe.L'] = bone.name + bone = arm.edit_bones.new('r_toe.R') + bone.head[:] = -0.0293, 0.1530, 0.0167 + bone.tail[:] = -0.0293, 0.1300, 0.0167 + bone.roll = -0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['foot.R']] + bones['r_toe.R'] = bone.name + bone = arm.edit_bones.new('spine.006') + bone.head[:] = 0.0000, -0.1860, 0.2445 + bone.tail[:] = 0.0000, -0.2599, 0.2789 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.005']] + bones['spine.006'] = bone.name + bone = arm.edit_bones.new('forearm.L') + bone.head[:] = 0.0313, -0.0871, 0.1235 + bone.tail[:] = 0.0313, -0.1111, 0.0248 + bone.roll = 3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['upper_arm.L']] + bones['forearm.L'] = bone.name + bone = arm.edit_bones.new('forearm.R') + bone.head[:] = -0.0313, -0.0871, 0.1235 + bone.tail[:] = -0.0313, -0.1111, 0.0248 + bone.roll = -3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['upper_arm.R']] + bones['forearm.R'] = bone.name + bone = arm.edit_bones.new('r_palm.001.L') + bone.head[:] = 0.0220, 0.1457, 0.0123 + bone.tail[:] = 0.0215, 0.1401, 0.0123 + bone.roll = 0.0014 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['r_toe.L']] + bones['r_palm.001.L'] = bone.name + bone = arm.edit_bones.new('r_palm.002.L') + bone.head[:] = 0.0297, 0.1458, 0.0123 + bone.tail[:] = 0.0311, 0.1393, 0.0123 + bone.roll = -0.0005 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['r_toe.L']] + bones['r_palm.002.L'] = bone.name + bone = arm.edit_bones.new('r_palm.003.L') + bone.head[:] = 0.0363, 0.1473, 0.0123 + bone.tail[:] = 0.0376, 0.1407, 0.0123 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['r_toe.L']] + bones['r_palm.003.L'] = bone.name + bone = arm.edit_bones.new('r_palm.004.L') + bone.head[:] = 0.0449, 0.1501, 0.0123 + bone.tail[:] = 0.0466, 0.1479, 0.0123 + bone.roll = -0.0004 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['r_toe.L']] + bones['r_palm.004.L'] = bone.name + bone = arm.edit_bones.new('r_palm.001.R') + bone.head[:] = -0.0220, 0.1457, 0.0123 + bone.tail[:] = -0.0215, 0.1401, 0.0123 + bone.roll = -0.0014 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['r_toe.R']] + bones['r_palm.001.R'] = bone.name + bone = arm.edit_bones.new('r_palm.002.R') + bone.head[:] = -0.0297, 0.1458, 0.0123 + bone.tail[:] = -0.0311, 0.1393, 0.0123 + bone.roll = 0.0005 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['r_toe.R']] + bones['r_palm.002.R'] = bone.name + bone = arm.edit_bones.new('r_palm.003.R') + bone.head[:] = -0.0363, 0.1473, 0.0123 + bone.tail[:] = -0.0376, 0.1407, 0.0123 + bone.roll = -0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['r_toe.R']] + bones['r_palm.003.R'] = bone.name + bone = arm.edit_bones.new('r_palm.004.R') + bone.head[:] = -0.0449, 0.1501, 0.0123 + bone.tail[:] = -0.0466, 0.1479, 0.0123 + bone.roll = 0.0004 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['r_toe.R']] + bones['r_palm.004.R'] = bone.name + bone = arm.edit_bones.new('face') + bone.head[:] = 0.0000, -0.1860, 0.2445 + bone.tail[:] = 0.0000, -0.1860, 0.3056 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.006']] + bones['face'] = bone.name + bone = arm.edit_bones.new('hand.L') + bone.head[:] = 0.0313, -0.1111, 0.0248 + bone.tail[:] = 0.0313, -0.1297, 0.0094 + bone.roll = 3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['forearm.L']] + bones['hand.L'] = bone.name + bone = arm.edit_bones.new('hand.R') + bone.head[:] = -0.0313, -0.1111, 0.0248 + bone.tail[:] = -0.0313, -0.1297, 0.0094 + bone.roll = -3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['forearm.R']] + bones['hand.R'] = bone.name + bone = arm.edit_bones.new('r_index.001.L') + bone.head[:] = 0.0215, 0.1367, 0.0087 + bone.tail[:] = 0.0217, 0.1325, 0.0070 + bone.roll = -0.3427 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['r_palm.001.L']] + bones['r_index.001.L'] = bone.name + bone = arm.edit_bones.new('r_middle.001.L') + bone.head[:] = 0.0311, 0.1358, 0.0117 + bone.tail[:] = 0.0324, 0.1297, 0.0092 + bone.roll = -1.0029 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['r_palm.002.L']] + bones['r_middle.001.L'] = bone.name + bone = arm.edit_bones.new('r_ring.001.L') + bone.head[:] = 0.0376, 0.1372, 0.0117 + bone.tail[:] = 0.0389, 0.1311, 0.0092 + bone.roll = -1.0029 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['r_palm.003.L']] + bones['r_ring.001.L'] = bone.name + bone = arm.edit_bones.new('r_pinky.001.L') + bone.head[:] = 0.0466, 0.1444, 0.0083 + bone.tail[:] = 0.0476, 0.1412, 0.0074 + bone.roll = -1.7551 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['r_palm.004.L']] + bones['r_pinky.001.L'] = bone.name + bone = arm.edit_bones.new('r_index.001.R') + bone.head[:] = -0.0215, 0.1367, 0.0087 + bone.tail[:] = -0.0217, 0.1325, 0.0070 + bone.roll = 0.3427 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['r_palm.001.R']] + bones['r_index.001.R'] = bone.name + bone = arm.edit_bones.new('r_middle.001.R') + bone.head[:] = -0.0311, 0.1358, 0.0117 + bone.tail[:] = -0.0324, 0.1297, 0.0092 + bone.roll = 1.0029 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['r_palm.002.R']] + bones['r_middle.001.R'] = bone.name + bone = arm.edit_bones.new('r_ring.001.R') + bone.head[:] = -0.0376, 0.1372, 0.0117 + bone.tail[:] = -0.0389, 0.1311, 0.0092 + bone.roll = 1.0029 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['r_palm.003.R']] + bones['r_ring.001.R'] = bone.name + bone = arm.edit_bones.new('r_pinky.001.R') + bone.head[:] = -0.0466, 0.1444, 0.0083 + bone.tail[:] = -0.0476, 0.1412, 0.0074 + bone.roll = 1.7551 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['r_palm.004.R']] + bones['r_pinky.001.R'] = bone.name + bone = arm.edit_bones.new('nose') + bone.head[:] = 0.0000, -0.2709, 0.2463 + bone.tail[:] = 0.0000, -0.2705, 0.2315 + bone.roll = -0.0018 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['nose'] = bone.name + bone = arm.edit_bones.new('lip.T.L') + bone.head[:] = 0.0000, -0.2762, 0.2076 + bone.tail[:] = 0.0142, -0.2683, 0.2053 + bone.roll = 0.0739 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['lip.T.L'] = bone.name + bone = arm.edit_bones.new('lip.B.L') + bone.head[:] = 0.0000, -0.2748, 0.2025 + bone.tail[:] = 0.0102, -0.2676, 0.2025 + bone.roll = 0.0154 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['lip.B.L'] = bone.name + bone = arm.edit_bones.new('jaw') + bone.head[:] = 0.0000, -0.2126, 0.2015 + bone.tail[:] = 0.0000, -0.2524, 0.1977 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['jaw'] = bone.name + bone = arm.edit_bones.new('ear.L') + bone.head[:] = 0.0361, -0.2279, 0.2662 + bone.tail[:] = 0.0259, -0.2360, 0.2749 + bone.roll = -2.7956 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['ear.L'] = bone.name + bone = arm.edit_bones.new('ear.R') + bone.head[:] = -0.0361, -0.2279, 0.2662 + bone.tail[:] = -0.0259, -0.2360, 0.2749 + bone.roll = 2.7956 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['ear.R'] = bone.name + bone = arm.edit_bones.new('lip.T.R') + bone.head[:] = 0.0000, -0.2762, 0.2076 + bone.tail[:] = -0.0142, -0.2683, 0.2053 + bone.roll = -0.0739 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['lip.T.R'] = bone.name + bone = arm.edit_bones.new('lip.B.R') + bone.head[:] = 0.0000, -0.2748, 0.2025 + bone.tail[:] = -0.0102, -0.2676, 0.2025 + bone.roll = -0.0154 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['lip.B.R'] = bone.name + bone = arm.edit_bones.new('brow.B.L') + bone.head[:] = 0.0450, -0.2472, 0.2375 + bone.tail[:] = 0.0336, -0.2577, 0.2472 + bone.roll = -0.4810 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['brow.B.L'] = bone.name + bone = arm.edit_bones.new('lid.T.L') + bone.head[:] = 0.0398, -0.2525, 0.2396 + bone.tail[:] = 0.0327, -0.2600, 0.2432 + bone.roll = -0.4405 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['lid.T.L'] = bone.name + bone = arm.edit_bones.new('brow.B.R') + bone.head[:] = -0.0450, -0.2472, 0.2375 + bone.tail[:] = -0.0336, -0.2577, 0.2472 + bone.roll = 0.4810 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['brow.B.R'] = bone.name + bone = arm.edit_bones.new('lid.T.R') + bone.head[:] = -0.0398, -0.2525, 0.2396 + bone.tail[:] = -0.0327, -0.2600, 0.2432 + bone.roll = 0.4405 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['lid.T.R'] = bone.name + bone = arm.edit_bones.new('forehead.L') + bone.head[:] = 0.0103, -0.2600, 0.2669 + bone.tail[:] = 0.0097, -0.2694, 0.2527 + bone.roll = 1.6514 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['forehead.L'] = bone.name + bone = arm.edit_bones.new('forehead.R') + bone.head[:] = -0.0103, -0.2600, 0.2669 + bone.tail[:] = -0.0097, -0.2694, 0.2527 + bone.roll = -1.6514 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['forehead.R'] = bone.name + bone = arm.edit_bones.new('eye.L') + bone.head[:] = 0.0170, -0.2441, 0.2385 + bone.tail[:] = 0.0170, -0.2738, 0.2385 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['eye.L'] = bone.name + bone = arm.edit_bones.new('eye.R') + bone.head[:] = -0.0170, -0.2441, 0.2385 + bone.tail[:] = -0.0170, -0.2738, 0.2385 + bone.roll = -0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['eye.R'] = bone.name + bone = arm.edit_bones.new('cheek.T.L') + bone.head[:] = 0.0450, -0.2472, 0.2375 + bone.tail[:] = 0.0308, -0.2584, 0.2187 + bone.roll = 0.3924 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['cheek.T.L'] = bone.name + bone = arm.edit_bones.new('cheek.T.R') + bone.head[:] = -0.0450, -0.2472, 0.2375 + bone.tail[:] = -0.0308, -0.2584, 0.2187 + bone.roll = -0.3924 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['cheek.T.R'] = bone.name + bone = arm.edit_bones.new('teeth.T') + bone.head[:] = 0.0000, -0.2724, 0.2129 + bone.tail[:] = 0.0000, -0.2477, 0.2129 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['teeth.T'] = bone.name + bone = arm.edit_bones.new('teeth.B') + bone.head[:] = 0.0000, -0.2709, 0.2076 + bone.tail[:] = 0.0000, -0.2463, 0.2076 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['teeth.B'] = bone.name + bone = arm.edit_bones.new('tongue') + bone.head[:] = 0.0000, -0.2693, 0.2091 + bone.tail[:] = 0.0000, -0.2610, 0.2098 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['tongue'] = bone.name + bone = arm.edit_bones.new('f_toe.L') + bone.head[:] = 0.0313, -0.1297, 0.0094 + bone.tail[:] = 0.0313, -0.1530, 0.0094 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['hand.L']] + bones['f_toe.L'] = bone.name + bone = arm.edit_bones.new('f_toe.R') + bone.head[:] = -0.0313, -0.1297, 0.0094 + bone.tail[:] = -0.0313, -0.1530, 0.0094 + bone.roll = -0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['hand.R']] + bones['f_toe.R'] = bone.name + bone = arm.edit_bones.new('r_index.002.L') + bone.head[:] = 0.0217, 0.1325, 0.0070 + bone.tail[:] = 0.0221, 0.1271, 0.0038 + bone.roll = -0.2465 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['r_index.001.L']] + bones['r_index.002.L'] = bone.name + bone = arm.edit_bones.new('r_middle.002.L') + bone.head[:] = 0.0324, 0.1297, 0.0092 + bone.tail[:] = 0.0343, 0.1210, 0.0039 + bone.roll = -0.7479 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['r_middle.001.L']] + bones['r_middle.002.L'] = bone.name + bone = arm.edit_bones.new('r_ring.002.L') + bone.head[:] = 0.0389, 0.1311, 0.0092 + bone.tail[:] = 0.0407, 0.1229, 0.0042 + bone.roll = -0.7479 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['r_ring.001.L']] + bones['r_ring.002.L'] = bone.name + bone = arm.edit_bones.new('r_pinky.002.L') + bone.head[:] = 0.0476, 0.1412, 0.0074 + bone.tail[:] = 0.0494, 0.1351, 0.0032 + bone.roll = -0.8965 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['r_pinky.001.L']] + bones['r_pinky.002.L'] = bone.name + bone = arm.edit_bones.new('r_index.002.R') + bone.head[:] = -0.0217, 0.1325, 0.0070 + bone.tail[:] = -0.0221, 0.1271, 0.0038 + bone.roll = 0.2465 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['r_index.001.R']] + bones['r_index.002.R'] = bone.name + bone = arm.edit_bones.new('r_middle.002.R') + bone.head[:] = -0.0324, 0.1297, 0.0092 + bone.tail[:] = -0.0343, 0.1210, 0.0039 + bone.roll = 0.7479 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['r_middle.001.R']] + bones['r_middle.002.R'] = bone.name + bone = arm.edit_bones.new('r_ring.002.R') + bone.head[:] = -0.0389, 0.1311, 0.0092 + bone.tail[:] = -0.0407, 0.1229, 0.0042 + bone.roll = 0.7479 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['r_ring.001.R']] + bones['r_ring.002.R'] = bone.name + bone = arm.edit_bones.new('r_pinky.002.R') + bone.head[:] = -0.0476, 0.1412, 0.0074 + bone.tail[:] = -0.0494, 0.1351, 0.0032 + bone.roll = 0.8965 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['r_pinky.001.R']] + bones['r_pinky.002.R'] = bone.name + bone = arm.edit_bones.new('nose.001') + bone.head[:] = 0.0000, -0.2705, 0.2315 + bone.tail[:] = 0.0000, -0.2804, 0.2205 + bone.roll = 0.0253 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['nose']] + bones['nose.001'] = bone.name + bone = arm.edit_bones.new('lip.T.L.001') + bone.head[:] = 0.0142, -0.2683, 0.2053 + bone.tail[:] = 0.0314, -0.2428, 0.2103 + bone.roll = -0.0306 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lip.T.L']] + bones['lip.T.L.001'] = bone.name + bone = arm.edit_bones.new('lip.B.L.001') + bone.head[:] = 0.0102, -0.2676, 0.2025 + bone.tail[:] = 0.0314, -0.2428, 0.2103 + bone.roll = 0.1360 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lip.B.L']] + bones['lip.B.L.001'] = bone.name + bone = arm.edit_bones.new('chin') + bone.head[:] = 0.0000, -0.2524, 0.1977 + bone.tail[:] = 0.0000, -0.2681, 0.1948 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['jaw']] + bones['chin'] = bone.name + bone = arm.edit_bones.new('ear.L.001') + bone.head[:] = 0.0259, -0.2360, 0.2749 + bone.tail[:] = 0.0367, -0.2346, 0.2792 + bone.roll = 1.1038 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['ear.L']] + bones['ear.L.001'] = bone.name + bone = arm.edit_bones.new('ear.R.001') + bone.head[:] = -0.0259, -0.2360, 0.2749 + bone.tail[:] = -0.0367, -0.2346, 0.2792 + bone.roll = -1.1038 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['ear.R']] + bones['ear.R.001'] = bone.name + bone = arm.edit_bones.new('lip.T.R.001') + bone.head[:] = -0.0142, -0.2683, 0.2053 + bone.tail[:] = -0.0314, -0.2428, 0.2103 + bone.roll = 0.0306 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lip.T.R']] + bones['lip.T.R.001'] = bone.name + bone = arm.edit_bones.new('lip.B.R.001') + bone.head[:] = -0.0102, -0.2676, 0.2025 + bone.tail[:] = -0.0314, -0.2428, 0.2103 + bone.roll = -0.1360 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lip.B.R']] + bones['lip.B.R.001'] = bone.name + bone = arm.edit_bones.new('brow.B.L.001') + bone.head[:] = 0.0336, -0.2577, 0.2472 + bone.tail[:] = 0.0242, -0.2642, 0.2478 + bone.roll = -0.0715 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['brow.B.L']] + bones['brow.B.L.001'] = bone.name + bone = arm.edit_bones.new('lid.T.L.001') + bone.head[:] = 0.0327, -0.2600, 0.2432 + bone.tail[:] = 0.0236, -0.2656, 0.2440 + bone.roll = 0.1058 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lid.T.L']] + bones['lid.T.L.001'] = bone.name + bone = arm.edit_bones.new('brow.B.R.001') + bone.head[:] = -0.0336, -0.2577, 0.2472 + bone.tail[:] = -0.0242, -0.2642, 0.2478 + bone.roll = 0.0715 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['brow.B.R']] + bones['brow.B.R.001'] = bone.name + bone = arm.edit_bones.new('lid.T.R.001') + bone.head[:] = -0.0327, -0.2600, 0.2432 + bone.tail[:] = -0.0236, -0.2656, 0.2440 + bone.roll = -0.1058 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lid.T.R']] + bones['lid.T.R.001'] = bone.name + bone = arm.edit_bones.new('forehead.L.001') + bone.head[:] = 0.0287, -0.2477, 0.2649 + bone.tail[:] = 0.0241, -0.2601, 0.2567 + bone.roll = 2.1575 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['forehead.L']] + bones['forehead.L.001'] = bone.name + bone = arm.edit_bones.new('forehead.R.001') + bone.head[:] = -0.0287, -0.2477, 0.2649 + bone.tail[:] = -0.0241, -0.2601, 0.2567 + bone.roll = -2.1575 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['forehead.R']] + bones['forehead.R.001'] = bone.name + bone = arm.edit_bones.new('cheek.T.L.001') + bone.head[:] = 0.0308, -0.2584, 0.2187 + bone.tail[:] = 0.0121, -0.2695, 0.2220 + bone.roll = -0.5048 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['cheek.T.L']] + bones['cheek.T.L.001'] = bone.name + bone = arm.edit_bones.new('cheek.T.R.001') + bone.head[:] = -0.0308, -0.2584, 0.2187 + bone.tail[:] = -0.0121, -0.2695, 0.2220 + bone.roll = 0.5048 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['cheek.T.R']] + bones['cheek.T.R.001'] = bone.name + bone = arm.edit_bones.new('tongue.001') + bone.head[:] = 0.0000, -0.2610, 0.2098 + bone.tail[:] = 0.0000, -0.2461, 0.2100 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['tongue']] + bones['tongue.001'] = bone.name + bone = arm.edit_bones.new('f_palm.004.L') + bone.head[:] = 0.0393, -0.1278, 0.0100 + bone.tail[:] = 0.0406, -0.1304, 0.0100 + bone.roll = -0.0006 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['f_toe.L']] + bones['f_palm.004.L'] = bone.name + bone = arm.edit_bones.new('f_palm.001.L') + bone.head[:] = 0.0216, -0.1278, 0.0100 + bone.tail[:] = 0.0199, -0.1331, 0.0100 + bone.roll = 0.0004 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['f_toe.L']] + bones['f_palm.001.L'] = bone.name + bone = arm.edit_bones.new('f_palm.002.L') + bone.head[:] = 0.0273, -0.1278, 0.0100 + bone.tail[:] = 0.0273, -0.1345, 0.0100 + bone.roll = 3.1416 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['f_toe.L']] + bones['f_palm.002.L'] = bone.name + bone = arm.edit_bones.new('f_palm.003.L') + bone.head[:] = 0.0341, -0.1278, 0.0100 + bone.tail[:] = 0.0340, -0.1345, 0.0100 + bone.roll = 0.0101 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['f_toe.L']] + bones['f_palm.003.L'] = bone.name + bone = arm.edit_bones.new('f_palm.004.R') + bone.head[:] = -0.0393, -0.1278, 0.0100 + bone.tail[:] = -0.0406, -0.1304, 0.0100 + bone.roll = 0.0006 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['f_toe.R']] + bones['f_palm.004.R'] = bone.name + bone = arm.edit_bones.new('f_palm.001.R') + bone.head[:] = -0.0216, -0.1278, 0.0100 + bone.tail[:] = -0.0199, -0.1331, 0.0100 + bone.roll = -0.0004 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['f_toe.R']] + bones['f_palm.001.R'] = bone.name + bone = arm.edit_bones.new('f_palm.002.R') + bone.head[:] = -0.0273, -0.1278, 0.0100 + bone.tail[:] = -0.0273, -0.1345, 0.0100 + bone.roll = -3.1416 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['f_toe.R']] + bones['f_palm.002.R'] = bone.name + bone = arm.edit_bones.new('f_palm.003.R') + bone.head[:] = -0.0341, -0.1278, 0.0100 + bone.tail[:] = -0.0340, -0.1345, 0.0100 + bone.roll = -0.0101 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['f_toe.R']] + bones['f_palm.003.R'] = bone.name + bone = arm.edit_bones.new('nose.002') + bone.head[:] = 0.0000, -0.2804, 0.2205 + bone.tail[:] = 0.0000, -0.2787, 0.2155 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['nose.001']] + bones['nose.002'] = bone.name + bone = arm.edit_bones.new('chin.001') + bone.head[:] = 0.0000, -0.2681, 0.1948 + bone.tail[:] = 0.0000, -0.2749, 0.2015 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['chin']] + bones['chin.001'] = bone.name + bone = arm.edit_bones.new('ear.L.002') + bone.head[:] = 0.0367, -0.2346, 0.2792 + bone.tail[:] = 0.0513, -0.2371, 0.2879 + bone.roll = 1.6702 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['ear.L.001']] + bones['ear.L.002'] = bone.name + bone = arm.edit_bones.new('ear.R.002') + bone.head[:] = -0.0367, -0.2346, 0.2792 + bone.tail[:] = -0.0513, -0.2371, 0.2879 + bone.roll = -1.6702 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['ear.R.001']] + bones['ear.R.002'] = bone.name + bone = arm.edit_bones.new('brow.B.L.002') + bone.head[:] = 0.0242, -0.2642, 0.2478 + bone.tail[:] = 0.0131, -0.2694, 0.2432 + bone.roll = -0.1515 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['brow.B.L.001']] + bones['brow.B.L.002'] = bone.name + bone = arm.edit_bones.new('lid.T.L.002') + bone.head[:] = 0.0236, -0.2656, 0.2440 + bone.tail[:] = 0.0137, -0.2665, 0.2401 + bone.roll = -0.1882 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lid.T.L.001']] + bones['lid.T.L.002'] = bone.name + bone = arm.edit_bones.new('brow.B.R.002') + bone.head[:] = -0.0242, -0.2642, 0.2478 + bone.tail[:] = -0.0131, -0.2694, 0.2432 + bone.roll = 0.1515 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['brow.B.R.001']] + bones['brow.B.R.002'] = bone.name + bone = arm.edit_bones.new('lid.T.R.002') + bone.head[:] = -0.0236, -0.2656, 0.2440 + bone.tail[:] = -0.0137, -0.2665, 0.2401 + bone.roll = 0.1882 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lid.T.R.001']] + bones['lid.T.R.002'] = bone.name + bone = arm.edit_bones.new('forehead.L.002') + bone.head[:] = 0.0405, -0.2354, 0.2607 + bone.tail[:] = 0.0402, -0.2481, 0.2487 + bone.roll = 0.5185 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['forehead.L.001']] + bones['forehead.L.002'] = bone.name + bone = arm.edit_bones.new('forehead.R.002') + bone.head[:] = -0.0405, -0.2354, 0.2607 + bone.tail[:] = -0.0402, -0.2481, 0.2487 + bone.roll = -0.5185 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['forehead.R.001']] + bones['forehead.R.002'] = bone.name + bone = arm.edit_bones.new('nose.L') + bone.head[:] = 0.0121, -0.2695, 0.2220 + bone.tail[:] = 0.0062, -0.2742, 0.2210 + bone.roll = 2.5249 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['cheek.T.L.001']] + bones['nose.L'] = bone.name + bone = arm.edit_bones.new('nose.R') + bone.head[:] = -0.0121, -0.2695, 0.2220 + bone.tail[:] = -0.0062, -0.2742, 0.2210 + bone.roll = -2.5249 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['cheek.T.R.001']] + bones['nose.R'] = bone.name + bone = arm.edit_bones.new('tongue.002') + bone.head[:] = 0.0000, -0.2461, 0.2100 + bone.tail[:] = 0.0000, -0.2309, 0.2083 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['tongue.001']] + bones['tongue.002'] = bone.name + bone = arm.edit_bones.new('f_pinky.001.L') + bone.head[:] = 0.0406, -0.1304, 0.0074 + bone.tail[:] = 0.0408, -0.1337, 0.0065 + bone.roll = -0.6234 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['f_palm.004.L']] + bones['f_pinky.001.L'] = bone.name + bone = arm.edit_bones.new('f_index.001.L') + bone.head[:] = 0.0199, -0.1331, 0.0077 + bone.tail[:] = 0.0193, -0.1372, 0.0060 + bone.roll = 0.7154 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['f_palm.001.L']] + bones['f_index.001.L'] = bone.name + bone = arm.edit_bones.new('f_middle.001.L') + bone.head[:] = 0.0273, -0.1345, 0.0107 + bone.tail[:] = 0.0273, -0.1407, 0.0082 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['f_palm.002.L']] + bones['f_middle.001.L'] = bone.name + bone = arm.edit_bones.new('f_ring.001.L') + bone.head[:] = 0.0340, -0.1345, 0.0107 + bone.tail[:] = 0.0340, -0.1407, 0.0082 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['f_palm.003.L']] + bones['f_ring.001.L'] = bone.name + bone = arm.edit_bones.new('f_pinky.001.R') + bone.head[:] = -0.0406, -0.1304, 0.0074 + bone.tail[:] = -0.0408, -0.1337, 0.0065 + bone.roll = 0.6234 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['f_palm.004.R']] + bones['f_pinky.001.R'] = bone.name + bone = arm.edit_bones.new('f_index.001.R') + bone.head[:] = -0.0199, -0.1331, 0.0077 + bone.tail[:] = -0.0193, -0.1372, 0.0060 + bone.roll = -0.7154 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['f_palm.001.R']] + bones['f_index.001.R'] = bone.name + bone = arm.edit_bones.new('f_middle.001.R') + bone.head[:] = -0.0273, -0.1345, 0.0107 + bone.tail[:] = -0.0273, -0.1407, 0.0082 + bone.roll = -0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['f_palm.002.R']] + bones['f_middle.001.R'] = bone.name + bone = arm.edit_bones.new('f_ring.001.R') + bone.head[:] = -0.0340, -0.1345, 0.0107 + bone.tail[:] = -0.0340, -0.1407, 0.0082 + bone.roll = -0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['f_palm.003.R']] + bones['f_ring.001.R'] = bone.name + bone = arm.edit_bones.new('nose.003') + bone.head[:] = 0.0000, -0.2787, 0.2155 + bone.tail[:] = 0.0000, -0.2788, 0.2123 + bone.roll = -0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['nose.002']] + bones['nose.003'] = bone.name + bone = arm.edit_bones.new('ear.L.003') + bone.head[:] = 0.0513, -0.2371, 0.2879 + bone.tail[:] = 0.0498, -0.2277, 0.2690 + bone.roll = -2.2767 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['ear.L.002']] + bones['ear.L.003'] = bone.name + bone = arm.edit_bones.new('ear.R.003') + bone.head[:] = -0.0513, -0.2371, 0.2879 + bone.tail[:] = -0.0498, -0.2277, 0.2690 + bone.roll = 2.2767 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['ear.R.002']] + bones['ear.R.003'] = bone.name + bone = arm.edit_bones.new('brow.B.L.003') + bone.head[:] = 0.0131, -0.2694, 0.2432 + bone.tail[:] = 0.0086, -0.2691, 0.2358 + bone.roll = -0.2157 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['brow.B.L.002']] + bones['brow.B.L.003'] = bone.name + bone = arm.edit_bones.new('lid.T.L.003') + bone.head[:] = 0.0137, -0.2665, 0.2401 + bone.tail[:] = 0.0097, -0.2657, 0.2291 + bone.roll = -0.4253 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lid.T.L.002']] + bones['lid.T.L.003'] = bone.name + bone = arm.edit_bones.new('brow.B.R.003') + bone.head[:] = -0.0131, -0.2694, 0.2432 + bone.tail[:] = -0.0086, -0.2691, 0.2358 + bone.roll = 0.2157 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['brow.B.R.002']] + bones['brow.B.R.003'] = bone.name + bone = arm.edit_bones.new('lid.T.R.003') + bone.head[:] = -0.0137, -0.2665, 0.2401 + bone.tail[:] = -0.0097, -0.2657, 0.2291 + bone.roll = 0.4253 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lid.T.R.002']] + bones['lid.T.R.003'] = bone.name + bone = arm.edit_bones.new('temple.L') + bone.head[:] = 0.0367, -0.2123, 0.2525 + bone.tail[:] = 0.0380, -0.2135, 0.2277 + bone.roll = -0.0789 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['forehead.L.002']] + bones['temple.L'] = bone.name + bone = arm.edit_bones.new('temple.R') + bone.head[:] = -0.0367, -0.2123, 0.2525 + bone.tail[:] = -0.0380, -0.2135, 0.2277 + bone.roll = 0.0789 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['forehead.R.002']] + bones['temple.R'] = bone.name + bone = arm.edit_bones.new('nose.L.001') + bone.head[:] = 0.0062, -0.2742, 0.2210 + bone.tail[:] = 0.0000, -0.2804, 0.2205 + bone.roll = 0.1646 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['nose.L']] + bones['nose.L.001'] = bone.name + bone = arm.edit_bones.new('nose.R.001') + bone.head[:] = -0.0062, -0.2742, 0.2210 + bone.tail[:] = 0.0000, -0.2804, 0.2205 + bone.roll = -0.1646 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['nose.R']] + bones['nose.R.001'] = bone.name + bone = arm.edit_bones.new('f_pinky.002.L') + bone.head[:] = 0.0408, -0.1337, 0.0065 + bone.tail[:] = 0.0413, -0.1400, 0.0023 + bone.roll = -0.2560 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['f_pinky.001.L']] + bones['f_pinky.002.L'] = bone.name + bone = arm.edit_bones.new('f_index.002.L') + bone.head[:] = 0.0193, -0.1372, 0.0060 + bone.tail[:] = 0.0186, -0.1427, 0.0028 + bone.roll = 0.5229 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['f_index.001.L']] + bones['f_index.002.L'] = bone.name + bone = arm.edit_bones.new('f_middle.002.L') + bone.head[:] = 0.0273, -0.1407, 0.0082 + bone.tail[:] = 0.0273, -0.1496, 0.0030 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['f_middle.001.L']] + bones['f_middle.002.L'] = bone.name + bone = arm.edit_bones.new('f_ring.002.L') + bone.head[:] = 0.0340, -0.1407, 0.0082 + bone.tail[:] = 0.0340, -0.1491, 0.0033 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['f_ring.001.L']] + bones['f_ring.002.L'] = bone.name + bone = arm.edit_bones.new('f_pinky.002.R') + bone.head[:] = -0.0408, -0.1337, 0.0065 + bone.tail[:] = -0.0413, -0.1400, 0.0023 + bone.roll = 0.2560 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['f_pinky.001.R']] + bones['f_pinky.002.R'] = bone.name + bone = arm.edit_bones.new('f_index.002.R') + bone.head[:] = -0.0193, -0.1372, 0.0060 + bone.tail[:] = -0.0186, -0.1427, 0.0028 + bone.roll = -0.5229 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['f_index.001.R']] + bones['f_index.002.R'] = bone.name + bone = arm.edit_bones.new('f_middle.002.R') + bone.head[:] = -0.0273, -0.1407, 0.0082 + bone.tail[:] = -0.0273, -0.1496, 0.0030 + bone.roll = -0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['f_middle.001.R']] + bones['f_middle.002.R'] = bone.name + bone = arm.edit_bones.new('f_ring.002.R') + bone.head[:] = -0.0340, -0.1407, 0.0082 + bone.tail[:] = -0.0340, -0.1491, 0.0033 + bone.roll = -0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['f_ring.001.R']] + bones['f_ring.002.R'] = bone.name + bone = arm.edit_bones.new('nose.004') + bone.head[:] = 0.0000, -0.2788, 0.2123 + bone.tail[:] = 0.0000, -0.2785, 0.2091 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['nose.003']] + bones['nose.004'] = bone.name + bone = arm.edit_bones.new('ear.L.004') + bone.head[:] = 0.0498, -0.2277, 0.2690 + bone.tail[:] = 0.0361, -0.2279, 0.2662 + bone.roll = -3.8181 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['ear.L.003']] + bones['ear.L.004'] = bone.name + bone = arm.edit_bones.new('ear.R.004') + bone.head[:] = -0.0498, -0.2277, 0.2690 + bone.tail[:] = -0.0361, -0.2279, 0.2662 + bone.roll = 3.8181 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['ear.R.003']] + bones['ear.R.004'] = bone.name + bone = arm.edit_bones.new('lid.B.L') + bone.head[:] = 0.0097, -0.2657, 0.2291 + bone.tail[:] = 0.0150, -0.2661, 0.2277 + bone.roll = 0.0693 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lid.T.L.003']] + bones['lid.B.L'] = bone.name + bone = arm.edit_bones.new('lid.B.R') + bone.head[:] = -0.0097, -0.2657, 0.2291 + bone.tail[:] = -0.0150, -0.2661, 0.2277 + bone.roll = -0.0693 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lid.T.R.003']] + bones['lid.B.R'] = bone.name + bone = arm.edit_bones.new('jaw.L') + bone.head[:] = 0.0380, -0.2135, 0.2277 + bone.tail[:] = 0.0284, -0.2162, 0.2076 + bone.roll = 0.1964 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['temple.L']] + bones['jaw.L'] = bone.name + bone = arm.edit_bones.new('jaw.R') + bone.head[:] = -0.0380, -0.2135, 0.2277 + bone.tail[:] = -0.0284, -0.2162, 0.2076 + bone.roll = -0.1964 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['temple.R']] + bones['jaw.R'] = bone.name + bone = arm.edit_bones.new('lid.B.L.001') + bone.head[:] = 0.0150, -0.2661, 0.2277 + bone.tail[:] = 0.0221, -0.2652, 0.2262 + bone.roll = 0.1759 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lid.B.L']] + bones['lid.B.L.001'] = bone.name + bone = arm.edit_bones.new('lid.B.R.001') + bone.head[:] = -0.0150, -0.2661, 0.2277 + bone.tail[:] = -0.0221, -0.2652, 0.2262 + bone.roll = -0.1759 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lid.B.R']] + bones['lid.B.R.001'] = bone.name + bone = arm.edit_bones.new('jaw.L.001') + bone.head[:] = 0.0284, -0.2162, 0.2076 + bone.tail[:] = 0.0235, -0.2371, 0.2014 + bone.roll = -0.0005 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['jaw.L']] + bones['jaw.L.001'] = bone.name + bone = arm.edit_bones.new('jaw.R.001') + bone.head[:] = -0.0284, -0.2162, 0.2076 + bone.tail[:] = -0.0235, -0.2371, 0.2014 + bone.roll = 0.0005 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['jaw.R']] + bones['jaw.R.001'] = bone.name + bone = arm.edit_bones.new('lid.B.L.002') + bone.head[:] = 0.0221, -0.2652, 0.2262 + bone.tail[:] = 0.0333, -0.2602, 0.2291 + bone.roll = 0.0161 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lid.B.L.001']] + bones['lid.B.L.002'] = bone.name + bone = arm.edit_bones.new('lid.B.R.002') + bone.head[:] = -0.0221, -0.2652, 0.2262 + bone.tail[:] = -0.0333, -0.2602, 0.2291 + bone.roll = -0.0161 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lid.B.R.001']] + bones['lid.B.R.002'] = bone.name + bone = arm.edit_bones.new('chin.L') + bone.head[:] = 0.0235, -0.2371, 0.2014 + bone.tail[:] = 0.0287, -0.2395, 0.2103 + bone.roll = 0.4176 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['jaw.L.001']] + bones['chin.L'] = bone.name + bone = arm.edit_bones.new('chin.R') + bone.head[:] = -0.0235, -0.2371, 0.2014 + bone.tail[:] = -0.0287, -0.2395, 0.2103 + bone.roll = -0.4176 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['jaw.R.001']] + bones['chin.R'] = bone.name + bone = arm.edit_bones.new('lid.B.L.003') + bone.head[:] = 0.0333, -0.2602, 0.2291 + bone.tail[:] = 0.0398, -0.2525, 0.2396 + bone.roll = -0.0675 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lid.B.L.002']] + bones['lid.B.L.003'] = bone.name + bone = arm.edit_bones.new('lid.B.R.003') + bone.head[:] = -0.0333, -0.2602, 0.2291 + bone.tail[:] = -0.0398, -0.2525, 0.2396 + bone.roll = 0.0675 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lid.B.R.002']] + bones['lid.B.R.003'] = bone.name + bone = arm.edit_bones.new('cheek.B.L') + bone.head[:] = 0.0287, -0.2395, 0.2103 + bone.tail[:] = 0.0448, -0.2396, 0.2234 + bone.roll = -0.3125 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['chin.L']] + bones['cheek.B.L'] = bone.name + bone = arm.edit_bones.new('cheek.B.R') + bone.head[:] = -0.0287, -0.2395, 0.2103 + bone.tail[:] = -0.0448, -0.2396, 0.2234 + bone.roll = 0.3125 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['chin.R']] + bones['cheek.B.R'] = bone.name + bone = arm.edit_bones.new('cheek.B.L.001') + bone.head[:] = 0.0448, -0.2396, 0.2234 + bone.tail[:] = 0.0478, -0.2312, 0.2379 + bone.roll = -0.0215 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['cheek.B.L']] + bones['cheek.B.L.001'] = bone.name + bone = arm.edit_bones.new('cheek.B.R.001') + bone.head[:] = -0.0448, -0.2396, 0.2234 + bone.tail[:] = -0.0478, -0.2312, 0.2379 + bone.roll = 0.0215 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['cheek.B.R']] + bones['cheek.B.R.001'] = bone.name + bone = arm.edit_bones.new('brow.T.L') + bone.head[:] = 0.0478, -0.2312, 0.2379 + bone.tail[:] = 0.0402, -0.2481, 0.2487 + bone.roll = -0.6301 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['cheek.B.L.001']] + bones['brow.T.L'] = bone.name + bone = arm.edit_bones.new('brow.T.R') + bone.head[:] = -0.0478, -0.2312, 0.2379 + bone.tail[:] = -0.0402, -0.2481, 0.2487 + bone.roll = 0.6301 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['cheek.B.R.001']] + bones['brow.T.R'] = bone.name + bone = arm.edit_bones.new('brow.T.L.001') + bone.head[:] = 0.0402, -0.2481, 0.2487 + bone.tail[:] = 0.0241, -0.2601, 0.2567 + bone.roll = 0.3622 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['brow.T.L']] + bones['brow.T.L.001'] = bone.name + bone = arm.edit_bones.new('brow.T.R.001') + bone.head[:] = -0.0402, -0.2481, 0.2487 + bone.tail[:] = -0.0241, -0.2601, 0.2567 + bone.roll = -0.3622 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['brow.T.R']] + bones['brow.T.R.001'] = bone.name + bone = arm.edit_bones.new('brow.T.L.002') + bone.head[:] = 0.0241, -0.2601, 0.2567 + bone.tail[:] = 0.0097, -0.2694, 0.2527 + bone.roll = 0.0684 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['brow.T.L.001']] + bones['brow.T.L.002'] = bone.name + bone = arm.edit_bones.new('brow.T.R.002') + bone.head[:] = -0.0241, -0.2601, 0.2567 + bone.tail[:] = -0.0097, -0.2694, 0.2527 + bone.roll = -0.0684 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['brow.T.R.001']] + bones['brow.T.R.002'] = bone.name + bone = arm.edit_bones.new('brow.T.L.003') + bone.head[:] = 0.0097, -0.2694, 0.2527 + bone.tail[:] = 0.0000, -0.2709, 0.2463 + bone.roll = 0.0020 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['brow.T.L.002']] + bones['brow.T.L.003'] = bone.name + bone = arm.edit_bones.new('brow.T.R.003') + bone.head[:] = -0.0097, -0.2694, 0.2527 + bone.tail[:] = 0.0000, -0.2709, 0.2463 + bone.roll = -0.0020 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['brow.T.R.002']] + bones['brow.T.R.003'] = bone.name + + bpy.ops.object.mode_set(mode='OBJECT') + pbone = obj.pose.bones[bones['tail.004']] + pbone.rigify_type = 'spines.super_spine' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, 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] + try: + pbone.rigify_parameters.use_tail = True + except AttributeError: + pass + try: + pbone.rigify_parameters.pivot_pos = 6 + except AttributeError: + pass + try: + pbone.rigify_parameters.neck_pos = 9 + except AttributeError: + pass + try: + pbone.rigify_parameters.tail_pos = 4 + except AttributeError: + pass + try: + pbone.rigify_parameters.copy_rotation_axes = [True, True, True] + except AttributeError: + pass + pbone = obj.pose.bones[bones['tail.003']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, 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] + pbone = obj.pose.bones[bones['tail.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, 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] + pbone = obj.pose.bones[bones['tail.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['spine']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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] + try: + pbone.rigify_parameters.neck_pos = 5 + except AttributeError: + pass + try: + pbone.rigify_parameters.tweak_layers = [False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['spine.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['pelvis.L']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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] + try: + pbone.rigify_parameters.make_control = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['pelvis.R']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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] + try: + pbone.rigify_parameters.make_control = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['pelvis.C']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + try: + pbone.rigify_parameters.make_control = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['spine.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['thigh.L']] + pbone.rigify_type = 'limbs.super_limb' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False] + try: + pbone.rigify_parameters.limb_type = "paw" + 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 + try: + 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.segments = 2 + except AttributeError: + pass + pbone = obj.pose.bones[bones['thigh.R']] + pbone.rigify_type = 'limbs.super_limb' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, 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] + try: + pbone.rigify_parameters.limb_type = "paw" + except AttributeError: + pass + try: + pbone.rigify_parameters.fk_layers = [False, False, 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] + except AttributeError: + pass + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['spine.003']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['belly.C']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['shin.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False] + pbone = obj.pose.bones[bones['shin.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, 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] + pbone = obj.pose.bones[bones['spine.004']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['Breast.C']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['shoulder.L']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'YXZ' + 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] + try: + pbone.rigify_parameters.make_control = True + except AttributeError: + pass + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['shoulder.R']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'YXZ' + 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] + try: + pbone.rigify_parameters.make_control = True + except AttributeError: + pass + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['foot.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False] + pbone = obj.pose.bones[bones['foot.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, 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] + pbone = obj.pose.bones[bones['spine.005']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False, False, False, False] + try: + pbone.rigify_parameters.limb_type = "paw" + except AttributeError: + pass + try: + pbone.rigify_parameters.fk_layers = [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, False, False, False, False, False, False] + except AttributeError: + pass + try: + pbone.rigify_parameters.tweak_layers = [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, False, False, False, False, False] + except AttributeError: + pass + pbone = obj.pose.bones[bones['upper_arm.R']] + pbone.rigify_type = 'limbs.super_limb' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + try: + pbone.rigify_parameters.fk_layers = [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, False, False, False] + except AttributeError: + pass + try: + pbone.rigify_parameters.tweak_layers = [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, False, False] + except AttributeError: + pass + try: + pbone.rigify_parameters.limb_type = "paw" + except AttributeError: + pass + pbone = obj.pose.bones[bones['r_toe.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False] + pbone = obj.pose.bones[bones['r_toe.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, 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] + pbone = obj.pose.bones[bones['spine.006']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['forearm.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False, False, False, False] + pbone = obj.pose.bones[bones['forearm.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + pbone = obj.pose.bones[bones['r_palm.001.L']] + pbone.rigify_type = 'limbs.super_palm' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_palm.002.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_palm.003.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_palm.004.L']] + pbone.rigify_type = 'limbs.super_palm' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_palm.001.R']] + pbone.rigify_type = 'limbs.super_palm' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_palm.002.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_palm.003.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_palm.004.R']] + pbone.rigify_type = 'limbs.super_palm' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['face']] + pbone.rigify_type = 'faces.super_face' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + try: + pbone.rigify_parameters.secondary_layers = [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, False] + except AttributeError: + pass + pbone = obj.pose.bones[bones['hand.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False, False, False, False] + pbone = obj.pose.bones[bones['hand.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + pbone = obj.pose.bones[bones['r_index.001.L']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['r_middle.001.L']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['r_ring.001.L']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['r_pinky.001.L']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['r_index.001.R']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['r_middle.001.R']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['r_ring.001.R']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['r_pinky.001.R']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['nose']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lip.T.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lip.B.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['jaw']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['ear.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['ear.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lip.T.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lip.B.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['brow.B.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lid.T.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['brow.B.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lid.T.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['forehead.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['forehead.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['eye.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['eye.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['cheek.T.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['cheek.T.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['teeth.T']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['teeth.B']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['tongue']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['f_toe.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False, False, False, False] + pbone = obj.pose.bones[bones['f_toe.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + pbone = obj.pose.bones[bones['r_index.002.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_middle.002.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_ring.002.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_pinky.002.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_index.002.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_middle.002.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_ring.002.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_pinky.002.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['nose.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lip.T.L.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lip.B.L.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['chin']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['ear.L.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['ear.R.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lip.T.R.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lip.B.R.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['brow.B.L.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lid.T.L.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['brow.B.R.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lid.T.R.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['forehead.L.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['forehead.R.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['cheek.T.L.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['cheek.T.R.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['tongue.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['f_palm.004.L']] + pbone.rigify_type = 'limbs.super_palm' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_palm.001.L']] + pbone.rigify_type = 'limbs.super_palm' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_palm.002.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_palm.003.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_palm.004.R']] + pbone.rigify_type = 'limbs.super_palm' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_palm.001.R']] + pbone.rigify_type = 'limbs.super_palm' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_palm.002.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_palm.003.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['nose.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['chin.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['ear.L.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['ear.R.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['brow.B.L.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lid.T.L.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['brow.B.R.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lid.T.R.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['forehead.L.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['forehead.R.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['nose.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['nose.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['tongue.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['f_pinky.001.L']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['f_index.001.L']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['f_middle.001.L']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['f_ring.001.L']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['f_pinky.001.R']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['f_index.001.R']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['f_middle.001.R']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['f_ring.001.R']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['nose.003']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['ear.L.003']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['ear.R.003']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['brow.B.L.003']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lid.T.L.003']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['brow.B.R.003']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lid.T.R.003']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['temple.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['temple.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['nose.L.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['nose.R.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['f_pinky.002.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_index.002.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_middle.002.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_ring.002.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_pinky.002.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_index.002.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_middle.002.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_ring.002.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['nose.004']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['ear.L.004']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['ear.R.004']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lid.B.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lid.B.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['jaw.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['jaw.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lid.B.L.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lid.B.R.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['jaw.L.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['jaw.R.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lid.B.L.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lid.B.R.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['chin.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['chin.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lid.B.L.003']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lid.B.R.003']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['cheek.B.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['cheek.B.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['cheek.B.L.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['cheek.B.R.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['brow.T.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['brow.T.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['brow.T.L.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['brow.T.R.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['brow.T.L.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['brow.T.R.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['brow.T.L.003']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['brow.T.R.003']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + + bpy.ops.object.mode_set(mode='EDIT') + for bone in arm.edit_bones: + bone.select = False + bone.select_head = False + bone.select_tail = False + for b in bones: + bone = arm.edit_bones[bones[b]] + bone.select = True + bone.select_head = True + bone.select_tail = True + arm.edit_bones.active = bone + + arm.layers = [(x in [0, 3, 5, 7, 10, 13, 16, 19]) for x in range(32)] + +if __name__ == "__main__": + create(bpy.context.active_object)
\ No newline at end of file diff --git a/rigify/metarigs/Animals/horse.py b/rigify/metarigs/Animals/horse.py new file mode 100644 index 00000000..e85be5fd --- /dev/null +++ b/rigify/metarigs/Animals/horse.py @@ -0,0 +1,1372 @@ +import bpy + + +from mathutils import Color + + +def create(obj): + # generated by rigify.utils.write_metarig + bpy.ops.object.mode_set(mode='EDIT') + arm = obj.data + + for i in range(6): + arm.rigify_colors.add() + + arm.rigify_colors[0].name = "Root" + arm.rigify_colors[0].active = Color((0.5490000247955322, 1.0, 1.0)) + arm.rigify_colors[0].normal = Color((0.4352940022945404, 0.18431399762630463, 0.4156860113143921)) + arm.rigify_colors[0].select = Color((0.3140000104904175, 0.7839999794960022, 1.0)) + arm.rigify_colors[0].standard_colors_lock = True + arm.rigify_colors[1].name = "IK" + arm.rigify_colors[1].active = Color((0.5490000247955322, 1.0, 1.0)) + arm.rigify_colors[1].normal = Color((0.6039220094680786, 0.0, 0.0)) + arm.rigify_colors[1].select = Color((0.3140000104904175, 0.7839999794960022, 1.0)) + arm.rigify_colors[1].standard_colors_lock = True + arm.rigify_colors[2].name = "Special" + arm.rigify_colors[2].active = Color((0.5490000247955322, 1.0, 1.0)) + arm.rigify_colors[2].normal = Color((0.9568629860877991, 0.7882350087165833, 0.04705899953842163)) + arm.rigify_colors[2].select = Color((0.3140000104904175, 0.7839999794960022, 1.0)) + arm.rigify_colors[2].standard_colors_lock = True + arm.rigify_colors[3].name = "Tweak" + arm.rigify_colors[3].active = Color((0.5490000247955322, 1.0, 1.0)) + arm.rigify_colors[3].normal = Color((0.03921600058674812, 0.21176500618457794, 0.5803920030593872)) + arm.rigify_colors[3].select = Color((0.3140000104904175, 0.7839999794960022, 1.0)) + arm.rigify_colors[3].standard_colors_lock = True + arm.rigify_colors[4].name = "FK" + arm.rigify_colors[4].active = Color((0.5490000247955322, 1.0, 1.0)) + arm.rigify_colors[4].normal = Color((0.11764699965715408, 0.5686269998550415, 0.035294000059366226)) + arm.rigify_colors[4].select = Color((0.3140000104904175, 0.7839999794960022, 1.0)) + arm.rigify_colors[4].standard_colors_lock = True + arm.rigify_colors[5].name = "Extra" + arm.rigify_colors[5].active = Color((0.5490000247955322, 1.0, 1.0)) + arm.rigify_colors[5].normal = Color((0.9686279892921448, 0.2509799897670746, 0.09411799907684326)) + arm.rigify_colors[5].select = Color((0.3140000104904175, 0.7839999794960022, 1.0)) + arm.rigify_colors[5].standard_colors_lock = True + + for i in range(29): + arm.rigify_layers.add() + + arm.rigify_layers[0].name = "Face" + arm.rigify_layers[0].row = 1 + arm.rigify_layers[0].set = False + arm.rigify_layers[0].group = 5 + arm.rigify_layers[1].name = "Face (Primary)" + arm.rigify_layers[1].row = 2 + arm.rigify_layers[1].set = False + arm.rigify_layers[1].group = 4 + arm.rigify_layers[2].name = " " + arm.rigify_layers[2].row = 3 + arm.rigify_layers[2].set = False + arm.rigify_layers[2].group = 0 + arm.rigify_layers[3].name = "Spine" + arm.rigify_layers[3].row = 4 + arm.rigify_layers[3].set = False + arm.rigify_layers[3].group = 3 + arm.rigify_layers[4].name = "Spine (Tweak)" + arm.rigify_layers[4].row = 5 + arm.rigify_layers[4].set = False + arm.rigify_layers[4].group = 4 + arm.rigify_layers[5].name = " " + arm.rigify_layers[5].row = 1 + arm.rigify_layers[5].set = False + arm.rigify_layers[5].group = 0 + arm.rigify_layers[6].name = " " + arm.rigify_layers[6].row = 1 + arm.rigify_layers[6].set = False + arm.rigify_layers[6].group = 0 + arm.rigify_layers[7].name = "Arm.L (IK)" + arm.rigify_layers[7].row = 7 + arm.rigify_layers[7].set = False + arm.rigify_layers[7].group = 2 + arm.rigify_layers[8].name = "Arm.L (FK)" + arm.rigify_layers[8].row = 8 + arm.rigify_layers[8].set = False + arm.rigify_layers[8].group = 5 + arm.rigify_layers[9].name = "Arm.L (Tweak)" + arm.rigify_layers[9].row = 9 + arm.rigify_layers[9].set = False + arm.rigify_layers[9].group = 4 + arm.rigify_layers[10].name = "Arm.R (IK)" + arm.rigify_layers[10].row = 7 + arm.rigify_layers[10].set = False + arm.rigify_layers[10].group = 2 + arm.rigify_layers[11].name = "Arm.R (FK)" + arm.rigify_layers[11].row = 8 + arm.rigify_layers[11].set = False + arm.rigify_layers[11].group = 5 + arm.rigify_layers[12].name = "Arm.R (Tweak)" + arm.rigify_layers[12].row = 9 + arm.rigify_layers[12].set = False + arm.rigify_layers[12].group = 4 + arm.rigify_layers[13].name = "Leg.L (IK)" + arm.rigify_layers[13].row = 10 + arm.rigify_layers[13].set = False + arm.rigify_layers[13].group = 2 + arm.rigify_layers[14].name = "Leg.L (FK)" + arm.rigify_layers[14].row = 11 + arm.rigify_layers[14].set = False + arm.rigify_layers[14].group = 5 + arm.rigify_layers[15].name = "Leg.L (Tweak)" + arm.rigify_layers[15].row = 12 + arm.rigify_layers[15].set = False + arm.rigify_layers[15].group = 4 + arm.rigify_layers[16].name = "Leg.R (IK)" + arm.rigify_layers[16].row = 10 + arm.rigify_layers[16].set = False + arm.rigify_layers[16].group = 2 + arm.rigify_layers[17].name = "Leg.R (FK)" + arm.rigify_layers[17].row = 11 + arm.rigify_layers[17].set = False + arm.rigify_layers[17].group = 5 + arm.rigify_layers[18].name = "Leg.R (Tweak)" + arm.rigify_layers[18].row = 12 + arm.rigify_layers[18].set = False + arm.rigify_layers[18].group = 4 + arm.rigify_layers[19].name = "Tail" + arm.rigify_layers[19].row = 13 + arm.rigify_layers[19].set = False + arm.rigify_layers[19].group = 6 + arm.rigify_layers[20].name = " " + arm.rigify_layers[20].row = 1 + arm.rigify_layers[20].set = False + arm.rigify_layers[20].group = 4 + arm.rigify_layers[21].name = "Hair" + arm.rigify_layers[21].row = 14 + arm.rigify_layers[21].set = False + arm.rigify_layers[21].group = 6 + arm.rigify_layers[22].name = " " + arm.rigify_layers[22].row = 1 + arm.rigify_layers[22].set = False + arm.rigify_layers[22].group = 0 + arm.rigify_layers[23].name = " " + arm.rigify_layers[23].row = 1 + arm.rigify_layers[23].set = False + arm.rigify_layers[23].group = 0 + arm.rigify_layers[24].name = " " + arm.rigify_layers[24].row = 1 + arm.rigify_layers[24].set = False + arm.rigify_layers[24].group = 0 + arm.rigify_layers[25].name = " " + arm.rigify_layers[25].row = 1 + arm.rigify_layers[25].set = False + arm.rigify_layers[25].group = 0 + arm.rigify_layers[26].name = " " + arm.rigify_layers[26].row = 1 + arm.rigify_layers[26].set = False + arm.rigify_layers[26].group = 0 + arm.rigify_layers[27].name = " " + arm.rigify_layers[27].row = 1 + arm.rigify_layers[27].set = False + arm.rigify_layers[27].group = 0 + arm.rigify_layers[28].name = "Root" + arm.rigify_layers[28].row = 14 + arm.rigify_layers[28].set = False + arm.rigify_layers[28].group = 1 + + + bones = {} + + bone = arm.edit_bones.new('spine') + bone.head[:] = -0.0000, 1.7610, 1.1153 + bone.tail[:] = -0.0000, 1.5754, 1.1088 + bone.roll = -0.0000 + bone.use_connect = False + bones['spine'] = bone.name + bone = arm.edit_bones.new('spine.001') + bone.head[:] = -0.0000, 1.5754, 1.1088 + bone.tail[:] = -0.0000, 1.3779, 1.1589 + bone.roll = -0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine']] + bones['spine.001'] = bone.name + bone = arm.edit_bones.new('spine.002') + bone.head[:] = -0.0000, 1.3779, 1.1589 + bone.tail[:] = -0.0000, 1.1423, 1.3128 + bone.roll = -0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.001']] + bones['spine.002'] = bone.name + bone = arm.edit_bones.new('spine.003') + bone.head[:] = -0.0000, 1.1423, 1.3128 + bone.tail[:] = -0.0000, 1.0291, 1.4191 + bone.roll = -0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.002']] + bones['spine.003'] = bone.name + bone = arm.edit_bones.new('spine.004') + bone.head[:] = -0.0000, 1.0291, 1.4191 + bone.tail[:] = -0.0000, 0.9228, 1.4526 + bone.roll = -0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.003']] + bones['spine.004'] = bone.name + bone = arm.edit_bones.new('spine.005') + bone.head[:] = -0.0000, 0.9228, 1.4526 + bone.tail[:] = -0.0000, 0.6989, 1.4910 + bone.roll = -0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.004']] + bones['spine.005'] = bone.name + bone = arm.edit_bones.new('spine.006') + bone.head[:] = -0.0000, 0.6989, 1.4910 + bone.tail[:] = -0.0000, 0.3824, 1.3801 + bone.roll = -0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.005']] + bones['spine.006'] = bone.name + bone = arm.edit_bones.new('spine.007') + bone.head[:] = -0.0000, 0.3824, 1.3801 + bone.tail[:] = -0.0000, 0.1316, 1.3086 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.006']] + bones['spine.007'] = bone.name + bone = arm.edit_bones.new('pelvis.L') + bone.head[:] = 0.0503, 0.6868, 1.3205 + bone.tail[:] = 0.1803, 0.4418, 1.5783 + bone.roll = 0.7837 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.006']] + bones['pelvis.L'] = bone.name + bone = arm.edit_bones.new('thigh.L') + bone.head[:] = 0.1922, 0.7048, 1.4330 + bone.tail[:] = 0.1933, 0.5712, 1.0272 + bone.roll = 3.1380 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.006']] + bones['thigh.L'] = bone.name + bone = arm.edit_bones.new('pelvis.R') + bone.head[:] = -0.0503, 0.6868, 1.3205 + bone.tail[:] = -0.1803, 0.4418, 1.5783 + bone.roll = -0.7837 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.006']] + bones['pelvis.R'] = bone.name + bone = arm.edit_bones.new('thigh.R') + bone.head[:] = -0.1922, 0.7048, 1.4330 + bone.tail[:] = -0.1933, 0.5712, 1.0272 + bone.roll = -3.1380 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.006']] + bones['thigh.R'] = bone.name + bone = arm.edit_bones.new('pelvis') + bone.head[:] = 0.0000, 0.6845, 1.3200 + bone.tail[:] = -0.0000, 0.4276, 1.0452 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.006']] + bones['pelvis'] = bone.name + bone = arm.edit_bones.new('spine.008') + bone.head[:] = -0.0000, 0.1316, 1.3086 + bone.tail[:] = -0.0000, -0.1712, 1.2964 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.007']] + bones['spine.008'] = bone.name + bone = arm.edit_bones.new('shin.L') + bone.head[:] = 0.1933, 0.5712, 1.0272 + bone.tail[:] = 0.1933, 0.7355, 0.6045 + bone.roll = -3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['thigh.L']] + bones['shin.L'] = bone.name + bone = arm.edit_bones.new('shin.R') + bone.head[:] = -0.1933, 0.5712, 1.0272 + bone.tail[:] = -0.1933, 0.7355, 0.6045 + bone.roll = 3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['thigh.R']] + bones['shin.R'] = bone.name + bone = arm.edit_bones.new('spine.009') + bone.head[:] = -0.0000, -0.1712, 1.2964 + bone.tail[:] = -0.0000, -0.4908, 1.3031 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.008']] + bones['spine.009'] = bone.name + bone = arm.edit_bones.new('belly') + bone.head[:] = -0.0000, 0.1503, 1.2207 + bone.tail[:] = -0.0000, 0.1802, 0.9332 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.008']] + bones['belly'] = bone.name + bone = arm.edit_bones.new('foot.L') + bone.head[:] = 0.1933, 0.7355, 0.6045 + bone.tail[:] = 0.1933, 0.6771, 0.1732 + bone.roll = -3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['shin.L']] + bones['foot.L'] = bone.name + bone = arm.edit_bones.new('foot.R') + bone.head[:] = -0.1933, 0.7355, 0.6045 + bone.tail[:] = -0.1933, 0.6771, 0.1732 + bone.roll = 3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['shin.R']] + bones['foot.R'] = bone.name + bone = arm.edit_bones.new('spine.010') + bone.head[:] = -0.0000, -0.4908, 1.3031 + bone.tail[:] = -0.0000, -0.7593, 1.3786 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.009']] + bones['spine.010'] = bone.name + bone = arm.edit_bones.new('shoulder.L') + bone.head[:] = 0.0936, -0.5035, 1.5783 + bone.tail[:] = 0.1868, -0.6452, 1.0858 + bone.roll = -0.2398 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.009']] + bones['shoulder.L'] = bone.name + bone = arm.edit_bones.new('breast.L') + bone.head[:] = 0.0905, -0.5541, 1.0931 + bone.tail[:] = 0.0905, -0.8316, 0.9879 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.009']] + bones['breast.L'] = bone.name + bone = arm.edit_bones.new('shoulder.R') + bone.head[:] = -0.0936, -0.5035, 1.5783 + bone.tail[:] = -0.1868, -0.6452, 1.0858 + bone.roll = 0.2398 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.009']] + bones['shoulder.R'] = bone.name + bone = arm.edit_bones.new('breast.R') + bone.head[:] = -0.0905, -0.5541, 1.0931 + bone.tail[:] = -0.0905, -0.8316, 0.9879 + bone.roll = -0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.009']] + bones['breast.R'] = bone.name + bone = arm.edit_bones.new('chest') + bone.head[:] = -0.0000, -0.2180, 1.2173 + bone.tail[:] = -0.0000, -0.2239, 0.8383 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.009']] + bones['chest'] = bone.name + bone = arm.edit_bones.new('r_toe.L') + bone.head[:] = 0.1933, 0.6771, 0.1732 + bone.tail[:] = 0.1933, 0.5818, 0.0198 + bone.roll = 3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['foot.L']] + bones['r_toe.L'] = bone.name + bone = arm.edit_bones.new('r_toe.R') + bone.head[:] = -0.1933, 0.6771, 0.1732 + bone.tail[:] = -0.1933, 0.5818, 0.0198 + bone.roll = -3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['foot.R']] + bones['r_toe.R'] = bone.name + bone = arm.edit_bones.new('spine.011') + bone.head[:] = -0.0000, -0.7593, 1.3786 + bone.tail[:] = -0.0000, -0.9004, 1.5475 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.010']] + bones['spine.011'] = bone.name + bone = arm.edit_bones.new('hair_base.05') + bone.head[:] = -0.0000, -0.6120, 1.6888 + bone.tail[:] = -0.0000, -0.5782, 1.7371 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.010']] + bones['hair_base.05'] = bone.name + bone = arm.edit_bones.new('upper_arm.L') + bone.head[:] = 0.1639, -0.5751, 0.9953 + bone.tail[:] = 0.1639, -0.5538, 0.5130 + bone.roll = -3.1416 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['shoulder.L']] + bones['upper_arm.L'] = bone.name + bone = arm.edit_bones.new('upper_arm.R') + bone.head[:] = -0.1639, -0.5751, 0.9953 + bone.tail[:] = -0.1639, -0.5538, 0.5130 + bone.roll = 3.1416 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['shoulder.R']] + bones['upper_arm.R'] = bone.name + bone = arm.edit_bones.new('spine.012') + bone.head[:] = -0.0000, -0.9004, 1.5475 + bone.tail[:] = 0.0000, -1.0348, 1.7032 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.011']] + bones['spine.012'] = bone.name + bone = arm.edit_bones.new('hair_base.04') + bone.head[:] = 0.0000, -0.7885, 1.7610 + bone.tail[:] = -0.0000, -0.7366, 1.8394 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.011']] + bones['hair_base.04'] = bone.name + bone = arm.edit_bones.new('hair_top.05') + bone.head[:] = -0.0000, -0.5782, 1.7371 + bone.tail[:] = -0.0000, -0.5444, 1.7855 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['hair_base.05']] + bones['hair_top.05'] = bone.name + bone = arm.edit_bones.new('forearm.L') + bone.head[:] = 0.1639, -0.5538, 0.5130 + bone.tail[:] = 0.1639, -0.5133, 0.1885 + bone.roll = -3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['upper_arm.L']] + bones['forearm.L'] = bone.name + bone = arm.edit_bones.new('forearm.R') + bone.head[:] = -0.1639, -0.5538, 0.5130 + bone.tail[:] = -0.1639, -0.5133, 0.1885 + bone.roll = 3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['upper_arm.R']] + bones['forearm.R'] = bone.name + bone = arm.edit_bones.new('spine.014') + bone.head[:] = 0.0000, -1.0348, 1.7032 + bone.tail[:] = 0.0000, -1.1618, 1.7694 + bone.roll = -0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.012']] + bones['spine.014'] = bone.name + bone = arm.edit_bones.new('hair_base.03') + bone.head[:] = 0.0000, -0.9627, 1.8513 + bone.tail[:] = 0.0000, -0.9211, 1.9357 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.012']] + bones['hair_base.03'] = bone.name + bone = arm.edit_bones.new('hair_top.04') + bone.head[:] = -0.0000, -0.7366, 1.8394 + bone.tail[:] = -0.0000, -0.6847, 1.9178 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['hair_base.04']] + bones['hair_top.04'] = bone.name + bone = arm.edit_bones.new('hand.L') + bone.head[:] = 0.1639, -0.5133, 0.1885 + bone.tail[:] = 0.1639, -0.5844, 0.0665 + bone.roll = -3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['forearm.L']] + bones['hand.L'] = bone.name + bone = arm.edit_bones.new('hand.R') + bone.head[:] = -0.1639, -0.5133, 0.1885 + bone.tail[:] = -0.1639, -0.5844, 0.0665 + bone.roll = 3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['forearm.R']] + bones['hand.R'] = bone.name + bone = arm.edit_bones.new('spine.015') + bone.head[:] = 0.0000, -1.1618, 1.7694 + bone.tail[:] = -0.0000, -1.2836, 1.7841 + bone.roll = -0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.014']] + bones['spine.015'] = bone.name + bone = arm.edit_bones.new('hair_base.02') + bone.head[:] = 0.0000, -1.1437, 1.9124 + bone.tail[:] = 0.0000, -1.1217, 2.0038 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.014']] + bones['hair_base.02'] = bone.name + bone = arm.edit_bones.new('hair_top.03') + bone.head[:] = 0.0000, -0.9211, 1.9357 + bone.tail[:] = -0.0000, -0.8795, 2.0200 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['hair_base.03']] + bones['hair_top.03'] = bone.name + bone = arm.edit_bones.new('f_toe.L') + bone.head[:] = 0.1639, -0.5844, 0.0665 + bone.tail[:] = 0.1639, -0.6564, 0.0185 + bone.roll = 3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['hand.L']] + bones['f_toe.L'] = bone.name + bone = arm.edit_bones.new('f_toe.R') + bone.head[:] = -0.1639, -0.5844, 0.0665 + bone.tail[:] = -0.1639, -0.6564, 0.0185 + bone.roll = -3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['hand.R']] + bones['f_toe.R'] = bone.name + bone = arm.edit_bones.new('spine.016') + bone.head[:] = -0.0000, -1.2836, 1.7841 + bone.tail[:] = 0.0000, -1.5974, 1.9308 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.015']] + bones['spine.016'] = bone.name + bone = arm.edit_bones.new('hair_base.01') + bone.head[:] = 0.0000, -1.3074, 1.9345 + bone.tail[:] = 0.0000, -1.3182, 2.0279 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.015']] + bones['hair_base.01'] = bone.name + bone = arm.edit_bones.new('hair_base.06') + bone.head[:] = 0.0000, -1.4117, 1.9184 + bone.tail[:] = 0.0000, -1.4566, 1.9477 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.015']] + bones['hair_base.06'] = bone.name + bone = arm.edit_bones.new('hair_top.02') + bone.head[:] = 0.0000, -1.1217, 2.0038 + bone.tail[:] = 0.0000, -1.0996, 2.0953 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['hair_base.02']] + bones['hair_top.02'] = bone.name + bone = arm.edit_bones.new('spine.013') + bone.head[:] = -0.0000, -1.3014, 1.8284 + bone.tail[:] = 0.0000, -1.6749, 1.3100 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.016']] + bones['spine.013'] = bone.name + bone = arm.edit_bones.new('ear.L') + bone.head[:] = 0.0664, -1.3623, 1.8612 + bone.tail[:] = 0.1056, -1.4118, 1.9537 + bone.roll = 0.6751 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.016']] + bones['ear.L'] = bone.name + bone = arm.edit_bones.new('ear.R') + bone.head[:] = -0.0664, -1.3623, 1.8612 + bone.tail[:] = -0.1056, -1.4118, 1.9537 + bone.roll = -0.6751 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.016']] + bones['ear.R'] = bone.name + bone = arm.edit_bones.new('jaw') + bone.head[:] = 0.0000, -1.3507, 1.5819 + bone.tail[:] = 0.0000, -1.4799, 1.4569 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.016']] + bones['jaw'] = bone.name + bone = arm.edit_bones.new('hair_top.01') + bone.head[:] = 0.0000, -1.3182, 2.0279 + bone.tail[:] = 0.0000, -1.3290, 2.1213 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['hair_base.01']] + bones['hair_top.01'] = bone.name + bone = arm.edit_bones.new('hair_top.06') + bone.head[:] = 0.0000, -1.4566, 1.9477 + bone.tail[:] = -0.0000, -1.5014, 1.9770 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['hair_base.06']] + bones['hair_top.06'] = bone.name + bone = arm.edit_bones.new('skull.L') + bone.head[:] = 0.0000, -1.3014, 1.8284 + bone.tail[:] = 0.1564, -1.4143, 1.5755 + bone.roll = -0.7698 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.013']] + bones['skull.L'] = bone.name + bone = arm.edit_bones.new('skull.R') + bone.head[:] = -0.0000, -1.3014, 1.8284 + bone.tail[:] = -0.1564, -1.4143, 1.5755 + bone.roll = 0.7698 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.013']] + bones['skull.R'] = bone.name + bone = arm.edit_bones.new('ear.L.001') + bone.head[:] = 0.1056, -1.4118, 1.9537 + bone.tail[:] = 0.1448, -1.4613, 2.0462 + bone.roll = 0.6751 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['ear.L']] + bones['ear.L.001'] = bone.name + bone = arm.edit_bones.new('eye.L') + bone.head[:] = 0.0988, -1.4596, 1.7351 + bone.tail[:] = 0.1990, -1.4668, 1.7420 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['ear.L']] + bones['eye.L'] = bone.name + bone = arm.edit_bones.new('nose.L') + bone.head[:] = 0.0450, -1.6240, 1.4228 + bone.tail[:] = 0.1039, -1.6613, 1.4269 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['ear.L']] + bones['nose.L'] = bone.name + bone = arm.edit_bones.new('eye.R') + bone.head[:] = -0.0988, -1.4596, 1.7351 + bone.tail[:] = -0.1990, -1.4668, 1.7420 + bone.roll = -0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['ear.L']] + bones['eye.R'] = bone.name + bone = arm.edit_bones.new('nose.R') + bone.head[:] = -0.0450, -1.6240, 1.4228 + bone.tail[:] = -0.1039, -1.6613, 1.4269 + bone.roll = -0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['ear.L']] + bones['nose.R'] = bone.name + bone = arm.edit_bones.new('ear.R.001') + bone.head[:] = -0.1056, -1.4118, 1.9537 + bone.tail[:] = -0.1448, -1.4613, 2.0462 + bone.roll = -0.6751 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['ear.R']] + bones['ear.R.001'] = bone.name + bone = arm.edit_bones.new('jaw.001') + bone.head[:] = 0.0000, -1.4799, 1.4569 + bone.tail[:] = 0.0000, -1.5599, 1.3210 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['jaw']] + bones['jaw.001'] = bone.name + + bpy.ops.object.mode_set(mode='OBJECT') + pbone = obj.pose.bones[bones['spine']] + pbone.rigify_type = 'spines.super_spine' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, 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] + try: + pbone.rigify_parameters.neck_pos = 12 + except AttributeError: + pass + try: + pbone.rigify_parameters.tweak_layers = [False, 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] + except AttributeError: + pass + try: + pbone.rigify_parameters.use_tail = True + except AttributeError: + pass + try: + pbone.rigify_parameters.pivot_pos = 8 + except AttributeError: + pass + try: + pbone.rigify_parameters.tail_pos = 5 + except AttributeError: + pass + try: + pbone.rigify_parameters.copy_rotation_axes = [True, False, True] + except AttributeError: + pass + pbone = obj.pose.bones[bones['spine.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, 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] + pbone = obj.pose.bones[bones['spine.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, 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] + pbone = obj.pose.bones[bones['spine.003']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, 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] + pbone = obj.pose.bones[bones['spine.004']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, 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] + pbone = obj.pose.bones[bones['spine.005']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, 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] + pbone = obj.pose.bones[bones['spine.006']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['spine.007']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['pelvis.L']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + try: + pbone.rigify_parameters.make_control = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['thigh.L']] + pbone.rigify_type = 'limbs.super_limb' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False] + try: + pbone.rigify_parameters.limb_type = "paw" + 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 + try: + 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.segments = 2 + except AttributeError: + pass + pbone = obj.pose.bones[bones['pelvis.R']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + try: + pbone.rigify_parameters.make_control = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['thigh.R']] + pbone.rigify_type = 'limbs.super_limb' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, 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] + try: + pbone.rigify_parameters.limb_type = "paw" + except AttributeError: + pass + try: + pbone.rigify_parameters.fk_layers = [False, False, 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] + except AttributeError: + pass + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, True, True, False, False, False, False, False, False, False, False, False, False, False, False] + except AttributeError: + pass + try: + pbone.rigify_parameters.segments = 2 + except AttributeError: + pass + pbone = obj.pose.bones[bones['pelvis']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['spine.008']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['shin.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False] + pbone = obj.pose.bones[bones['shin.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, 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] + pbone = obj.pose.bones[bones['spine.009']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['belly']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, 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] + pbone = obj.pose.bones[bones['foot.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False] + pbone = obj.pose.bones[bones['foot.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, 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] + pbone = obj.pose.bones[bones['spine.010']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['shoulder.L']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False, False, False, False] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['breast.L']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, 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] + pbone = obj.pose.bones[bones['shoulder.R']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['breast.R']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, 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] + pbone = obj.pose.bones[bones['chest']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, 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] + pbone = obj.pose.bones[bones['r_toe.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False] + pbone = obj.pose.bones[bones['r_toe.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, 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] + pbone = obj.pose.bones[bones['spine.011']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['hair_base.05']] + pbone.rigify_type = 'limbs.super_finger' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + try: + pbone.rigify_parameters.copy_rotation_axes = [True, False, True] + except AttributeError: + pass + try: + pbone.rigify_parameters.primary_rotation_axis = "Z" + except AttributeError: + pass + pbone = obj.pose.bones[bones['upper_arm.L']] + pbone.rigify_type = 'limbs.super_limb' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False, False, False, False] + try: + pbone.rigify_parameters.limb_type = "paw" + except AttributeError: + pass + try: + pbone.rigify_parameters.fk_layers = [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, False, False, False, False, False, False] + except AttributeError: + pass + try: + pbone.rigify_parameters.tweak_layers = [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, False, False, False, False, False] + except AttributeError: + pass + pbone = obj.pose.bones[bones['upper_arm.R']] + pbone.rigify_type = 'limbs.super_limb' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + try: + pbone.rigify_parameters.limb_type = "paw" + except AttributeError: + pass + try: + pbone.rigify_parameters.fk_layers = [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, False, False, False] + except AttributeError: + pass + try: + pbone.rigify_parameters.tweak_layers = [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, False, False] + except AttributeError: + pass + pbone = obj.pose.bones[bones['spine.012']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['hair_base.04']] + pbone.rigify_type = 'limbs.super_finger' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + try: + pbone.rigify_parameters.copy_rotation_axes = [True, False, True] + except AttributeError: + pass + try: + pbone.rigify_parameters.primary_rotation_axis = "Z" + except AttributeError: + pass + pbone = obj.pose.bones[bones['hair_top.05']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + pbone = obj.pose.bones[bones['forearm.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False, False, False, False] + pbone = obj.pose.bones[bones['forearm.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + pbone = obj.pose.bones[bones['spine.014']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['hair_base.03']] + pbone.rigify_type = 'limbs.super_finger' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + try: + pbone.rigify_parameters.copy_rotation_axes = [True, False, True] + except AttributeError: + pass + try: + pbone.rigify_parameters.primary_rotation_axis = "Z" + except AttributeError: + pass + pbone = obj.pose.bones[bones['hair_top.04']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + pbone = obj.pose.bones[bones['hand.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False, False, False, False] + pbone = obj.pose.bones[bones['hand.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + pbone = obj.pose.bones[bones['spine.015']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['hair_base.02']] + pbone.rigify_type = 'limbs.super_finger' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + try: + pbone.rigify_parameters.copy_rotation_axes = [True, False, True] + except AttributeError: + pass + try: + pbone.rigify_parameters.primary_rotation_axis = "Z" + except AttributeError: + pass + pbone = obj.pose.bones[bones['hair_top.03']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + pbone = obj.pose.bones[bones['f_toe.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False, False, False, False] + pbone = obj.pose.bones[bones['f_toe.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + pbone = obj.pose.bones[bones['spine.016']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['hair_base.01']] + pbone.rigify_type = 'limbs.super_finger' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + try: + pbone.rigify_parameters.copy_rotation_axes = [True, False, True] + except AttributeError: + pass + try: + pbone.rigify_parameters.primary_rotation_axis = "Z" + except AttributeError: + pass + pbone = obj.pose.bones[bones['hair_base.06']] + pbone.rigify_type = 'limbs.super_finger' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + try: + pbone.rigify_parameters.copy_rotation_axes = [True, False, True] + except AttributeError: + pass + try: + pbone.rigify_parameters.primary_rotation_axis = "Z" + except AttributeError: + pass + pbone = obj.pose.bones[bones['hair_top.02']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + pbone = obj.pose.bones[bones['spine.013']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + try: + pbone.rigify_parameters.make_control = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['ear.L']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + try: + pbone.rigify_parameters.copy_rotation_axes = [True, False, True] + except AttributeError: + pass + pbone = obj.pose.bones[bones['ear.R']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + try: + pbone.rigify_parameters.copy_rotation_axes = [True, False, True] + except AttributeError: + pass + pbone = obj.pose.bones[bones['jaw']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + try: + pbone.rigify_parameters.make_control = False + except AttributeError: + pass + try: + pbone.rigify_parameters.copy_rotation_axes = [False, False, False] + except AttributeError: + pass + pbone = obj.pose.bones[bones['hair_top.01']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + pbone = obj.pose.bones[bones['hair_top.06']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, False, False, 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] + pbone = obj.pose.bones[bones['skull.L']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + try: + pbone.rigify_parameters.make_control = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['skull.R']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + try: + pbone.rigify_parameters.make_control = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['ear.L.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['eye.L']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['nose.L']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['eye.R']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['nose.R']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['ear.R.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['jaw.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + + bpy.ops.object.mode_set(mode='EDIT') + for bone in arm.edit_bones: + bone.select = False + bone.select_head = False + bone.select_tail = False + for b in bones: + bone = arm.edit_bones[bones[b]] + bone.select = True + bone.select_head = True + bone.select_tail = True + arm.edit_bones.active = bone + + arm.layers = [(x in [0, 3, 4, 7, 10, 13, 16, 19, 21]) for x in range(32)] + +if __name__ == "__main__": + create(bpy.context.active_object)
\ No newline at end of file diff --git a/rigify/metarigs/Animals/shark.py b/rigify/metarigs/Animals/shark.py new file mode 100644 index 00000000..dc3fb8bf --- /dev/null +++ b/rigify/metarigs/Animals/shark.py @@ -0,0 +1,794 @@ +import bpy + + +from mathutils import Color + + +def create(obj): + # generated by rigify.utils.write_metarig + bpy.ops.object.mode_set(mode='EDIT') + arm = obj.data + + for i in range(6): + arm.rigify_colors.add() + + arm.rigify_colors[0].name = "Root" + arm.rigify_colors[0].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[0].normal = Color((0.4352940022945404, 0.18431399762630463, 0.4156860113143921)) + arm.rigify_colors[0].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[0].standard_colors_lock = True + arm.rigify_colors[1].name = "IK" + arm.rigify_colors[1].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[1].normal = Color((0.6039220094680786, 0.0, 0.0)) + arm.rigify_colors[1].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[1].standard_colors_lock = True + arm.rigify_colors[2].name = "Specials" + arm.rigify_colors[2].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[2].normal = Color((0.9568629860877991, 0.7882350087165833, 0.04705899953842163)) + arm.rigify_colors[2].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[2].standard_colors_lock = True + arm.rigify_colors[3].name = "Tweak" + arm.rigify_colors[3].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[3].normal = Color((0.03921600058674812, 0.21176500618457794, 0.5803920030593872)) + arm.rigify_colors[3].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[3].standard_colors_lock = True + arm.rigify_colors[4].name = "FK" + arm.rigify_colors[4].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[4].normal = Color((0.11764699965715408, 0.5686269998550415, 0.035294000059366226)) + arm.rigify_colors[4].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[4].standard_colors_lock = True + arm.rigify_colors[5].name = "Extra" + arm.rigify_colors[5].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[5].normal = Color((0.9686279892921448, 0.2509799897670746, 0.09411799907684326)) + arm.rigify_colors[5].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[5].standard_colors_lock = True + + for i in range(29): + arm.rigify_layers.add() + + arm.rigify_layers[0].name = "Face" + arm.rigify_layers[0].row = 1 + arm.rigify_layers[0].set = False + arm.rigify_layers[0].group = 5 + arm.rigify_layers[1].name = "Face (Tweak)" + arm.rigify_layers[1].row = 2 + arm.rigify_layers[1].set = False + arm.rigify_layers[1].group = 4 + arm.rigify_layers[2].name = " " + arm.rigify_layers[2].row = 1 + arm.rigify_layers[2].set = False + arm.rigify_layers[2].group = 0 + arm.rigify_layers[3].name = "Spine" + arm.rigify_layers[3].row = 3 + arm.rigify_layers[3].set = False + arm.rigify_layers[3].group = 3 + arm.rigify_layers[4].name = "Spine (Tweak)" + arm.rigify_layers[4].row = 4 + arm.rigify_layers[4].set = False + arm.rigify_layers[4].group = 4 + arm.rigify_layers[5].name = "Tail" + arm.rigify_layers[5].row = 5 + arm.rigify_layers[5].set = False + arm.rigify_layers[5].group = 6 + arm.rigify_layers[6].name = "Fins.L" + arm.rigify_layers[6].row = 6 + arm.rigify_layers[6].set = False + arm.rigify_layers[6].group = 5 + arm.rigify_layers[7].name = "Fins.L (Tweak)" + arm.rigify_layers[7].row = 7 + arm.rigify_layers[7].set = False + arm.rigify_layers[7].group = 4 + arm.rigify_layers[8].name = "Fins.R" + arm.rigify_layers[8].row = 6 + arm.rigify_layers[8].set = False + arm.rigify_layers[8].group = 5 + arm.rigify_layers[9].name = "Fins.R (Tweak)" + arm.rigify_layers[9].row = 7 + arm.rigify_layers[9].set = False + arm.rigify_layers[9].group = 4 + arm.rigify_layers[10].name = "Fins" + arm.rigify_layers[10].row = 8 + arm.rigify_layers[10].set = False + arm.rigify_layers[10].group = 3 + arm.rigify_layers[11].name = "Fins (Tweak)" + arm.rigify_layers[11].row = 9 + arm.rigify_layers[11].set = False + arm.rigify_layers[11].group = 4 + arm.rigify_layers[12].name = " " + arm.rigify_layers[12].row = 1 + arm.rigify_layers[12].set = False + arm.rigify_layers[12].group = 0 + arm.rigify_layers[13].name = " " + arm.rigify_layers[13].row = 1 + arm.rigify_layers[13].set = False + arm.rigify_layers[13].group = 6 + arm.rigify_layers[14].name = " " + arm.rigify_layers[14].row = 1 + arm.rigify_layers[14].set = False + arm.rigify_layers[14].group = 0 + arm.rigify_layers[15].name = " " + arm.rigify_layers[15].row = 1 + arm.rigify_layers[15].set = False + arm.rigify_layers[15].group = 0 + arm.rigify_layers[16].name = " " + arm.rigify_layers[16].row = 1 + arm.rigify_layers[16].set = False + arm.rigify_layers[16].group = 0 + arm.rigify_layers[17].name = " " + arm.rigify_layers[17].row = 1 + arm.rigify_layers[17].set = False + arm.rigify_layers[17].group = 0 + arm.rigify_layers[18].name = " " + arm.rigify_layers[18].row = 1 + arm.rigify_layers[18].set = False + arm.rigify_layers[18].group = 0 + arm.rigify_layers[19].name = " " + arm.rigify_layers[19].row = 1 + arm.rigify_layers[19].set = False + arm.rigify_layers[19].group = 0 + arm.rigify_layers[20].name = " " + arm.rigify_layers[20].row = 1 + arm.rigify_layers[20].set = False + arm.rigify_layers[20].group = 0 + arm.rigify_layers[21].name = " " + arm.rigify_layers[21].row = 1 + arm.rigify_layers[21].set = False + arm.rigify_layers[21].group = 0 + arm.rigify_layers[22].name = " " + arm.rigify_layers[22].row = 1 + arm.rigify_layers[22].set = False + arm.rigify_layers[22].group = 0 + arm.rigify_layers[23].name = " " + arm.rigify_layers[23].row = 1 + arm.rigify_layers[23].set = False + arm.rigify_layers[23].group = 0 + arm.rigify_layers[24].name = " " + arm.rigify_layers[24].row = 1 + arm.rigify_layers[24].set = False + arm.rigify_layers[24].group = 0 + arm.rigify_layers[25].name = " " + arm.rigify_layers[25].row = 1 + arm.rigify_layers[25].set = False + arm.rigify_layers[25].group = 0 + arm.rigify_layers[26].name = " " + arm.rigify_layers[26].row = 1 + arm.rigify_layers[26].set = False + arm.rigify_layers[26].group = 0 + arm.rigify_layers[27].name = " " + arm.rigify_layers[27].row = 1 + arm.rigify_layers[27].set = False + arm.rigify_layers[27].group = 0 + arm.rigify_layers[28].name = "Root" + arm.rigify_layers[28].row = 14 + arm.rigify_layers[28].set = False + arm.rigify_layers[28].group = 1 + + bones = {} + + bone = arm.edit_bones.new('spine') + bone.head[:] = -0.0000, 1.3362, 0.4776 + bone.tail[:] = -0.0000, 1.0816, 0.4540 + bone.roll = 0.0000 + bone.use_connect = False + bones['spine'] = bone.name + bone = arm.edit_bones.new('spine.001') + bone.head[:] = -0.0000, 1.0816, 0.4540 + bone.tail[:] = -0.0000, 0.7152, 0.4305 + bone.roll = -0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine']] + bones['spine.001'] = bone.name + bone = arm.edit_bones.new('back_fin.T.Bk') + bone.head[:] = 0.0000, 1.2501, 0.5345 + bone.tail[:] = 0.0000, 1.5211, 0.7594 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine']] + bones['back_fin.T.Bk'] = bone.name + bone = arm.edit_bones.new('back_fin.B.Bk') + bone.head[:] = 0.0000, 1.2305, 0.4158 + bone.tail[:] = 0.0000, 1.3289, 0.2452 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine']] + bones['back_fin.B.Bk'] = bone.name + bone = arm.edit_bones.new('spine.002') + bone.head[:] = -0.0000, 0.7152, 0.4305 + bone.tail[:] = -0.0000, 0.3182, 0.4031 + bone.roll = -0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.001']] + bones['spine.002'] = bone.name + bone = arm.edit_bones.new('mid_fin.Top') + bone.head[:] = 0.0000, 0.7296, 0.5396 + bone.tail[:] = 0.0000, 0.7709, 0.6351 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.001']] + bones['mid_fin.Top'] = bone.name + bone = arm.edit_bones.new('mid_fin.Bot') + bone.head[:] = 0.0000, 0.7296, 0.3505 + bone.tail[:] = 0.0000, 0.8233, 0.2684 + bone.roll = 1.5708 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.001']] + bones['mid_fin.Bot'] = bone.name + bone = arm.edit_bones.new('back_fin.T.001.Bk') + bone.head[:] = 0.0000, 1.5211, 0.7594 + bone.tail[:] = 0.0000, 1.7667, 0.9633 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['back_fin.T.Bk']] + bones['back_fin.T.001.Bk'] = bone.name + bone = arm.edit_bones.new('back_fin.B.001.Bk') + bone.head[:] = 0.0000, 1.3289, 0.2452 + bone.tail[:] = 0.0000, 1.3818, 0.1513 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['back_fin.B.Bk']] + bones['back_fin.B.001.Bk'] = bone.name + bone = arm.edit_bones.new('spine.003') + bone.head[:] = -0.0000, 0.3182, 0.4031 + bone.tail[:] = -0.0000, 0.0152, 0.3904 + bone.roll = 0.0001 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.002']] + bones['spine.003'] = bone.name + bone = arm.edit_bones.new('back_fin.T.002.Bk') + bone.head[:] = 0.0000, 1.7667, 0.9633 + bone.tail[:] = 0.0000, 1.9489, 1.1145 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['back_fin.T.001.Bk']] + bones['back_fin.T.002.Bk'] = bone.name + bone = arm.edit_bones.new('spine.008') + bone.head[:] = -0.0000, 0.0152, 0.3904 + bone.tail[:] = 0.0000, -0.3259, 0.3967 + bone.roll = 0.0001 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.003']] + bones['spine.008'] = bone.name + bone = arm.edit_bones.new('spine.004') + bone.head[:] = 0.0000, -0.3259, 0.3967 + bone.tail[:] = 0.0000, -0.5947, 0.4044 + bone.roll = -0.0001 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.008']] + bones['spine.004'] = bone.name + bone = arm.edit_bones.new('chest_fin.Bot.L') + bone.head[:] = 0.0889, 0.2605, 0.2866 + bone.tail[:] = 0.1731, 0.3299, 0.1901 + bone.roll = -2.3171 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.008']] + bones['chest_fin.Bot.L'] = bone.name + bone = arm.edit_bones.new('chest_fin.Bot.R') + bone.head[:] = -0.0889, 0.2605, 0.2866 + bone.tail[:] = -0.1731, 0.3299, 0.1901 + bone.roll = 2.3171 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.008']] + bones['chest_fin.Bot.R'] = bone.name + bone = arm.edit_bones.new('spine.005') + bone.head[:] = 0.0000, -0.5947, 0.4044 + bone.tail[:] = 0.0000, -1.2084, 0.4328 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.004']] + bones['spine.005'] = bone.name + bone = arm.edit_bones.new('top_fin') + bone.head[:] = 0.0000, -0.2777, 0.5550 + bone.tail[:] = 0.0000, -0.1962, 0.7053 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.004']] + bones['top_fin'] = bone.name + bone = arm.edit_bones.new('spine.006') + bone.head[:] = 0.0000, -1.2084, 0.4328 + bone.tail[:] = 0.0000, -1.5634, 0.4275 + bone.roll = -0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.005']] + bones['spine.006'] = bone.name + bone = arm.edit_bones.new('shoulder.L') + bone.head[:] = 0.0729, -0.9648, 0.3756 + bone.tail[:] = 0.2649, -0.9648, 0.3157 + bone.roll = 3.4558 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.005']] + bones['shoulder.L'] = bone.name + bone = arm.edit_bones.new('shoulder.R') + bone.head[:] = -0.0729, -0.9648, 0.3756 + bone.tail[:] = -0.2649, -0.9648, 0.3157 + bone.roll = -3.4558 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.005']] + bones['shoulder.R'] = bone.name + bone = arm.edit_bones.new('top_fin.001') + bone.head[:] = 0.0000, -0.1962, 0.7053 + bone.tail[:] = 0.0000, -0.1362, 0.8158 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['top_fin']] + bones['top_fin.001'] = bone.name + bone = arm.edit_bones.new('spine.007') + bone.head[:] = 0.0000, -1.5634, 0.4275 + bone.tail[:] = 0.0000, -2.0661, 0.4364 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.006']] + bones['spine.007'] = bone.name + bone = arm.edit_bones.new('side_fin.L') + bone.head[:] = 0.2140, -0.9624, 0.2213 + bone.tail[:] = 0.5220, -0.9078, -0.1343 + bone.roll = -2.3170 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['shoulder.L']] + bones['side_fin.L'] = bone.name + bone = arm.edit_bones.new('side_fin.R') + bone.head[:] = -0.2140, -0.9624, 0.2213 + bone.tail[:] = -0.5220, -0.9078, -0.1343 + bone.roll = 2.3170 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['shoulder.R']] + bones['side_fin.R'] = bone.name + bone = arm.edit_bones.new('eye.L') + bone.head[:] = 0.1405, -1.6860, 0.4161 + bone.tail[:] = 0.3684, -1.6810, 0.4156 + bone.roll = 3.1352 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.007']] + bones['eye.L'] = bone.name + bone = arm.edit_bones.new('eye.R') + bone.head[:] = -0.1405, -1.6860, 0.4161 + bone.tail[:] = -0.3684, -1.6810, 0.4156 + bone.roll = -3.1352 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.007']] + bones['eye.R'] = bone.name + bone = arm.edit_bones.new('jaw.master') + bone.head[:] = -0.0000, -1.5791, 0.2788 + bone.tail[:] = 0.0000, -1.9421, 0.3386 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.007']] + bones['jaw.master'] = bone.name + bone = arm.edit_bones.new('side_fin.L.001') + bone.head[:] = 0.5220, -0.9078, -0.1343 + bone.tail[:] = 0.7928, -0.7598, -0.4802 + bone.roll = -2.2826 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['side_fin.L']] + bones['side_fin.L.001'] = bone.name + bone = arm.edit_bones.new('side_fin.R.001') + bone.head[:] = -0.5220, -0.9078, -0.1343 + bone.tail[:] = -0.7928, -0.7598, -0.4802 + bone.roll = 2.2826 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['side_fin.R']] + bones['side_fin.R.001'] = bone.name + bone = arm.edit_bones.new('jaw') + bone.head[:] = -0.0000, -1.5791, 0.2788 + bone.tail[:] = 0.0000, -1.7326, 0.3041 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['jaw.master']] + bones['jaw'] = bone.name + bone = arm.edit_bones.new('jaw.002.L') + bone.head[:] = 0.0891, -1.5791, 0.2894 + bone.tail[:] = 0.1110, -1.7198, 0.3129 + bone.roll = 1.4894 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['jaw.master']] + bones['jaw.002.L'] = bone.name + bone = arm.edit_bones.new('jaw.002.R') + bone.head[:] = -0.0891, -1.5791, 0.2894 + bone.tail[:] = -0.1110, -1.7198, 0.3129 + bone.roll = -1.4894 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['jaw.master']] + bones['jaw.002.R'] = bone.name + bone = arm.edit_bones.new('jaw.001') + bone.head[:] = 0.0000, -1.7326, 0.3041 + bone.tail[:] = 0.0000, -1.8860, 0.3294 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['jaw']] + bones['jaw.001'] = bone.name + bone = arm.edit_bones.new('jaw.003.L') + bone.head[:] = 0.1110, -1.7198, 0.3129 + bone.tail[:] = 0.1260, -1.8159, 0.3326 + bone.roll = 1.2807 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['jaw.002.L']] + bones['jaw.003.L'] = bone.name + bone = arm.edit_bones.new('jaw.003.R') + bone.head[:] = -0.1110, -1.7198, 0.3129 + bone.tail[:] = -0.1260, -1.8159, 0.3326 + bone.roll = -1.2807 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['jaw.002.R']] + bones['jaw.003.R'] = bone.name + + bpy.ops.object.mode_set(mode='OBJECT') + pbone = obj.pose.bones[bones['spine']] + pbone.rigify_type = 'spines.super_spine' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.neck_pos = 8 + except AttributeError: + pass + try: + pbone.rigify_parameters.tweak_layers = [False, 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] + except AttributeError: + pass + try: + pbone.rigify_parameters.tail_pos = 3 + except AttributeError: + pass + try: + pbone.rigify_parameters.pivot_pos = 5 + except AttributeError: + pass + try: + pbone.rigify_parameters.use_tail = True + except AttributeError: + pass + try: + pbone.rigify_parameters.copy_rotation_axes = [True, False, True] + except AttributeError: + pass + pbone = obj.pose.bones[bones['spine.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['back_fin.T.Bk']] + pbone.rigify_type = 'limbs.super_finger' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + try: + pbone.rigify_parameters.tweak_layers = [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, False, False, False, False, False, False, False] + except AttributeError: + pass + try: + pbone.rigify_parameters.primary_rotation_axis = "Z" + except AttributeError: + pass + pbone = obj.pose.bones[bones['back_fin.B.Bk']] + pbone.rigify_type = 'limbs.super_finger' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + try: + pbone.rigify_parameters.tweak_layers = [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, False, False, False, False, False, False, False] + except AttributeError: + pass + try: + pbone.rigify_parameters.primary_rotation_axis = "Z" + except AttributeError: + pass + pbone = obj.pose.bones[bones['spine.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['mid_fin.Top']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + pbone = obj.pose.bones[bones['mid_fin.Bot']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, 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] + pbone = obj.pose.bones[bones['back_fin.T.001.Bk']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + pbone = obj.pose.bones[bones['back_fin.B.001.Bk']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + pbone = obj.pose.bones[bones['spine.003']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['back_fin.T.002.Bk']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + pbone = obj.pose.bones[bones['spine.008']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['spine.004']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['chest_fin.Bot.L']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + try: + pbone.rigify_parameters.tweak_layers = [False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['chest_fin.Bot.R']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + try: + pbone.rigify_parameters.tweak_layers = [False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['spine.005']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['top_fin']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + try: + pbone.rigify_parameters.tweak_layers = [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, False, False, False] + except AttributeError: + pass + pbone = obj.pose.bones[bones['spine.006']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['shoulder.L']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['shoulder.R']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['top_fin.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + pbone = obj.pose.bones[bones['spine.007']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['side_fin.L']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [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, False, False, False, False, False, False, False] + except AttributeError: + pass + try: + pbone.rigify_parameters.copy_rotation_axes = [True, False, False] + except AttributeError: + pass + pbone = obj.pose.bones[bones['side_fin.R']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False, False, False] + try: + pbone.rigify_parameters.tweak_layers = [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, False, False, False, False, False] + except AttributeError: + pass + try: + pbone.rigify_parameters.copy_rotation_axes = [True, False, False] + except AttributeError: + pass + pbone = obj.pose.bones[bones['eye.L']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['eye.R']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['jaw.master']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + try: + pbone.rigify_parameters.make_deform = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['side_fin.L.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, 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] + pbone = obj.pose.bones[bones['side_fin.R.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False, False, False] + pbone = obj.pose.bones[bones['jaw']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['jaw.002.L']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['jaw.002.R']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['jaw.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['jaw.003.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['jaw.003.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + + bpy.ops.object.mode_set(mode='EDIT') + for bone in arm.edit_bones: + bone.select = False + bone.select_head = False + bone.select_tail = False + for b in bones: + bone = arm.edit_bones[bones[b]] + bone.select = True + bone.select_head = True + bone.select_tail = True + arm.edit_bones.active = bone + + arm.layers = [(x in [0, 3, 5, 6, 8, 10]) for x in range(32)] + +if __name__ == "__main__": + create(bpy.context.active_object)
\ No newline at end of file diff --git a/rigify/metarigs/Animals/wolf.py b/rigify/metarigs/Animals/wolf.py new file mode 100644 index 00000000..26c02d77 --- /dev/null +++ b/rigify/metarigs/Animals/wolf.py @@ -0,0 +1,3227 @@ +import bpy + + +from mathutils import Color + + +def create(obj): + # generated by rigify.utils.write_metarig + bpy.ops.object.mode_set(mode='EDIT') + arm = obj.data + + for i in range(6): + arm.rigify_colors.add() + + arm.rigify_colors[0].name = "Root" + arm.rigify_colors[0].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[0].normal = Color((0.4352940022945404, 0.18431399762630463, 0.4156860113143921)) + arm.rigify_colors[0].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[0].standard_colors_lock = True + arm.rigify_colors[1].name = "IK" + arm.rigify_colors[1].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[1].normal = Color((0.6039220094680786, 0.0, 0.0)) + arm.rigify_colors[1].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[1].standard_colors_lock = True + arm.rigify_colors[2].name = "Special" + arm.rigify_colors[2].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[2].normal = Color((0.9568629860877991, 0.7882350087165833, 0.04705899953842163)) + arm.rigify_colors[2].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[2].standard_colors_lock = True + arm.rigify_colors[3].name = "Tweak" + arm.rigify_colors[3].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[3].normal = Color((0.03921600058674812, 0.21176500618457794, 0.5803920030593872)) + arm.rigify_colors[3].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[3].standard_colors_lock = True + arm.rigify_colors[4].name = "FK" + arm.rigify_colors[4].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[4].normal = Color((0.11764699965715408, 0.5686269998550415, 0.035294000059366226)) + arm.rigify_colors[4].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[4].standard_colors_lock = True + arm.rigify_colors[5].name = "Extra" + arm.rigify_colors[5].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[5].normal = Color((0.9686279892921448, 0.2509799897670746, 0.09411799907684326)) + arm.rigify_colors[5].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[5].standard_colors_lock = True + + for i in range(29): + arm.rigify_layers.add() + + arm.rigify_layers[0].name = "Face" + arm.rigify_layers[0].row = 1 + arm.rigify_layers[0].set = False + arm.rigify_layers[0].group = 5 + arm.rigify_layers[1].name = "Face (Primary)" + arm.rigify_layers[1].row = 2 + arm.rigify_layers[1].set = False + arm.rigify_layers[1].group = 2 + arm.rigify_layers[2].name = "Face (Secondary)" + arm.rigify_layers[2].row = 2 + arm.rigify_layers[2].set = False + arm.rigify_layers[2].group = 3 + arm.rigify_layers[3].name = "Spine" + arm.rigify_layers[3].row = 3 + arm.rigify_layers[3].set = False + arm.rigify_layers[3].group = 3 + arm.rigify_layers[4].name = "Spine (Tweak)" + arm.rigify_layers[4].row = 4 + arm.rigify_layers[4].set = False + arm.rigify_layers[4].group = 4 + arm.rigify_layers[5].name = "Paws" + arm.rigify_layers[5].row = 5 + arm.rigify_layers[5].set = False + arm.rigify_layers[5].group = 6 + arm.rigify_layers[6].name = "Paws (Tweak)" + arm.rigify_layers[6].row = 6 + arm.rigify_layers[6].set = False + arm.rigify_layers[6].group = 4 + arm.rigify_layers[7].name = "Arm.L (IK)" + arm.rigify_layers[7].row = 7 + arm.rigify_layers[7].set = False + arm.rigify_layers[7].group = 2 + arm.rigify_layers[8].name = "Arm.L (FK)" + arm.rigify_layers[8].row = 8 + arm.rigify_layers[8].set = False + arm.rigify_layers[8].group = 5 + arm.rigify_layers[9].name = "Arm.L (Tweak)" + arm.rigify_layers[9].row = 9 + arm.rigify_layers[9].set = False + arm.rigify_layers[9].group = 4 + arm.rigify_layers[10].name = "Arm.R (IK)" + arm.rigify_layers[10].row = 7 + arm.rigify_layers[10].set = False + arm.rigify_layers[10].group = 2 + arm.rigify_layers[11].name = "Arm.R (FK)" + arm.rigify_layers[11].row = 8 + arm.rigify_layers[11].set = False + arm.rigify_layers[11].group = 5 + arm.rigify_layers[12].name = "Arm.R (Tweak)" + arm.rigify_layers[12].row = 9 + arm.rigify_layers[12].set = False + arm.rigify_layers[12].group = 4 + arm.rigify_layers[13].name = "Leg.L (IK)" + arm.rigify_layers[13].row = 10 + arm.rigify_layers[13].set = False + arm.rigify_layers[13].group = 2 + arm.rigify_layers[14].name = "Leg.L (FK)" + arm.rigify_layers[14].row = 11 + arm.rigify_layers[14].set = False + arm.rigify_layers[14].group = 5 + arm.rigify_layers[15].name = "Leg.L (Tweak)" + arm.rigify_layers[15].row = 12 + arm.rigify_layers[15].set = False + arm.rigify_layers[15].group = 4 + arm.rigify_layers[16].name = "Leg.R (IK)" + arm.rigify_layers[16].row = 10 + arm.rigify_layers[16].set = False + arm.rigify_layers[16].group = 2 + arm.rigify_layers[17].name = "Leg.R (FK)" + arm.rigify_layers[17].row = 11 + arm.rigify_layers[17].set = False + arm.rigify_layers[17].group = 5 + arm.rigify_layers[18].name = "Leg.R (Tweak)" + arm.rigify_layers[18].row = 12 + arm.rigify_layers[18].set = False + arm.rigify_layers[18].group = 4 + arm.rigify_layers[19].name = "Tail" + arm.rigify_layers[19].row = 13 + arm.rigify_layers[19].set = False + arm.rigify_layers[19].group = 6 + arm.rigify_layers[20].name = "" + arm.rigify_layers[20].row = 1 + arm.rigify_layers[20].set = False + arm.rigify_layers[20].group = 0 + arm.rigify_layers[21].name = "" + arm.rigify_layers[21].row = 13 + arm.rigify_layers[21].set = False + arm.rigify_layers[21].group = 0 + arm.rigify_layers[22].name = "" + arm.rigify_layers[22].row = 13 + arm.rigify_layers[22].set = False + arm.rigify_layers[22].group = 0 + arm.rigify_layers[23].name = "" + arm.rigify_layers[23].row = 1 + arm.rigify_layers[23].set = False + arm.rigify_layers[23].group = 0 + arm.rigify_layers[24].name = "" + arm.rigify_layers[24].row = 1 + arm.rigify_layers[24].set = False + arm.rigify_layers[24].group = 0 + arm.rigify_layers[25].name = "" + arm.rigify_layers[25].row = 1 + arm.rigify_layers[25].set = False + arm.rigify_layers[25].group = 0 + arm.rigify_layers[26].name = "" + arm.rigify_layers[26].row = 1 + arm.rigify_layers[26].set = False + arm.rigify_layers[26].group = 0 + arm.rigify_layers[27].name = "" + arm.rigify_layers[27].row = 1 + arm.rigify_layers[27].set = False + arm.rigify_layers[27].group = 0 + arm.rigify_layers[28].name = "Root" + arm.rigify_layers[28].row = 14 + arm.rigify_layers[28].set = False + arm.rigify_layers[28].group = 1 + + bones = {} + + bone = arm.edit_bones.new('spine') + bone.head[:] = 0.0000, 1.1044, 0.7633 + bone.tail[:] = 0.0000, 0.9624, 0.7412 + bone.roll = 0.0000 + bone.use_connect = False + bones['spine'] = bone.name + bone = arm.edit_bones.new('spine.001') + bone.head[:] = 0.0000, 0.9624, 0.7412 + bone.tail[:] = 0.0000, 0.7755, 0.7418 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine']] + bones['spine.001'] = bone.name + bone = arm.edit_bones.new('spine.002') + bone.head[:] = 0.0000, 0.7755, 0.7418 + bone.tail[:] = 0.0000, 0.5547, 0.7568 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.001']] + bones['spine.002'] = bone.name + bone = arm.edit_bones.new('spine.003') + bone.head[:] = 0.0000, 0.5547, 0.7568 + bone.tail[:] = 0.0000, 0.4418, 0.7954 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.002']] + bones['spine.003'] = bone.name + bone = arm.edit_bones.new('spine.004') + bone.head[:] = 0.0000, 0.4418, 0.7954 + bone.tail[:] = 0.0000, 0.3546, 0.8059 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.003']] + bones['spine.004'] = bone.name + bone = arm.edit_bones.new('spine.005') + bone.head[:] = 0.0000, 0.3546, 0.8059 + bone.tail[:] = 0.0000, 0.1803, 0.7782 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.004']] + bones['spine.005'] = bone.name + bone = arm.edit_bones.new('spine.006') + bone.head[:] = 0.0000, 0.1803, 0.7782 + bone.tail[:] = 0.0000, 0.0319, 0.7731 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.005']] + bones['spine.006'] = bone.name + bone = arm.edit_bones.new('pelvis.L') + bone.head[:] = 0.0000, 0.3757, 0.6043 + bone.tail[:] = 0.0751, 0.2755, 0.8544 + bone.roll = -1.5841 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.005']] + bones['pelvis.L'] = bone.name + bone = arm.edit_bones.new('pelvis.R') + bone.head[:] = -0.0000, 0.3757, 0.6043 + bone.tail[:] = -0.0751, 0.2755, 0.8544 + bone.roll = 1.5841 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.005']] + bones['pelvis.R'] = bone.name + bone = arm.edit_bones.new('thigh.L') + bone.head[:] = 0.1249, 0.3419, 0.7379 + bone.tail[:] = 0.1249, 0.2712, 0.4731 + bone.roll = -0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.005']] + bones['thigh.L'] = bone.name + bone = arm.edit_bones.new('thigh.R') + bone.head[:] = -0.1249, 0.3419, 0.7379 + bone.tail[:] = -0.1249, 0.2712, 0.4731 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.005']] + bones['thigh.R'] = bone.name + bone = arm.edit_bones.new('spine.007') + bone.head[:] = 0.0000, 0.0319, 0.7731 + bone.tail[:] = 0.0000, -0.0980, 0.7945 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.006']] + bones['spine.007'] = bone.name + bone = arm.edit_bones.new('shin.L') + bone.head[:] = 0.1249, 0.2712, 0.4731 + bone.tail[:] = 0.1114, 0.4766, 0.2473 + bone.roll = 0.0195 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['thigh.L']] + bones['shin.L'] = bone.name + bone = arm.edit_bones.new('shin.R') + bone.head[:] = -0.1249, 0.2712, 0.4731 + bone.tail[:] = -0.1114, 0.4766, 0.2473 + bone.roll = -0.0195 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['thigh.R']] + bones['shin.R'] = bone.name + bone = arm.edit_bones.new('spine.008') + bone.head[:] = 0.0000, -0.0980, 0.7945 + bone.tail[:] = 0.0000, -0.3618, 0.8375 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.007']] + bones['spine.008'] = bone.name + bone = arm.edit_bones.new('foot.L') + bone.head[:] = 0.1114, 0.4766, 0.2473 + bone.tail[:] = 0.1088, 0.4138, 0.0411 + bone.roll = 0.0165 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['shin.L']] + bones['foot.L'] = bone.name + bone = arm.edit_bones.new('foot.R') + bone.head[:] = -0.1114, 0.4766, 0.2473 + bone.tail[:] = -0.1088, 0.4138, 0.0411 + bone.roll = -0.0165 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['shin.R']] + bones['foot.R'] = bone.name + bone = arm.edit_bones.new('spine.009') + bone.head[:] = 0.0000, -0.3618, 0.8375 + bone.tail[:] = 0.0000, -0.4253, 0.8585 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.008']] + bones['spine.009'] = bone.name + bone = arm.edit_bones.new('shoulder.L') + bone.head[:] = 0.0596, -0.2578, 0.8876 + bone.tail[:] = 0.1249, -0.3418, 0.7153 + bone.roll = -0.3526 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.008']] + bones['shoulder.L'] = bone.name + bone = arm.edit_bones.new('shoulder.R') + bone.head[:] = -0.0596, -0.2578, 0.8876 + bone.tail[:] = -0.1249, -0.3418, 0.7153 + bone.roll = 0.3526 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.008']] + bones['shoulder.R'] = bone.name + bone = arm.edit_bones.new('breast.L') + bone.head[:] = 0.0340, -0.1694, 0.6676 + bone.tail[:] = 0.0340, -0.3139, 0.5296 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.008']] + bones['breast.L'] = bone.name + bone = arm.edit_bones.new('breast.R') + bone.head[:] = -0.0340, -0.1694, 0.6676 + bone.tail[:] = -0.0340, -0.3139, 0.5296 + bone.roll = -0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.008']] + bones['breast.R'] = bone.name + bone = arm.edit_bones.new('toe.L') + bone.head[:] = 0.1088, 0.4138, 0.0411 + bone.tail[:] = 0.1088, 0.2808, 0.0000 + bone.roll = 3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['foot.L']] + bones['toe.L'] = bone.name + bone = arm.edit_bones.new('toe.R') + bone.head[:] = -0.1088, 0.4138, 0.0411 + bone.tail[:] = -0.1088, 0.2808, 0.0000 + bone.roll = -3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['foot.R']] + bones['toe.R'] = bone.name + bone = arm.edit_bones.new('spine.010') + bone.head[:] = 0.0000, -0.4253, 0.8585 + bone.tail[:] = 0.0000, -0.4888, 0.8796 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.009']] + bones['spine.010'] = bone.name + bone = arm.edit_bones.new('front_thigh.L') + bone.head[:] = 0.1249, -0.3161, 0.6902 + bone.tail[:] = 0.1249, -0.2245, 0.4418 + bone.roll = -0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['shoulder.L']] + bones['front_thigh.L'] = bone.name + bone = arm.edit_bones.new('front_thigh.R') + bone.head[:] = -0.1249, -0.3161, 0.6902 + bone.tail[:] = -0.1249, -0.2245, 0.4418 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['shoulder.R']] + bones['front_thigh.R'] = bone.name + bone = arm.edit_bones.new('r_palm.04.L') + bone.head[:] = 0.1140, 0.4168, 0.0282 + bone.tail[:] = 0.1337, 0.3749, 0.0253 + bone.roll = -2.8623 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['toe.L']] + bones['r_palm.04.L'] = bone.name + bone = arm.edit_bones.new('r_palm.03.L') + bone.head[:] = 0.1053, 0.4151, 0.0282 + bone.tail[:] = 0.1150, 0.3664, 0.0377 + bone.roll = 1.5833 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['toe.L']] + bones['r_palm.03.L'] = bone.name + bone = arm.edit_bones.new('r_palm.02.L') + bone.head[:] = 0.0964, 0.4152, 0.0282 + bone.tail[:] = 0.0894, 0.3664, 0.0377 + bone.roll = -1.2317 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['toe.L']] + bones['r_palm.02.L'] = bone.name + bone = arm.edit_bones.new('r_palm.01.L') + bone.head[:] = 0.0845, 0.4178, 0.0282 + bone.tail[:] = 0.0702, 0.3781, 0.0253 + bone.roll = 2.8333 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['toe.L']] + bones['r_palm.01.L'] = bone.name + bone = arm.edit_bones.new('r_palm.04.R') + bone.head[:] = -0.1140, 0.4168, 0.0282 + bone.tail[:] = -0.1337, 0.3749, 0.0253 + bone.roll = 2.8623 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['toe.R']] + bones['r_palm.04.R'] = bone.name + bone = arm.edit_bones.new('r_palm.03.R') + bone.head[:] = -0.1053, 0.4151, 0.0282 + bone.tail[:] = -0.1150, 0.3664, 0.0377 + bone.roll = -1.5833 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['toe.R']] + bones['r_palm.03.R'] = bone.name + bone = arm.edit_bones.new('r_palm.02.R') + bone.head[:] = -0.0964, 0.4152, 0.0282 + bone.tail[:] = -0.0894, 0.3664, 0.0377 + bone.roll = 1.2317 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['toe.R']] + bones['r_palm.02.R'] = bone.name + bone = arm.edit_bones.new('r_palm.01.R') + bone.head[:] = -0.0845, 0.4178, 0.0282 + bone.tail[:] = -0.0702, 0.3781, 0.0253 + bone.roll = -2.8333 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['toe.R']] + bones['r_palm.01.R'] = bone.name + bone = arm.edit_bones.new('spine.011') + bone.head[:] = 0.0000, -0.4888, 0.8796 + bone.tail[:] = 0.0000, -0.6590, 0.9809 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.010']] + bones['spine.011'] = bone.name + bone = arm.edit_bones.new('front_shin.L') + bone.head[:] = 0.1249, -0.2245, 0.4418 + bone.tail[:] = 0.1114, -0.2147, 0.1698 + bone.roll = 0.0098 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['front_thigh.L']] + bones['front_shin.L'] = bone.name + bone = arm.edit_bones.new('front_shin.R') + bone.head[:] = -0.1249, -0.2245, 0.4418 + bone.tail[:] = -0.1114, -0.2147, 0.1698 + bone.roll = -0.0098 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['front_thigh.R']] + bones['front_shin.R'] = bone.name + bone = arm.edit_bones.new('r_pinky.01.L') + bone.head[:] = 0.1337, 0.3749, 0.0253 + bone.tail[:] = 0.1388, 0.3551, 0.0222 + bone.roll = -2.0928 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['r_palm.04.L']] + bones['r_pinky.01.L'] = bone.name + bone = arm.edit_bones.new('r_ring.01.L') + bone.head[:] = 0.1150, 0.3664, 0.0377 + bone.tail[:] = 0.1166, 0.3467, 0.0317 + bone.roll = -0.5451 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['r_palm.03.L']] + bones['r_ring.01.L'] = bone.name + bone = arm.edit_bones.new('r_middle.01.L') + bone.head[:] = 0.0894, 0.3664, 0.0377 + bone.tail[:] = 0.0866, 0.3467, 0.0317 + bone.roll = 0.9401 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['r_palm.02.L']] + bones['r_middle.01.L'] = bone.name + bone = arm.edit_bones.new('r_index.01.L') + bone.head[:] = 0.0702, 0.3781, 0.0253 + bone.tail[:] = 0.0660, 0.3581, 0.0222 + bone.roll = 1.9945 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['r_palm.01.L']] + bones['r_index.01.L'] = bone.name + bone = arm.edit_bones.new('r_pinky.01.R') + bone.head[:] = -0.1337, 0.3749, 0.0253 + bone.tail[:] = -0.1388, 0.3551, 0.0222 + bone.roll = 2.0928 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['r_palm.04.R']] + bones['r_pinky.01.R'] = bone.name + bone = arm.edit_bones.new('r_ring.01.R') + bone.head[:] = -0.1150, 0.3664, 0.0377 + bone.tail[:] = -0.1166, 0.3467, 0.0317 + bone.roll = 0.5451 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['r_palm.03.R']] + bones['r_ring.01.R'] = bone.name + bone = arm.edit_bones.new('r_middle.01.R') + bone.head[:] = -0.0894, 0.3664, 0.0377 + bone.tail[:] = -0.0866, 0.3467, 0.0317 + bone.roll = -0.9401 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['r_palm.02.R']] + bones['r_middle.01.R'] = bone.name + bone = arm.edit_bones.new('r_index.01.R') + bone.head[:] = -0.0702, 0.3781, 0.0253 + bone.tail[:] = -0.0660, 0.3581, 0.0222 + bone.roll = -1.9945 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['r_palm.01.R']] + bones['r_index.01.R'] = bone.name + bone = arm.edit_bones.new('face') + bone.head[:] = -0.0000, -0.6484, 0.8273 + bone.tail[:] = -0.0000, -0.6484, 0.8890 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.011']] + bones['face'] = bone.name + bone = arm.edit_bones.new('front_foot.L') + bone.head[:] = 0.1114, -0.2147, 0.1698 + bone.tail[:] = 0.1088, -0.2462, 0.0411 + bone.roll = 0.0272 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['front_shin.L']] + bones['front_foot.L'] = bone.name + bone = arm.edit_bones.new('front_foot.R') + bone.head[:] = -0.1114, -0.2147, 0.1698 + bone.tail[:] = -0.1088, -0.2462, 0.0411 + bone.roll = -0.0272 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['front_shin.R']] + bones['front_foot.R'] = bone.name + bone = arm.edit_bones.new('r_pinky.02.L') + bone.head[:] = 0.1388, 0.3551, 0.0222 + bone.tail[:] = 0.1431, 0.3382, 0.0170 + bone.roll = -1.4292 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['r_pinky.01.L']] + bones['r_pinky.02.L'] = bone.name + bone = arm.edit_bones.new('r_ring.02.L') + bone.head[:] = 0.1166, 0.3467, 0.0317 + bone.tail[:] = 0.1188, 0.3297, 0.0224 + bone.roll = -0.5100 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['r_ring.01.L']] + bones['r_ring.02.L'] = bone.name + bone = arm.edit_bones.new('r_middle.02.L') + bone.head[:] = 0.0866, 0.3467, 0.0317 + bone.tail[:] = 0.0851, 0.3297, 0.0224 + bone.roll = 0.4076 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['r_middle.01.L']] + bones['r_middle.02.L'] = bone.name + bone = arm.edit_bones.new('r_index.02.L') + bone.head[:] = 0.0660, 0.3581, 0.0222 + bone.tail[:] = 0.0623, 0.3410, 0.0170 + bone.roll = 1.3847 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['r_index.01.L']] + bones['r_index.02.L'] = bone.name + bone = arm.edit_bones.new('r_pinky.02.R') + bone.head[:] = -0.1388, 0.3551, 0.0222 + bone.tail[:] = -0.1431, 0.3382, 0.0170 + bone.roll = 1.4292 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['r_pinky.01.R']] + bones['r_pinky.02.R'] = bone.name + bone = arm.edit_bones.new('r_ring.02.R') + bone.head[:] = -0.1166, 0.3467, 0.0317 + bone.tail[:] = -0.1188, 0.3297, 0.0224 + bone.roll = 0.5100 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['r_ring.01.R']] + bones['r_ring.02.R'] = bone.name + bone = arm.edit_bones.new('r_middle.02.R') + bone.head[:] = -0.0866, 0.3467, 0.0317 + bone.tail[:] = -0.0851, 0.3297, 0.0224 + bone.roll = -0.4076 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['r_middle.01.R']] + bones['r_middle.02.R'] = bone.name + bone = arm.edit_bones.new('r_index.02.R') + bone.head[:] = -0.0660, 0.3581, 0.0222 + bone.tail[:] = -0.0623, 0.3410, 0.0170 + bone.roll = -1.3847 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['r_index.01.R']] + bones['r_index.02.R'] = bone.name + bone = arm.edit_bones.new('nose') + bone.head[:] = 0.0000, -0.7082, 0.9031 + bone.tail[:] = 0.0000, -0.7989, 0.8595 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['nose'] = bone.name + bone = arm.edit_bones.new('lip.T.L') + bone.head[:] = 0.0000, -0.8212, 0.7930 + bone.tail[:] = 0.0353, -0.7614, 0.7866 + bone.roll = 0.0551 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['lip.T.L'] = bone.name + bone = arm.edit_bones.new('lip.B.L') + bone.head[:] = 0.0000, -0.7962, 0.7788 + bone.tail[:] = 0.0258, -0.7624, 0.7742 + bone.roll = 0.0255 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['lip.B.L'] = bone.name + bone = arm.edit_bones.new('jaw') + bone.head[:] = 0.0000, -0.6191, 0.7820 + bone.tail[:] = 0.0000, -0.6960, 0.7733 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['jaw'] = bone.name + bone = arm.edit_bones.new('ear.L') + bone.head[:] = 0.0949, -0.5457, 0.9545 + bone.tail[:] = 0.0524, -0.5459, 0.9899 + bone.roll = -1.1774 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['ear.L'] = bone.name + bone = arm.edit_bones.new('ear.R') + bone.head[:] = -0.0949, -0.5457, 0.9545 + bone.tail[:] = -0.0524, -0.5459, 0.9899 + bone.roll = 1.1774 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['ear.R'] = bone.name + bone = arm.edit_bones.new('lip.T.R') + bone.head[:] = 0.0000, -0.8212, 0.7930 + bone.tail[:] = -0.0353, -0.7614, 0.7866 + bone.roll = -0.0551 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['lip.T.R'] = bone.name + bone = arm.edit_bones.new('lip.B.R') + bone.head[:] = 0.0000, -0.7962, 0.7788 + bone.tail[:] = -0.0258, -0.7624, 0.7742 + bone.roll = -0.0255 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['lip.B.R'] = bone.name + bone = arm.edit_bones.new('brow.B.L') + bone.head[:] = 0.0745, -0.6532, 0.9192 + bone.tail[:] = 0.0659, -0.6703, 0.9324 + bone.roll = 0.7673 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['brow.B.L'] = bone.name + bone = arm.edit_bones.new('lid.T.L') + bone.head[:] = 0.0621, -0.6644, 0.9197 + bone.tail[:] = 0.0588, -0.6755, 0.9223 + bone.roll = 0.0733 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['lid.T.L'] = bone.name + bone = arm.edit_bones.new('brow.B.R') + bone.head[:] = -0.0745, -0.6532, 0.9192 + bone.tail[:] = -0.0659, -0.6703, 0.9324 + bone.roll = -0.7673 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['brow.B.R'] = bone.name + bone = arm.edit_bones.new('lid.T.R') + bone.head[:] = -0.0621, -0.6644, 0.9197 + bone.tail[:] = -0.0588, -0.6755, 0.9223 + bone.roll = -0.0733 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['lid.T.R'] = bone.name + bone = arm.edit_bones.new('forehead.L') + bone.head[:] = 0.0208, -0.6604, 0.9808 + bone.tail[:] = 0.0160, -0.7017, 0.9527 + bone.roll = 1.9432 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['forehead.L'] = bone.name + bone = arm.edit_bones.new('forehead.R') + bone.head[:] = -0.0208, -0.6604, 0.9808 + bone.tail[:] = -0.0160, -0.7017, 0.9527 + bone.roll = -1.9432 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['forehead.R'] = bone.name + bone = arm.edit_bones.new('eye.L') + bone.head[:] = 0.0388, -0.6496, 0.9149 + bone.tail[:] = 0.0388, -0.7010, 0.9149 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['eye.L'] = bone.name + bone = arm.edit_bones.new('eye.R') + bone.head[:] = -0.0388, -0.6496, 0.9149 + bone.tail[:] = -0.0388, -0.7010, 0.9149 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['eye.R'] = bone.name + bone = arm.edit_bones.new('cheek.T.L') + bone.head[:] = 0.0906, -0.6428, 0.9032 + bone.tail[:] = 0.0660, -0.6881, 0.8704 + bone.roll = -0.0634 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['cheek.T.L'] = bone.name + bone = arm.edit_bones.new('cheek.T.R') + bone.head[:] = -0.0906, -0.6428, 0.9032 + bone.tail[:] = -0.0660, -0.6881, 0.8704 + bone.roll = 0.0634 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['cheek.T.R'] = bone.name + bone = arm.edit_bones.new('teeth.T') + bone.head[:] = 0.0004, -0.7594, 0.8194 + bone.tail[:] = 0.0004, -0.7302, 0.8292 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['teeth.T'] = bone.name + bone = arm.edit_bones.new('teeth.B') + bone.head[:] = 0.0004, -0.7504, 0.7968 + bone.tail[:] = 0.0004, -0.7204, 0.8041 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['teeth.B'] = bone.name + bone = arm.edit_bones.new('tongue') + bone.head[:] = 0.0004, -0.7646, 0.7930 + bone.tail[:] = 0.0004, -0.7476, 0.7967 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['face']] + bones['tongue'] = bone.name + bone = arm.edit_bones.new('front_toe.L') + bone.head[:] = 0.1088, -0.2462, 0.0411 + bone.tail[:] = 0.1088, -0.3707, 0.0000 + bone.roll = 3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['front_foot.L']] + bones['front_toe.L'] = bone.name + bone = arm.edit_bones.new('front_toe.R') + bone.head[:] = -0.1088, -0.2462, 0.0411 + bone.tail[:] = -0.1088, -0.3707, 0.0000 + bone.roll = -3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['front_foot.R']] + bones['front_toe.R'] = bone.name + bone = arm.edit_bones.new('r_pinky.03.L') + bone.head[:] = 0.1431, 0.3382, 0.0170 + bone.tail[:] = 0.1455, 0.3175, 0.0129 + bone.roll = -1.0952 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['r_pinky.02.L']] + bones['r_pinky.03.L'] = bone.name + bone = arm.edit_bones.new('r_ring.03.L') + bone.head[:] = 0.1188, 0.3297, 0.0224 + bone.tail[:] = 0.1239, 0.2905, 0.0129 + bone.roll = -0.9905 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['r_ring.02.L']] + bones['r_ring.03.L'] = bone.name + bone = arm.edit_bones.new('r_middle.03.L') + bone.head[:] = 0.0851, 0.3297, 0.0224 + bone.tail[:] = 0.0813, 0.2904, 0.0129 + bone.roll = 0.8084 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['r_middle.02.L']] + bones['r_middle.03.L'] = bone.name + bone = arm.edit_bones.new('r_index.03.L') + bone.head[:] = 0.0623, 0.3410, 0.0170 + bone.tail[:] = 0.0552, 0.3214, 0.0129 + bone.roll = 2.2048 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['r_index.02.L']] + bones['r_index.03.L'] = bone.name + bone = arm.edit_bones.new('r_pinky.03.R') + bone.head[:] = -0.1431, 0.3382, 0.0170 + bone.tail[:] = -0.1455, 0.3175, 0.0129 + bone.roll = 1.0952 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['r_pinky.02.R']] + bones['r_pinky.03.R'] = bone.name + bone = arm.edit_bones.new('r_ring.03.R') + bone.head[:] = -0.1188, 0.3297, 0.0224 + bone.tail[:] = -0.1239, 0.2905, 0.0129 + bone.roll = 0.9905 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['r_ring.02.R']] + bones['r_ring.03.R'] = bone.name + bone = arm.edit_bones.new('r_middle.03.R') + bone.head[:] = -0.0851, 0.3297, 0.0224 + bone.tail[:] = -0.0813, 0.2904, 0.0129 + bone.roll = -0.8084 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['r_middle.02.R']] + bones['r_middle.03.R'] = bone.name + bone = arm.edit_bones.new('r_index.03.R') + bone.head[:] = -0.0623, 0.3410, 0.0170 + bone.tail[:] = -0.0552, 0.3214, 0.0129 + bone.roll = -2.2048 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['r_index.02.R']] + bones['r_index.03.R'] = bone.name + bone = arm.edit_bones.new('nose.001') + bone.head[:] = 0.0000, -0.7989, 0.8595 + bone.tail[:] = 0.0000, -0.8391, 0.8371 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['nose']] + bones['nose.001'] = bone.name + bone = arm.edit_bones.new('lip.T.L.001') + bone.head[:] = 0.0353, -0.7614, 0.7866 + bone.tail[:] = 0.0482, -0.6927, 0.7995 + bone.roll = 0.1558 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lip.T.L']] + bones['lip.T.L.001'] = bone.name + bone = arm.edit_bones.new('lip.B.L.001') + bone.head[:] = 0.0258, -0.7624, 0.7742 + bone.tail[:] = 0.0482, -0.6927, 0.7995 + bone.roll = 0.4650 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lip.B.L']] + bones['lip.B.L.001'] = bone.name + bone = arm.edit_bones.new('chin') + bone.head[:] = 0.0000, -0.6960, 0.7733 + bone.tail[:] = 0.0000, -0.7687, 0.7625 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['jaw']] + bones['chin'] = bone.name + bone = arm.edit_bones.new('ear.L.001') + bone.head[:] = 0.0524, -0.5459, 0.9899 + bone.tail[:] = 0.0727, -0.5682, 1.0212 + bone.roll = 0.2280 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['ear.L']] + bones['ear.L.001'] = bone.name + bone = arm.edit_bones.new('ear.R.001') + bone.head[:] = -0.0524, -0.5459, 0.9899 + bone.tail[:] = -0.0727, -0.5682, 1.0212 + bone.roll = -0.2280 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['ear.R']] + bones['ear.R.001'] = bone.name + bone = arm.edit_bones.new('lip.T.R.001') + bone.head[:] = -0.0353, -0.7614, 0.7866 + bone.tail[:] = -0.0482, -0.6927, 0.7995 + bone.roll = -0.1558 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lip.T.R']] + bones['lip.T.R.001'] = bone.name + bone = arm.edit_bones.new('lip.B.R.001') + bone.head[:] = -0.0258, -0.7624, 0.7742 + bone.tail[:] = -0.0482, -0.6927, 0.7995 + bone.roll = -0.4650 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lip.B.R']] + bones['lip.B.R.001'] = bone.name + bone = arm.edit_bones.new('brow.B.L.001') + bone.head[:] = 0.0659, -0.6703, 0.9324 + bone.tail[:] = 0.0507, -0.6764, 0.9344 + bone.roll = 0.0953 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['brow.B.L']] + bones['brow.B.L.001'] = bone.name + bone = arm.edit_bones.new('lid.T.L.001') + bone.head[:] = 0.0588, -0.6755, 0.9223 + bone.tail[:] = 0.0503, -0.6779, 0.9257 + bone.roll = 0.4801 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lid.T.L']] + bones['lid.T.L.001'] = bone.name + bone = arm.edit_bones.new('brow.B.R.001') + bone.head[:] = -0.0659, -0.6703, 0.9324 + bone.tail[:] = -0.0507, -0.6764, 0.9344 + bone.roll = -0.0953 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['brow.B.R']] + bones['brow.B.R.001'] = bone.name + bone = arm.edit_bones.new('lid.T.R.001') + bone.head[:] = -0.0588, -0.6755, 0.9223 + bone.tail[:] = -0.0503, -0.6779, 0.9257 + bone.roll = -0.4801 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lid.T.R']] + bones['lid.T.R.001'] = bone.name + bone = arm.edit_bones.new('forehead.L.001') + bone.head[:] = 0.0418, -0.6520, 0.9749 + bone.tail[:] = 0.0510, -0.6773, 0.9561 + bone.roll = 0.5278 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['forehead.L']] + bones['forehead.L.001'] = bone.name + bone = arm.edit_bones.new('forehead.R.001') + bone.head[:] = -0.0418, -0.6520, 0.9749 + bone.tail[:] = -0.0510, -0.6773, 0.9561 + bone.roll = -0.5278 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['forehead.R']] + bones['forehead.R.001'] = bone.name + bone = arm.edit_bones.new('cheek.T.L.001') + bone.head[:] = 0.0660, -0.6881, 0.8704 + bone.tail[:] = 0.0389, -0.7093, 0.8768 + bone.roll = -0.5772 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['cheek.T.L']] + bones['cheek.T.L.001'] = bone.name + bone = arm.edit_bones.new('cheek.T.R.001') + bone.head[:] = -0.0660, -0.6881, 0.8704 + bone.tail[:] = -0.0389, -0.7093, 0.8768 + bone.roll = 0.5772 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['cheek.T.R']] + bones['cheek.T.R.001'] = bone.name + bone = arm.edit_bones.new('tongue.001') + bone.head[:] = 0.0004, -0.7476, 0.7967 + bone.tail[:] = 0.0004, -0.7246, 0.8052 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['tongue']] + bones['tongue.001'] = bone.name + bone = arm.edit_bones.new('f_palm.04.L') + bone.head[:] = 0.1229, -0.2329, 0.0282 + bone.tail[:] = 0.1426, -0.2749, 0.0253 + bone.roll = -2.8623 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['front_toe.L']] + bones['f_palm.04.L'] = bone.name + bone = arm.edit_bones.new('f_palm.03.L') + bone.head[:] = 0.1142, -0.2346, 0.0282 + bone.tail[:] = 0.1239, -0.2833, 0.0377 + bone.roll = 1.5833 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['front_toe.L']] + bones['f_palm.03.L'] = bone.name + bone = arm.edit_bones.new('f_palm.02.L') + bone.head[:] = 0.1053, -0.2345, 0.0282 + bone.tail[:] = 0.0983, -0.2834, 0.0377 + bone.roll = -1.2317 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['front_toe.L']] + bones['f_palm.02.L'] = bone.name + bone = arm.edit_bones.new('f_palm.01.L') + bone.head[:] = 0.0934, -0.2319, 0.0282 + bone.tail[:] = 0.0791, -0.2716, 0.0253 + bone.roll = 2.8333 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['front_toe.L']] + bones['f_palm.01.L'] = bone.name + bone = arm.edit_bones.new('f_palm.04.R') + bone.head[:] = -0.1229, -0.2329, 0.0282 + bone.tail[:] = -0.1426, -0.2749, 0.0253 + bone.roll = 2.8623 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['front_toe.R']] + bones['f_palm.04.R'] = bone.name + bone = arm.edit_bones.new('f_palm.03.R') + bone.head[:] = -0.1142, -0.2346, 0.0282 + bone.tail[:] = -0.1239, -0.2833, 0.0377 + bone.roll = -1.5833 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['front_toe.R']] + bones['f_palm.03.R'] = bone.name + bone = arm.edit_bones.new('f_palm.02.R') + bone.head[:] = -0.1053, -0.2345, 0.0282 + bone.tail[:] = -0.0983, -0.2834, 0.0377 + bone.roll = 1.2317 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['front_toe.R']] + bones['f_palm.02.R'] = bone.name + bone = arm.edit_bones.new('f_palm.01.R') + bone.head[:] = -0.0934, -0.2319, 0.0282 + bone.tail[:] = -0.0791, -0.2716, 0.0253 + bone.roll = -2.8333 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['front_toe.R']] + bones['f_palm.01.R'] = bone.name + bone = arm.edit_bones.new('nose.002') + bone.head[:] = 0.0000, -0.8391, 0.8371 + bone.tail[:] = 0.0000, -0.8452, 0.8281 + bone.roll = -0.0162 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['nose.001']] + bones['nose.002'] = bone.name + bone = arm.edit_bones.new('chin.001') + bone.head[:] = 0.0000, -0.7687, 0.7625 + bone.tail[:] = 0.0000, -0.7926, 0.7756 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['chin']] + bones['chin.001'] = bone.name + bone = arm.edit_bones.new('ear.L.002') + bone.head[:] = 0.0727, -0.5682, 1.0212 + bone.tail[:] = 0.1158, -0.5606, 1.0358 + bone.roll = -1.9007 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['ear.L.001']] + bones['ear.L.002'] = bone.name + bone = arm.edit_bones.new('ear.R.002') + bone.head[:] = -0.0727, -0.5682, 1.0212 + bone.tail[:] = -0.1158, -0.5606, 1.0358 + bone.roll = 1.9007 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['ear.R.001']] + bones['ear.R.002'] = bone.name + bone = arm.edit_bones.new('brow.B.L.002') + bone.head[:] = 0.0507, -0.6764, 0.9344 + bone.tail[:] = 0.0362, -0.6871, 0.9343 + bone.roll = 0.2604 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['brow.B.L.001']] + bones['brow.B.L.002'] = bone.name + bone = arm.edit_bones.new('lid.T.L.002') + bone.head[:] = 0.0503, -0.6779, 0.9257 + bone.tail[:] = 0.0361, -0.6798, 0.9241 + bone.roll = 0.0945 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lid.T.L.001']] + bones['lid.T.L.002'] = bone.name + bone = arm.edit_bones.new('brow.B.R.002') + bone.head[:] = -0.0507, -0.6764, 0.9344 + bone.tail[:] = -0.0362, -0.6871, 0.9343 + bone.roll = -0.2604 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['brow.B.R.001']] + bones['brow.B.R.002'] = bone.name + bone = arm.edit_bones.new('lid.T.R.002') + bone.head[:] = -0.0503, -0.6779, 0.9257 + bone.tail[:] = -0.0361, -0.6798, 0.9241 + bone.roll = -0.0945 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lid.T.R.001']] + bones['lid.T.R.002'] = bone.name + bone = arm.edit_bones.new('forehead.L.002') + bone.head[:] = 0.0581, -0.6362, 0.9723 + bone.tail[:] = 0.0774, -0.6567, 0.9438 + bone.roll = -0.3374 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['forehead.L.001']] + bones['forehead.L.002'] = bone.name + bone = arm.edit_bones.new('forehead.R.002') + bone.head[:] = -0.0581, -0.6362, 0.9723 + bone.tail[:] = -0.0774, -0.6567, 0.9438 + bone.roll = 0.3374 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['forehead.R.001']] + bones['forehead.R.002'] = bone.name + bone = arm.edit_bones.new('nose.L') + bone.head[:] = 0.0389, -0.7093, 0.8768 + bone.tail[:] = 0.0360, -0.7993, 0.8371 + bone.roll = -2.8274 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['cheek.T.L.001']] + bones['nose.L'] = bone.name + bone = arm.edit_bones.new('nose.R') + bone.head[:] = -0.0389, -0.7093, 0.8768 + bone.tail[:] = -0.0360, -0.7993, 0.8371 + bone.roll = 2.8274 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['cheek.T.R.001']] + bones['nose.R'] = bone.name + bone = arm.edit_bones.new('tongue.002') + bone.head[:] = 0.0004, -0.7246, 0.8052 + bone.tail[:] = 0.0004, -0.6900, 0.8003 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['tongue.001']] + bones['tongue.002'] = bone.name + bone = arm.edit_bones.new('f_pinky.01.L') + bone.head[:] = 0.1426, -0.2749, 0.0253 + bone.tail[:] = 0.1477, -0.2946, 0.0222 + bone.roll = -2.0928 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['f_palm.04.L']] + bones['f_pinky.01.L'] = bone.name + bone = arm.edit_bones.new('f_ring.01.L') + bone.head[:] = 0.1239, -0.2833, 0.0377 + bone.tail[:] = 0.1255, -0.3031, 0.0317 + bone.roll = -0.5451 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['f_palm.03.L']] + bones['f_ring.01.L'] = bone.name + bone = arm.edit_bones.new('f_middle.01.L') + bone.head[:] = 0.0983, -0.2834, 0.0377 + bone.tail[:] = 0.0955, -0.3030, 0.0317 + bone.roll = 0.9401 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['f_palm.02.L']] + bones['f_middle.01.L'] = bone.name + bone = arm.edit_bones.new('f_index.01.L') + bone.head[:] = 0.0791, -0.2716, 0.0253 + bone.tail[:] = 0.0749, -0.2916, 0.0222 + bone.roll = 1.9945 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['f_palm.01.L']] + bones['f_index.01.L'] = bone.name + bone = arm.edit_bones.new('f_pinky.01.R') + bone.head[:] = -0.1426, -0.2749, 0.0253 + bone.tail[:] = -0.1477, -0.2946, 0.0222 + bone.roll = 2.0928 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['f_palm.04.R']] + bones['f_pinky.01.R'] = bone.name + bone = arm.edit_bones.new('f_ring.01.R') + bone.head[:] = -0.1239, -0.2833, 0.0377 + bone.tail[:] = -0.1255, -0.3031, 0.0317 + bone.roll = 0.5451 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['f_palm.03.R']] + bones['f_ring.01.R'] = bone.name + bone = arm.edit_bones.new('f_middle.01.R') + bone.head[:] = -0.0983, -0.2834, 0.0377 + bone.tail[:] = -0.0955, -0.3030, 0.0317 + bone.roll = -0.9401 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['f_palm.02.R']] + bones['f_middle.01.R'] = bone.name + bone = arm.edit_bones.new('f_index.01.R') + bone.head[:] = -0.0791, -0.2716, 0.0253 + bone.tail[:] = -0.0749, -0.2916, 0.0222 + bone.roll = -1.9945 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['f_palm.01.R']] + bones['f_index.01.R'] = bone.name + bone = arm.edit_bones.new('nose.003') + bone.head[:] = 0.0000, -0.8452, 0.8281 + bone.tail[:] = 0.0000, -0.8349, 0.8089 + bone.roll = -0.0248 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['nose.002']] + bones['nose.003'] = bone.name + bone = arm.edit_bones.new('ear.L.003') + bone.head[:] = 0.1158, -0.5606, 1.0358 + bone.tail[:] = 0.1130, -0.5379, 0.9935 + bone.roll = 2.4141 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['ear.L.002']] + bones['ear.L.003'] = bone.name + bone = arm.edit_bones.new('ear.R.003') + bone.head[:] = -0.1158, -0.5606, 1.0358 + bone.tail[:] = -0.1130, -0.5379, 0.9935 + bone.roll = -2.4141 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['ear.R.002']] + bones['ear.R.003'] = bone.name + bone = arm.edit_bones.new('brow.B.L.003') + bone.head[:] = 0.0362, -0.6871, 0.9343 + bone.tail[:] = 0.0269, -0.6936, 0.9293 + bone.roll = 0.2912 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['brow.B.L.002']] + bones['brow.B.L.003'] = bone.name + bone = arm.edit_bones.new('lid.T.L.003') + bone.head[:] = 0.0361, -0.6798, 0.9241 + bone.tail[:] = 0.0281, -0.6756, 0.9088 + bone.roll = -0.3539 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lid.T.L.002']] + bones['lid.T.L.003'] = bone.name + bone = arm.edit_bones.new('brow.B.R.003') + bone.head[:] = -0.0362, -0.6871, 0.9343 + bone.tail[:] = -0.0269, -0.6936, 0.9293 + bone.roll = -0.2912 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['brow.B.R.002']] + bones['brow.B.R.003'] = bone.name + bone = arm.edit_bones.new('lid.T.R.003') + bone.head[:] = -0.0361, -0.6798, 0.9241 + bone.tail[:] = -0.0281, -0.6756, 0.9088 + bone.roll = 0.3539 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lid.T.R.002']] + bones['lid.T.R.003'] = bone.name + bone = arm.edit_bones.new('temple.L') + bone.head[:] = 0.0590, -0.5870, 0.9758 + bone.tail[:] = 0.0931, -0.5866, 0.8642 + bone.roll = -0.4594 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['forehead.L.002']] + bones['temple.L'] = bone.name + bone = arm.edit_bones.new('temple.R') + bone.head[:] = -0.0590, -0.5870, 0.9758 + bone.tail[:] = -0.0931, -0.5866, 0.8642 + bone.roll = 0.4594 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['forehead.R.002']] + bones['temple.R'] = bone.name + bone = arm.edit_bones.new('nose.L.001') + bone.head[:] = 0.0360, -0.7993, 0.8371 + bone.tail[:] = 0.0000, -0.8391, 0.8371 + bone.roll = 2.9287 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['nose.L']] + bones['nose.L.001'] = bone.name + bone = arm.edit_bones.new('nose.R.001') + bone.head[:] = -0.0360, -0.7993, 0.8371 + bone.tail[:] = 0.0000, -0.8391, 0.8371 + bone.roll = -2.9287 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['nose.R']] + bones['nose.R.001'] = bone.name + bone = arm.edit_bones.new('f_pinky.02.L') + bone.head[:] = 0.1477, -0.2946, 0.0222 + bone.tail[:] = 0.1520, -0.3116, 0.0170 + bone.roll = -1.4292 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['f_pinky.01.L']] + bones['f_pinky.02.L'] = bone.name + bone = arm.edit_bones.new('f_ring.02.L') + bone.head[:] = 0.1255, -0.3031, 0.0317 + bone.tail[:] = 0.1278, -0.3200, 0.0224 + bone.roll = -0.5100 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['f_ring.01.L']] + bones['f_ring.02.L'] = bone.name + bone = arm.edit_bones.new('f_middle.02.L') + bone.head[:] = 0.0955, -0.3030, 0.0317 + bone.tail[:] = 0.0940, -0.3200, 0.0224 + bone.roll = 0.4076 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['f_middle.01.L']] + bones['f_middle.02.L'] = bone.name + bone = arm.edit_bones.new('f_index.02.L') + bone.head[:] = 0.0749, -0.2916, 0.0222 + bone.tail[:] = 0.0712, -0.3087, 0.0170 + bone.roll = 1.3847 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['f_index.01.L']] + bones['f_index.02.L'] = bone.name + bone = arm.edit_bones.new('f_pinky.02.R') + bone.head[:] = -0.1477, -0.2946, 0.0222 + bone.tail[:] = -0.1520, -0.3116, 0.0170 + bone.roll = 1.4292 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['f_pinky.01.R']] + bones['f_pinky.02.R'] = bone.name + bone = arm.edit_bones.new('f_ring.02.R') + bone.head[:] = -0.1255, -0.3031, 0.0317 + bone.tail[:] = -0.1278, -0.3200, 0.0224 + bone.roll = 0.5100 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['f_ring.01.R']] + bones['f_ring.02.R'] = bone.name + bone = arm.edit_bones.new('f_middle.02.R') + bone.head[:] = -0.0955, -0.3030, 0.0317 + bone.tail[:] = -0.0940, -0.3200, 0.0224 + bone.roll = -0.4076 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['f_middle.01.R']] + bones['f_middle.02.R'] = bone.name + bone = arm.edit_bones.new('f_index.02.R') + bone.head[:] = -0.0749, -0.2916, 0.0222 + bone.tail[:] = -0.0712, -0.3087, 0.0170 + bone.roll = -1.3847 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['f_index.01.R']] + bones['f_index.02.R'] = bone.name + bone = arm.edit_bones.new('nose.004') + bone.head[:] = 0.0000, -0.8349, 0.8089 + bone.tail[:] = 0.0000, -0.8159, 0.7913 + bone.roll = 0.0082 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['nose.003']] + bones['nose.004'] = bone.name + bone = arm.edit_bones.new('ear.L.004') + bone.head[:] = 0.1130, -0.5379, 0.9935 + bone.tail[:] = 0.0949, -0.5457, 0.9545 + bone.roll = -2.3814 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['ear.L.003']] + bones['ear.L.004'] = bone.name + bone = arm.edit_bones.new('ear.R.004') + bone.head[:] = -0.1130, -0.5379, 0.9935 + bone.tail[:] = -0.0949, -0.5457, 0.9545 + bone.roll = 2.3814 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['ear.R.003']] + bones['ear.R.004'] = bone.name + bone = arm.edit_bones.new('lid.B.L') + bone.head[:] = 0.0281, -0.6756, 0.9088 + bone.tail[:] = 0.0382, -0.6786, 0.9040 + bone.roll = 0.2941 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lid.T.L.003']] + bones['lid.B.L'] = bone.name + bone = arm.edit_bones.new('lid.B.R') + bone.head[:] = -0.0281, -0.6756, 0.9088 + bone.tail[:] = -0.0382, -0.6786, 0.9040 + bone.roll = -0.2941 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lid.T.R.003']] + bones['lid.B.R'] = bone.name + bone = arm.edit_bones.new('jaw.L') + bone.head[:] = 0.0931, -0.5866, 0.8642 + bone.tail[:] = 0.0694, -0.6211, 0.8005 + bone.roll = 0.0983 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['temple.L']] + bones['jaw.L'] = bone.name + bone = arm.edit_bones.new('jaw.R') + bone.head[:] = -0.0931, -0.5866, 0.8642 + bone.tail[:] = -0.0694, -0.6211, 0.8005 + bone.roll = -0.0983 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['temple.R']] + bones['jaw.R'] = bone.name + bone = arm.edit_bones.new('f_pinky.03.L') + bone.head[:] = 0.1520, -0.3116, 0.0170 + bone.tail[:] = 0.1544, -0.3323, 0.0129 + bone.roll = -1.0952 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['f_pinky.02.L']] + bones['f_pinky.03.L'] = bone.name + bone = arm.edit_bones.new('f_ring.03.L') + bone.head[:] = 0.1278, -0.3200, 0.0224 + bone.tail[:] = 0.1328, -0.3592, 0.0129 + bone.roll = -0.9905 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['f_ring.02.L']] + bones['f_ring.03.L'] = bone.name + bone = arm.edit_bones.new('f_middle.03.L') + bone.head[:] = 0.0940, -0.3200, 0.0224 + bone.tail[:] = 0.0902, -0.3593, 0.0129 + bone.roll = 0.8084 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['f_middle.02.L']] + bones['f_middle.03.L'] = bone.name + bone = arm.edit_bones.new('f_index.03.L') + bone.head[:] = 0.0712, -0.3087, 0.0170 + bone.tail[:] = 0.0641, -0.3283, 0.0129 + bone.roll = 2.2048 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['f_index.02.L']] + bones['f_index.03.L'] = bone.name + bone = arm.edit_bones.new('f_pinky.03.R') + bone.head[:] = -0.1520, -0.3116, 0.0170 + bone.tail[:] = -0.1544, -0.3323, 0.0129 + bone.roll = 1.0952 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['f_pinky.02.R']] + bones['f_pinky.03.R'] = bone.name + bone = arm.edit_bones.new('f_ring.03.R') + bone.head[:] = -0.1278, -0.3200, 0.0224 + bone.tail[:] = -0.1328, -0.3592, 0.0129 + bone.roll = 0.9905 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['f_ring.02.R']] + bones['f_ring.03.R'] = bone.name + bone = arm.edit_bones.new('f_middle.03.R') + bone.head[:] = -0.0940, -0.3200, 0.0224 + bone.tail[:] = -0.0902, -0.3593, 0.0129 + bone.roll = -0.8084 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['f_middle.02.R']] + bones['f_middle.03.R'] = bone.name + bone = arm.edit_bones.new('f_index.03.R') + bone.head[:] = -0.0712, -0.3087, 0.0170 + bone.tail[:] = -0.0641, -0.3283, 0.0129 + bone.roll = -2.2048 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['f_index.02.R']] + bones['f_index.03.R'] = bone.name + bone = arm.edit_bones.new('lid.B.L.001') + bone.head[:] = 0.0382, -0.6786, 0.9040 + bone.tail[:] = 0.0476, -0.6772, 0.9036 + bone.roll = 0.0266 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lid.B.L']] + bones['lid.B.L.001'] = bone.name + bone = arm.edit_bones.new('lid.B.R.001') + bone.head[:] = -0.0382, -0.6786, 0.9040 + bone.tail[:] = -0.0476, -0.6772, 0.9036 + bone.roll = -0.0266 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lid.B.R']] + bones['lid.B.R.001'] = bone.name + bone = arm.edit_bones.new('jaw.L.001') + bone.head[:] = 0.0694, -0.6211, 0.8005 + bone.tail[:] = 0.0481, -0.6715, 0.7849 + bone.roll = 0.2993 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['jaw.L']] + bones['jaw.L.001'] = bone.name + bone = arm.edit_bones.new('jaw.R.001') + bone.head[:] = -0.0694, -0.6211, 0.8005 + bone.tail[:] = -0.0481, -0.6715, 0.7849 + bone.roll = -0.2993 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['jaw.R']] + bones['jaw.R.001'] = bone.name + bone = arm.edit_bones.new('lid.B.L.002') + bone.head[:] = 0.0476, -0.6772, 0.9036 + bone.tail[:] = 0.0570, -0.6724, 0.9082 + bone.roll = -0.1195 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lid.B.L.001']] + bones['lid.B.L.002'] = bone.name + bone = arm.edit_bones.new('lid.B.R.002') + bone.head[:] = -0.0476, -0.6772, 0.9036 + bone.tail[:] = -0.0570, -0.6724, 0.9082 + bone.roll = 0.1195 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lid.B.R.001']] + bones['lid.B.R.002'] = bone.name + bone = arm.edit_bones.new('chin.L') + bone.head[:] = 0.0481, -0.6715, 0.7849 + bone.tail[:] = 0.0482, -0.6927, 0.7995 + bone.roll = 3.1083 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['jaw.L.001']] + bones['chin.L'] = bone.name + bone = arm.edit_bones.new('chin.R') + bone.head[:] = -0.0481, -0.6715, 0.7849 + bone.tail[:] = -0.0482, -0.6927, 0.7995 + bone.roll = -3.1083 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['jaw.R.001']] + bones['chin.R'] = bone.name + bone = arm.edit_bones.new('lid.B.L.003') + bone.head[:] = 0.0570, -0.6724, 0.9082 + bone.tail[:] = 0.0621, -0.6644, 0.9197 + bone.roll = -0.1171 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lid.B.L.002']] + bones['lid.B.L.003'] = bone.name + bone = arm.edit_bones.new('lid.B.R.003') + bone.head[:] = -0.0570, -0.6724, 0.9082 + bone.tail[:] = -0.0621, -0.6644, 0.9197 + bone.roll = 0.1171 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['lid.B.R.002']] + bones['lid.B.R.003'] = bone.name + bone = arm.edit_bones.new('cheek.B.L') + bone.head[:] = 0.0482, -0.6927, 0.7995 + bone.tail[:] = 0.0707, -0.6771, 0.8294 + bone.roll = -0.1207 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['chin.L']] + bones['cheek.B.L'] = bone.name + bone = arm.edit_bones.new('cheek.B.R') + bone.head[:] = -0.0482, -0.6927, 0.7995 + bone.tail[:] = -0.0707, -0.6771, 0.8294 + bone.roll = 0.1207 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['chin.R']] + bones['cheek.B.R'] = bone.name + bone = arm.edit_bones.new('cheek.B.L.001') + bone.head[:] = 0.0707, -0.6771, 0.8294 + bone.tail[:] = 0.0906, -0.6428, 0.9032 + bone.roll = 0.0640 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['cheek.B.L']] + bones['cheek.B.L.001'] = bone.name + bone = arm.edit_bones.new('cheek.B.R.001') + bone.head[:] = -0.0707, -0.6771, 0.8294 + bone.tail[:] = -0.0906, -0.6428, 0.9032 + bone.roll = -0.0640 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['cheek.B.R']] + bones['cheek.B.R.001'] = bone.name + bone = arm.edit_bones.new('brow.T.L') + bone.head[:] = 0.0906, -0.6428, 0.9032 + bone.tail[:] = 0.0774, -0.6567, 0.9438 + bone.roll = 0.1270 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['cheek.B.L.001']] + bones['brow.T.L'] = bone.name + bone = arm.edit_bones.new('brow.T.R') + bone.head[:] = -0.0906, -0.6428, 0.9032 + bone.tail[:] = -0.0774, -0.6567, 0.9438 + bone.roll = -0.1270 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['cheek.B.R.001']] + bones['brow.T.R'] = bone.name + bone = arm.edit_bones.new('brow.T.L.001') + bone.head[:] = 0.0774, -0.6567, 0.9438 + bone.tail[:] = 0.0510, -0.6773, 0.9561 + bone.roll = -2.7274 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['brow.T.L']] + bones['brow.T.L.001'] = bone.name + bone = arm.edit_bones.new('brow.T.R.001') + bone.head[:] = -0.0774, -0.6567, 0.9438 + bone.tail[:] = -0.0510, -0.6773, 0.9561 + bone.roll = 2.7274 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['brow.T.R']] + bones['brow.T.R.001'] = bone.name + bone = arm.edit_bones.new('brow.T.L.002') + bone.head[:] = 0.0510, -0.6773, 0.9561 + bone.tail[:] = 0.0160, -0.7017, 0.9527 + bone.roll = 0.4172 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['brow.T.L.001']] + bones['brow.T.L.002'] = bone.name + bone = arm.edit_bones.new('brow.T.R.002') + bone.head[:] = -0.0510, -0.6773, 0.9561 + bone.tail[:] = -0.0160, -0.7017, 0.9527 + bone.roll = -0.4172 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['brow.T.R.001']] + bones['brow.T.R.002'] = bone.name + bone = arm.edit_bones.new('brow.T.L.003') + bone.head[:] = 0.0160, -0.7017, 0.9527 + bone.tail[:] = 0.0000, -0.7082, 0.9031 + bone.roll = -0.6706 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['brow.T.L.002']] + bones['brow.T.L.003'] = bone.name + bone = arm.edit_bones.new('brow.T.R.003') + bone.head[:] = -0.0160, -0.7017, 0.9527 + bone.tail[:] = 0.0000, -0.7082, 0.9031 + bone.roll = 0.6706 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['brow.T.R.002']] + bones['brow.T.R.003'] = bone.name + + bpy.ops.object.mode_set(mode='OBJECT') + pbone = obj.pose.bones[bones['spine']] + pbone.rigify_type = 'spines.super_spine' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, 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] + except AttributeError: + pass + try: + pbone.rigify_parameters.use_tail = True + except AttributeError: + pass + try: + pbone.rigify_parameters.tail_pos = 4 + except AttributeError: + pass + try: + pbone.rigify_parameters.pivot_pos = 8 + except AttributeError: + pass + try: + pbone.rigify_parameters.neck_pos = 10 + except AttributeError: + pass + try: + pbone.rigify_parameters.copy_rotation_axes = [True, False, True] + except AttributeError: + pass + pbone = obj.pose.bones[bones['spine.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, 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] + pbone = obj.pose.bones[bones['spine.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, 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] + try: + pbone.rigify_parameters.tweak_extra_layers = False + except AttributeError: + pass + try: + pbone.rigify_parameters.tweak_layers = [False, True, False, False, False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['spine.003']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, 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] + pbone = obj.pose.bones[bones['spine.004']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['spine.005']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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] + try: + pbone.rigify_parameters.neck_pos = 5 + except AttributeError: + pass + try: + pbone.rigify_parameters.tweak_layers = [False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['spine.006']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['pelvis.L']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'YXZ' + 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] + try: + pbone.rigify_parameters.make_control = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['pelvis.R']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'YXZ' + 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] + try: + pbone.rigify_parameters.make_control = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['thigh.L']] + pbone.rigify_type = 'limbs.super_limb' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False] + try: + pbone.rigify_parameters.limb_type = "paw" + 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 + try: + 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 + pbone = obj.pose.bones[bones['thigh.R']] + pbone.rigify_type = 'limbs.super_limb' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, 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] + try: + pbone.rigify_parameters.fk_layers = [False, False, 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] + except AttributeError: + pass + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + try: + pbone.rigify_parameters.limb_type = "paw" + except AttributeError: + pass + pbone = obj.pose.bones[bones['spine.007']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['shin.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False] + pbone = obj.pose.bones[bones['shin.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, 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] + pbone = obj.pose.bones[bones['spine.008']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['foot.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False] + pbone = obj.pose.bones[bones['foot.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, 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] + pbone = obj.pose.bones[bones['spine.009']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['shoulder.L']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'YXZ' + pbone.bone.layers = [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, False, False, False, False, False, False, False] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['shoulder.R']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'YXZ' + pbone.bone.layers = [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, False, False, False, False] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['breast.L']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'YXZ' + pbone.bone.layers = [False, 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] + pbone = obj.pose.bones[bones['breast.R']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'YXZ' + pbone.bone.layers = [False, 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] + pbone = obj.pose.bones[bones['toe.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False] + try: + pbone.rigify_parameters.limb_type = "paw" + except AttributeError: + pass + pbone = obj.pose.bones[bones['toe.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, 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] + try: + pbone.rigify_parameters.limb_type = "paw" + except AttributeError: + pass + pbone = obj.pose.bones[bones['spine.010']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['front_thigh.L']] + pbone.rigify_type = 'limbs.super_limb' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False, False, False, False] + try: + pbone.rigify_parameters.limb_type = "paw" + except AttributeError: + pass + try: + pbone.rigify_parameters.fk_layers = [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, False, False, False, False, False, False] + except AttributeError: + pass + try: + pbone.rigify_parameters.tweak_layers = [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, False, False, False, False, False] + except AttributeError: + pass + pbone = obj.pose.bones[bones['front_thigh.R']] + pbone.rigify_type = 'limbs.super_limb' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + try: + pbone.rigify_parameters.limb_type = "paw" + except AttributeError: + pass + try: + pbone.rigify_parameters.fk_layers = [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, False, False, False] + except AttributeError: + pass + try: + pbone.rigify_parameters.tweak_layers = [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, False, False] + except AttributeError: + pass + pbone = obj.pose.bones[bones['r_palm.04.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_palm.03.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_palm.02.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_palm.01.L']] + pbone.rigify_type = 'limbs.super_palm' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_palm.04.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_palm.03.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_palm.02.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_palm.01.R']] + pbone.rigify_type = 'limbs.super_palm' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['spine.011']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['front_shin.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False, False, False, False] + pbone = obj.pose.bones[bones['front_shin.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + pbone = obj.pose.bones[bones['r_pinky.01.L']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['r_ring.01.L']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['r_middle.01.L']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['r_index.01.L']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['r_pinky.01.R']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['r_ring.01.R']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['r_middle.01.R']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['r_index.01.R']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['face']] + pbone.rigify_type = 'faces.super_face' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + try: + pbone.rigify_parameters.secondary_layers = [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, False] + except AttributeError: + pass + pbone = obj.pose.bones[bones['front_foot.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False, False, False, False] + pbone = obj.pose.bones[bones['front_foot.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + pbone = obj.pose.bones[bones['r_pinky.02.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_ring.02.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_middle.02.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_index.02.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_pinky.02.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_ring.02.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_middle.02.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_index.02.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['nose']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lip.T.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lip.B.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['jaw']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['ear.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['ear.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lip.T.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lip.B.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['brow.B.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lid.T.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['brow.B.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lid.T.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['forehead.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['forehead.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['eye.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['eye.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['cheek.T.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['cheek.T.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['teeth.T']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['teeth.B']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['tongue']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['front_toe.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False, False, False, False] + try: + pbone.rigify_parameters.limb_type = "paw" + except AttributeError: + pass + pbone = obj.pose.bones[bones['front_toe.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + try: + pbone.rigify_parameters.rotation_axis = "x" + except AttributeError: + pass + try: + pbone.rigify_parameters.limb_type = "paw" + except AttributeError: + pass + pbone = obj.pose.bones[bones['r_pinky.03.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_ring.03.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_middle.03.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_index.03.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_pinky.03.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_ring.03.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_middle.03.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['r_index.03.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['nose.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lip.T.L.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lip.B.L.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['chin']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['ear.L.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['ear.R.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lip.T.R.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lip.B.R.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['brow.B.L.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lid.T.L.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['brow.B.R.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lid.T.R.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['forehead.L.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['forehead.R.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['cheek.T.L.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['cheek.T.R.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['tongue.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['f_palm.04.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_palm.03.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_palm.02.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_palm.01.L']] + pbone.rigify_type = 'limbs.super_palm' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_palm.04.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_palm.03.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_palm.02.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_palm.01.R']] + pbone.rigify_type = 'limbs.super_palm' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['nose.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['chin.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['ear.L.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['ear.R.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['brow.B.L.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lid.T.L.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['brow.B.R.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lid.T.R.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['forehead.L.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['forehead.R.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['nose.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['nose.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['tongue.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['f_pinky.01.L']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['f_ring.01.L']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['f_middle.01.L']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['f_index.01.L']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['f_pinky.01.R']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['f_ring.01.R']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['f_middle.01.R']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['f_index.01.R']] + pbone.rigify_type = 'limbs.simple_tentacle' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['nose.003']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['ear.L.003']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['ear.R.003']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['brow.B.L.003']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lid.T.L.003']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['brow.B.R.003']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lid.T.R.003']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['temple.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['temple.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['nose.L.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['nose.R.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['f_pinky.02.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_ring.02.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_middle.02.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_index.02.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_pinky.02.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_ring.02.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_middle.02.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_index.02.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['nose.004']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['ear.L.004']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['ear.R.004']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lid.B.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lid.B.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['jaw.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['jaw.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['f_pinky.03.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_ring.03.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_middle.03.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_index.03.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_pinky.03.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_ring.03.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_middle.03.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['f_index.03.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, 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] + pbone = obj.pose.bones[bones['lid.B.L.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lid.B.R.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['jaw.L.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['jaw.R.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lid.B.L.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lid.B.R.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['chin.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['chin.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lid.B.L.003']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['lid.B.R.003']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['cheek.B.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['cheek.B.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['cheek.B.L.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['cheek.B.R.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['brow.T.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['brow.T.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['brow.T.L.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['brow.T.R.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['brow.T.L.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['brow.T.R.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['brow.T.L.003']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + pbone = obj.pose.bones[bones['brow.T.R.003']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False] + + bpy.ops.object.mode_set(mode='EDIT') + for bone in arm.edit_bones: + bone.select = False + bone.select_head = False + bone.select_tail = False + for b in bones: + bone = arm.edit_bones[bones[b]] + bone.select = True + bone.select_head = True + bone.select_tail = True + arm.edit_bones.active = bone + + arm.layers = [(x in [0, 3, 4, 5, 7, 10, 13, 16, 19]) for x in range(32)] + +if __name__ == "__main__": + create(bpy.context.active_object)
\ No newline at end of file diff --git a/rigify/metarigs/Basic/basic_human.py b/rigify/metarigs/Basic/basic_human.py new file mode 100644 index 00000000..221809e7 --- /dev/null +++ b/rigify/metarigs/Basic/basic_human.py @@ -0,0 +1,684 @@ +import bpy + + +from mathutils import Color + + +def create(obj): + # generated by rigify.utils.write_metarig + bpy.ops.object.mode_set(mode='EDIT') + arm = obj.data + + for i in range(6): + arm.rigify_colors.add() + + arm.rigify_colors[0].name = "Root" + arm.rigify_colors[0].active = Color((0.5490000247955322, 1.0, 1.0)) + arm.rigify_colors[0].normal = Color((0.43529415130615234, 0.18431372940540314, 0.41568630933761597)) + arm.rigify_colors[0].select = Color((0.3140000104904175, 0.7839999794960022, 1.0)) + arm.rigify_colors[0].standard_colors_lock = True + arm.rigify_colors[1].name = "IK" + arm.rigify_colors[1].active = Color((0.5490000247955322, 1.0, 1.0)) + arm.rigify_colors[1].normal = Color((0.6039215922355652, 0.0, 0.0)) + arm.rigify_colors[1].select = Color((0.3140000104904175, 0.7839999794960022, 1.0)) + arm.rigify_colors[1].standard_colors_lock = True + arm.rigify_colors[2].name = "Special" + arm.rigify_colors[2].active = Color((0.5490000247955322, 1.0, 1.0)) + arm.rigify_colors[2].normal = Color((0.9568628072738647, 0.7882353663444519, 0.0470588281750679)) + arm.rigify_colors[2].select = Color((0.3140000104904175, 0.7839999794960022, 1.0)) + arm.rigify_colors[2].standard_colors_lock = True + arm.rigify_colors[3].name = "Tweak" + arm.rigify_colors[3].active = Color((0.5490000247955322, 1.0, 1.0)) + arm.rigify_colors[3].normal = Color((0.03921568766236305, 0.21176472306251526, 0.5803921818733215)) + arm.rigify_colors[3].select = Color((0.3140000104904175, 0.7839999794960022, 1.0)) + arm.rigify_colors[3].standard_colors_lock = True + arm.rigify_colors[4].name = "FK" + arm.rigify_colors[4].active = Color((0.5490000247955322, 1.0, 1.0)) + arm.rigify_colors[4].normal = Color((0.11764706671237946, 0.5686274766921997, 0.03529411926865578)) + arm.rigify_colors[4].select = Color((0.3140000104904175, 0.7839999794960022, 1.0)) + arm.rigify_colors[4].standard_colors_lock = True + arm.rigify_colors[5].name = "Extra" + arm.rigify_colors[5].active = Color((0.5490000247955322, 1.0, 1.0)) + arm.rigify_colors[5].normal = Color((0.9686275124549866, 0.250980406999588, 0.0941176563501358)) + arm.rigify_colors[5].select = Color((0.3140000104904175, 0.7839999794960022, 1.0)) + arm.rigify_colors[5].standard_colors_lock = True + + for i in range(29): + arm.rigify_layers.add() + + arm.rigify_layers[0].name = " " + arm.rigify_layers[0].row = 1 + arm.rigify_layers[0].set = False + arm.rigify_layers[0].group = 0 + arm.rigify_layers[1].name = " " + arm.rigify_layers[1].row = 1 + arm.rigify_layers[1].set = False + arm.rigify_layers[1].group = 0 + arm.rigify_layers[2].name = " " + arm.rigify_layers[2].row = 1 + arm.rigify_layers[2].set = False + arm.rigify_layers[2].group = 0 + arm.rigify_layers[3].name = "Torso" + arm.rigify_layers[3].row = 3 + arm.rigify_layers[3].set = False + arm.rigify_layers[3].group = 3 + arm.rigify_layers[4].name = "Torso (Tweak)" + arm.rigify_layers[4].row = 4 + arm.rigify_layers[4].set = False + arm.rigify_layers[4].group = 4 + arm.rigify_layers[5].name = " " + arm.rigify_layers[5].row = 1 + arm.rigify_layers[5].set = False + arm.rigify_layers[5].group = 0 + arm.rigify_layers[6].name = " " + arm.rigify_layers[6].row = 1 + arm.rigify_layers[6].set = False + arm.rigify_layers[6].group = 0 + arm.rigify_layers[7].name = "Arm.L (IK)" + arm.rigify_layers[7].row = 7 + arm.rigify_layers[7].set = False + arm.rigify_layers[7].group = 2 + arm.rigify_layers[8].name = "Arm.L (FK)" + arm.rigify_layers[8].row = 8 + arm.rigify_layers[8].set = False + arm.rigify_layers[8].group = 5 + arm.rigify_layers[9].name = "Arm.L (Tweak)" + arm.rigify_layers[9].row = 9 + arm.rigify_layers[9].set = False + arm.rigify_layers[9].group = 4 + arm.rigify_layers[10].name = "Arm.R (IK)" + arm.rigify_layers[10].row = 7 + arm.rigify_layers[10].set = False + arm.rigify_layers[10].group = 2 + arm.rigify_layers[11].name = "Arm.R (FK)" + arm.rigify_layers[11].row = 8 + arm.rigify_layers[11].set = False + arm.rigify_layers[11].group = 5 + arm.rigify_layers[12].name = "Arm.R (Tweak)" + arm.rigify_layers[12].row = 9 + arm.rigify_layers[12].set = False + arm.rigify_layers[12].group = 4 + arm.rigify_layers[13].name = "Leg.L (IK)" + arm.rigify_layers[13].row = 10 + arm.rigify_layers[13].set = False + arm.rigify_layers[13].group = 2 + arm.rigify_layers[14].name = "Leg.L (FK)" + arm.rigify_layers[14].row = 11 + arm.rigify_layers[14].set = False + arm.rigify_layers[14].group = 5 + arm.rigify_layers[15].name = "Leg.L (Tweak)" + arm.rigify_layers[15].row = 12 + arm.rigify_layers[15].set = False + arm.rigify_layers[15].group = 4 + arm.rigify_layers[16].name = "Leg.R (IK)" + arm.rigify_layers[16].row = 10 + arm.rigify_layers[16].set = False + arm.rigify_layers[16].group = 2 + arm.rigify_layers[17].name = "Leg.R (FK)" + arm.rigify_layers[17].row = 11 + arm.rigify_layers[17].set = False + arm.rigify_layers[17].group = 5 + arm.rigify_layers[18].name = "Leg.R (Tweak)" + arm.rigify_layers[18].row = 12 + arm.rigify_layers[18].set = False + arm.rigify_layers[18].group = 4 + arm.rigify_layers[19].name = "" + arm.rigify_layers[19].row = 1 + arm.rigify_layers[19].set = False + arm.rigify_layers[19].group = 0 + arm.rigify_layers[20].name = "" + arm.rigify_layers[20].row = 1 + arm.rigify_layers[20].set = False + arm.rigify_layers[20].group = 0 + arm.rigify_layers[21].name = "" + arm.rigify_layers[21].row = 1 + arm.rigify_layers[21].set = False + arm.rigify_layers[21].group = 0 + arm.rigify_layers[22].name = "" + arm.rigify_layers[22].row = 1 + arm.rigify_layers[22].set = False + arm.rigify_layers[22].group = 0 + arm.rigify_layers[23].name = "" + arm.rigify_layers[23].row = 1 + arm.rigify_layers[23].set = False + arm.rigify_layers[23].group = 0 + arm.rigify_layers[24].name = "" + arm.rigify_layers[24].row = 1 + arm.rigify_layers[24].set = False + arm.rigify_layers[24].group = 0 + arm.rigify_layers[25].name = "" + arm.rigify_layers[25].row = 1 + arm.rigify_layers[25].set = False + arm.rigify_layers[25].group = 0 + arm.rigify_layers[26].name = "" + arm.rigify_layers[26].row = 1 + arm.rigify_layers[26].set = False + arm.rigify_layers[26].group = 0 + arm.rigify_layers[27].name = "" + arm.rigify_layers[27].row = 1 + arm.rigify_layers[27].set = False + arm.rigify_layers[27].group = 0 + arm.rigify_layers[28].name = "Root" + arm.rigify_layers[28].row = 14 + arm.rigify_layers[28].set = False + arm.rigify_layers[28].group = 1 + + bones = {} + + bone = arm.edit_bones.new('spine') + bone.head[:] = 0.0000, 0.0552, 1.0099 + bone.tail[:] = 0.0000, 0.0172, 1.1573 + bone.roll = 0.0000 + bone.use_connect = False + bones['spine'] = bone.name + bone = arm.edit_bones.new('spine.001') + bone.head[:] = 0.0000, 0.0172, 1.1573 + bone.tail[:] = 0.0000, 0.0004, 1.2929 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine']] + bones['spine.001'] = bone.name + bone = arm.edit_bones.new('pelvis.L') + bone.head[:] = 0.0000, 0.0552, 1.0099 + bone.tail[:] = 0.1112, -0.0451, 1.1533 + bone.roll = -1.0756 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine']] + bones['pelvis.L'] = bone.name + bone = arm.edit_bones.new('pelvis.R') + bone.head[:] = -0.0000, 0.0552, 1.0099 + bone.tail[:] = -0.1112, -0.0451, 1.1533 + bone.roll = 1.0756 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine']] + bones['pelvis.R'] = bone.name + bone = arm.edit_bones.new('thigh.L') + bone.head[:] = 0.0980, 0.0124, 1.0720 + bone.tail[:] = 0.0980, -0.0286, 0.5372 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine']] + bones['thigh.L'] = bone.name + bone = arm.edit_bones.new('thigh.R') + bone.head[:] = -0.0980, 0.0124, 1.0720 + bone.tail[:] = -0.0980, -0.0286, 0.5372 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine']] + bones['thigh.R'] = bone.name + bone = arm.edit_bones.new('spine.002') + bone.head[:] = 0.0000, 0.0004, 1.2929 + bone.tail[:] = 0.0000, 0.0059, 1.4657 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.001']] + bones['spine.002'] = bone.name + bone = arm.edit_bones.new('shin.L') + bone.head[:] = 0.0980, -0.0286, 0.5372 + bone.tail[:] = 0.0980, 0.0162, 0.0852 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['thigh.L']] + bones['shin.L'] = bone.name + bone = arm.edit_bones.new('shin.R') + bone.head[:] = -0.0980, -0.0286, 0.5372 + bone.tail[:] = -0.0980, 0.0162, 0.0852 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['thigh.R']] + bones['shin.R'] = bone.name + bone = arm.edit_bones.new('spine.003') + bone.head[:] = 0.0000, 0.0059, 1.4657 + bone.tail[:] = 0.0000, 0.0114, 1.6582 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.002']] + bones['spine.003'] = bone.name + bone = arm.edit_bones.new('foot.L') + bone.head[:] = 0.0980, 0.0162, 0.0852 + bone.tail[:] = 0.0980, -0.0934, 0.0167 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['shin.L']] + bones['foot.L'] = bone.name + bone = arm.edit_bones.new('foot.R') + bone.head[:] = -0.0980, 0.0162, 0.0852 + bone.tail[:] = -0.0980, -0.0934, 0.0167 + bone.roll = -0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['shin.R']] + bones['foot.R'] = bone.name + bone = arm.edit_bones.new('spine.004') + bone.head[:] = 0.0000, 0.0114, 1.6582 + bone.tail[:] = 0.0000, -0.0130, 1.7197 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.003']] + bones['spine.004'] = bone.name + bone = arm.edit_bones.new('shoulder.L') + bone.head[:] = 0.0183, -0.0684, 1.6051 + bone.tail[:] = 0.1694, 0.0205, 1.6050 + bone.roll = 0.0004 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.003']] + bones['shoulder.L'] = bone.name + bone = arm.edit_bones.new('shoulder.R') + bone.head[:] = -0.0183, -0.0684, 1.6051 + bone.tail[:] = -0.1694, 0.0205, 1.6050 + bone.roll = -0.0004 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.003']] + bones['shoulder.R'] = bone.name + bone = arm.edit_bones.new('breast.L') + bone.head[:] = 0.1184, 0.0485, 1.4596 + bone.tail[:] = 0.1184, -0.0907, 1.4596 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.003']] + bones['breast.L'] = bone.name + bone = arm.edit_bones.new('breast.R') + bone.head[:] = -0.1184, 0.0485, 1.4596 + bone.tail[:] = -0.1184, -0.0907, 1.4596 + bone.roll = -0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.003']] + bones['breast.R'] = bone.name + bone = arm.edit_bones.new('toe.L') + bone.head[:] = 0.0980, -0.0934, 0.0167 + bone.tail[:] = 0.0980, -0.1606, 0.0167 + bone.roll = -0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['foot.L']] + bones['toe.L'] = bone.name + bone = arm.edit_bones.new('heel.02.L') + bone.head[:] = 0.0600, 0.0459, 0.0000 + bone.tail[:] = 0.1400, 0.0459, 0.0000 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['foot.L']] + bones['heel.02.L'] = bone.name + bone = arm.edit_bones.new('toe.R') + bone.head[:] = -0.0980, -0.0934, 0.0167 + bone.tail[:] = -0.0980, -0.1606, 0.0167 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['foot.R']] + bones['toe.R'] = bone.name + bone = arm.edit_bones.new('heel.02.R') + bone.head[:] = -0.0600, 0.0459, 0.0000 + bone.tail[:] = -0.1400, 0.0459, 0.0000 + bone.roll = -0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['foot.R']] + bones['heel.02.R'] = bone.name + bone = arm.edit_bones.new('spine.005') + bone.head[:] = 0.0000, -0.0130, 1.7197 + bone.tail[:] = 0.0000, -0.0247, 1.7813 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.004']] + bones['spine.005'] = bone.name + bone = arm.edit_bones.new('upper_arm.L') + bone.head[:] = 0.1953, 0.0267, 1.5846 + bone.tail[:] = 0.4424, 0.0885, 1.4491 + bone.roll = 2.0724 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['shoulder.L']] + bones['upper_arm.L'] = bone.name + bone = arm.edit_bones.new('upper_arm.R') + bone.head[:] = -0.1953, 0.0267, 1.5846 + bone.tail[:] = -0.4424, 0.0885, 1.4491 + bone.roll = -2.0724 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['shoulder.R']] + bones['upper_arm.R'] = bone.name + bone = arm.edit_bones.new('spine.006') + bone.head[:] = 0.0000, -0.0247, 1.7813 + bone.tail[:] = 0.0000, -0.0247, 1.9796 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.005']] + bones['spine.006'] = bone.name + bone = arm.edit_bones.new('forearm.L') + bone.head[:] = 0.4424, 0.0885, 1.4491 + bone.tail[:] = 0.6594, 0.0492, 1.3061 + bone.roll = 2.1535 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['upper_arm.L']] + bones['forearm.L'] = bone.name + bone = arm.edit_bones.new('forearm.R') + bone.head[:] = -0.4424, 0.0885, 1.4491 + bone.tail[:] = -0.6594, 0.0492, 1.3061 + bone.roll = -2.1535 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['upper_arm.R']] + bones['forearm.R'] = bone.name + bone = arm.edit_bones.new('hand.L') + bone.head[:] = 0.6594, 0.0492, 1.3061 + bone.tail[:] = 0.7234, 0.0412, 1.2585 + bone.roll = 2.2103 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['forearm.L']] + bones['hand.L'] = bone.name + bone = arm.edit_bones.new('hand.R') + bone.head[:] = -0.6594, 0.0492, 1.3061 + bone.tail[:] = -0.7234, 0.0412, 1.2585 + bone.roll = -2.2103 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['forearm.R']] + bones['hand.R'] = bone.name + + bpy.ops.object.mode_set(mode='OBJECT') + pbone = obj.pose.bones[bones['spine']] + pbone.rigify_type = 'spines.super_spine' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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] + try: + pbone.rigify_parameters.neck_pos = 5 + except AttributeError: + pass + try: + pbone.rigify_parameters.tweak_layers = [False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['spine.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['pelvis.L']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'YXZ' + 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] + try: + pbone.rigify_parameters.make_control = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['pelvis.R']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'YXZ' + 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] + try: + pbone.rigify_parameters.make_control = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['thigh.L']] + pbone.rigify_type = 'limbs.super_limb' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False] + try: + pbone.rigify_parameters.limb_type = "leg" + 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 + try: + 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 + pbone = obj.pose.bones[bones['thigh.R']] + pbone.rigify_type = 'limbs.super_limb' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, 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] + try: + pbone.rigify_parameters.fk_layers = [False, False, 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] + except AttributeError: + pass + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + try: + pbone.rigify_parameters.limb_type = "leg" + except AttributeError: + pass + pbone = obj.pose.bones[bones['spine.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['shin.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False] + pbone = obj.pose.bones[bones['shin.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, 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] + pbone = obj.pose.bones[bones['spine.003']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['foot.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False] + pbone = obj.pose.bones[bones['foot.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, 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] + pbone = obj.pose.bones[bones['spine.004']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['shoulder.L']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'YXZ' + 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] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['shoulder.R']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'YXZ' + 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] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['breast.L']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'YXZ' + 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['breast.R']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'YXZ' + 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['toe.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False] + pbone = obj.pose.bones[bones['heel.02.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False] + pbone = obj.pose.bones[bones['toe.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, 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] + pbone = obj.pose.bones[bones['heel.02.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, 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] + pbone = obj.pose.bones[bones['spine.005']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False, False, False, False] + try: + pbone.rigify_parameters.tweak_layers = [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, False, False, False, False, False] + except AttributeError: + pass + try: + pbone.rigify_parameters.fk_layers = [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, False, False, False, False, False, False] + except AttributeError: + pass + pbone = obj.pose.bones[bones['upper_arm.R']] + pbone.rigify_type = 'limbs.super_limb' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + try: + pbone.rigify_parameters.tweak_layers = [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, False, False] + except AttributeError: + pass + try: + pbone.rigify_parameters.fk_layers = [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, False, False, False] + except AttributeError: + pass + pbone = obj.pose.bones[bones['spine.006']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['forearm.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False, False, False, False] + pbone = obj.pose.bones[bones['forearm.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + pbone = obj.pose.bones[bones['hand.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False, False, False, False] + pbone = obj.pose.bones[bones['hand.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + + bpy.ops.object.mode_set(mode='EDIT') + for bone in arm.edit_bones: + bone.select = False + bone.select_head = False + bone.select_tail = False + for b in bones: + bone = arm.edit_bones[bones[b]] + bone.select = True + bone.select_head = True + bone.select_tail = True + arm.edit_bones.active = bone + + arm.layers = [(x in [3, 7, 10, 13, 16]) for x in range(32)] + +if __name__ == "__main__": + create(bpy.context.active_object)
\ No newline at end of file diff --git a/rigify/metarigs/Basic/basic_quadruped.py b/rigify/metarigs/Basic/basic_quadruped.py new file mode 100644 index 00000000..fe3449e1 --- /dev/null +++ b/rigify/metarigs/Basic/basic_quadruped.py @@ -0,0 +1,819 @@ +import bpy + + +from mathutils import Color + + +def create(obj): + # generated by rigify.utils.write_metarig + bpy.ops.object.mode_set(mode='EDIT') + arm = obj.data + + for i in range(6): + arm.rigify_colors.add() + + arm.rigify_colors[0].name = "Root" + arm.rigify_colors[0].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[0].normal = Color((0.4352940022945404, 0.18431399762630463, 0.4156860113143921)) + arm.rigify_colors[0].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[0].standard_colors_lock = True + arm.rigify_colors[1].name = "IK" + arm.rigify_colors[1].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[1].normal = Color((0.6039220094680786, 0.0, 0.0)) + arm.rigify_colors[1].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[1].standard_colors_lock = True + arm.rigify_colors[2].name = "Special" + arm.rigify_colors[2].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[2].normal = Color((0.9568629860877991, 0.7882350087165833, 0.04705899953842163)) + arm.rigify_colors[2].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[2].standard_colors_lock = True + arm.rigify_colors[3].name = "Tweak" + arm.rigify_colors[3].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[3].normal = Color((0.03921600058674812, 0.21176500618457794, 0.5803920030593872)) + arm.rigify_colors[3].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[3].standard_colors_lock = True + arm.rigify_colors[4].name = "FK" + arm.rigify_colors[4].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[4].normal = Color((0.11764699965715408, 0.5686269998550415, 0.035294000059366226)) + arm.rigify_colors[4].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[4].standard_colors_lock = True + arm.rigify_colors[5].name = "Extra" + arm.rigify_colors[5].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[5].normal = Color((0.9686279892921448, 0.2509799897670746, 0.09411799907684326)) + arm.rigify_colors[5].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[5].standard_colors_lock = True + + for i in range(29): + arm.rigify_layers.add() + + arm.rigify_layers[0].name = " " + arm.rigify_layers[0].row = 1 + arm.rigify_layers[0].set = False + arm.rigify_layers[0].group = 0 + arm.rigify_layers[1].name = " " + arm.rigify_layers[1].row = 2 + arm.rigify_layers[1].set = False + arm.rigify_layers[1].group = 0 + arm.rigify_layers[2].name = " " + arm.rigify_layers[2].row = 2 + arm.rigify_layers[2].set = False + arm.rigify_layers[2].group = 0 + arm.rigify_layers[3].name = "Spine" + arm.rigify_layers[3].row = 3 + arm.rigify_layers[3].set = False + arm.rigify_layers[3].group = 3 + arm.rigify_layers[4].name = "Spine (Tweak)" + arm.rigify_layers[4].row = 4 + arm.rigify_layers[4].set = False + arm.rigify_layers[4].group = 4 + arm.rigify_layers[5].name = " " + arm.rigify_layers[5].row = 5 + arm.rigify_layers[5].set = False + arm.rigify_layers[5].group = 0 + arm.rigify_layers[6].name = " " + arm.rigify_layers[6].row = 6 + arm.rigify_layers[6].set = False + arm.rigify_layers[6].group = 0 + arm.rigify_layers[7].name = "Arm.L (IK)" + arm.rigify_layers[7].row = 7 + arm.rigify_layers[7].set = False + arm.rigify_layers[7].group = 2 + arm.rigify_layers[8].name = "Arm.L (FK)" + arm.rigify_layers[8].row = 8 + arm.rigify_layers[8].set = False + arm.rigify_layers[8].group = 5 + arm.rigify_layers[9].name = "Arm.L (Tweak)" + arm.rigify_layers[9].row = 9 + arm.rigify_layers[9].set = False + arm.rigify_layers[9].group = 4 + arm.rigify_layers[10].name = "Arm.R (IK)" + arm.rigify_layers[10].row = 7 + arm.rigify_layers[10].set = False + arm.rigify_layers[10].group = 2 + arm.rigify_layers[11].name = "Arm.R (FK)" + arm.rigify_layers[11].row = 8 + arm.rigify_layers[11].set = False + arm.rigify_layers[11].group = 5 + arm.rigify_layers[12].name = "Arm.R (Tweak)" + arm.rigify_layers[12].row = 9 + arm.rigify_layers[12].set = False + arm.rigify_layers[12].group = 4 + arm.rigify_layers[13].name = "Leg.L (IK)" + arm.rigify_layers[13].row = 10 + arm.rigify_layers[13].set = False + arm.rigify_layers[13].group = 2 + arm.rigify_layers[14].name = "Leg.L (FK)" + arm.rigify_layers[14].row = 11 + arm.rigify_layers[14].set = False + arm.rigify_layers[14].group = 5 + arm.rigify_layers[15].name = "Leg.L (Tweak)" + arm.rigify_layers[15].row = 12 + arm.rigify_layers[15].set = False + arm.rigify_layers[15].group = 4 + arm.rigify_layers[16].name = "Leg.R (IK)" + arm.rigify_layers[16].row = 10 + arm.rigify_layers[16].set = False + arm.rigify_layers[16].group = 2 + arm.rigify_layers[17].name = "Leg.R (FK)" + arm.rigify_layers[17].row = 11 + arm.rigify_layers[17].set = False + arm.rigify_layers[17].group = 5 + arm.rigify_layers[18].name = "Leg.R (Tweak)" + arm.rigify_layers[18].row = 12 + arm.rigify_layers[18].set = False + arm.rigify_layers[18].group = 4 + arm.rigify_layers[19].name = "Tail" + arm.rigify_layers[19].row = 13 + arm.rigify_layers[19].set = False + arm.rigify_layers[19].group = 6 + arm.rigify_layers[20].name = "" + arm.rigify_layers[20].row = 1 + arm.rigify_layers[20].set = False + arm.rigify_layers[20].group = 0 + arm.rigify_layers[21].name = "" + arm.rigify_layers[21].row = 13 + arm.rigify_layers[21].set = False + arm.rigify_layers[21].group = 0 + arm.rigify_layers[22].name = "" + arm.rigify_layers[22].row = 13 + arm.rigify_layers[22].set = False + arm.rigify_layers[22].group = 0 + arm.rigify_layers[23].name = "" + arm.rigify_layers[23].row = 1 + arm.rigify_layers[23].set = False + arm.rigify_layers[23].group = 0 + arm.rigify_layers[24].name = "" + arm.rigify_layers[24].row = 1 + arm.rigify_layers[24].set = False + arm.rigify_layers[24].group = 0 + arm.rigify_layers[25].name = "" + arm.rigify_layers[25].row = 1 + arm.rigify_layers[25].set = False + arm.rigify_layers[25].group = 0 + arm.rigify_layers[26].name = "" + arm.rigify_layers[26].row = 1 + arm.rigify_layers[26].set = False + arm.rigify_layers[26].group = 0 + arm.rigify_layers[27].name = "" + arm.rigify_layers[27].row = 1 + arm.rigify_layers[27].set = False + arm.rigify_layers[27].group = 0 + arm.rigify_layers[28].name = "Root" + arm.rigify_layers[28].row = 14 + arm.rigify_layers[28].set = False + arm.rigify_layers[28].group = 1 + + bones = {} + + bone = arm.edit_bones.new('spine') + bone.head[:] = 0.0000, 1.1044, 0.7633 + bone.tail[:] = 0.0000, 0.9624, 0.7412 + bone.roll = 0.0000 + bone.use_connect = False + bones['spine'] = bone.name + bone = arm.edit_bones.new('spine.001') + bone.head[:] = 0.0000, 0.9624, 0.7412 + bone.tail[:] = 0.0000, 0.7755, 0.7418 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine']] + bones['spine.001'] = bone.name + bone = arm.edit_bones.new('spine.002') + bone.head[:] = 0.0000, 0.7755, 0.7418 + bone.tail[:] = 0.0000, 0.5547, 0.7568 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.001']] + bones['spine.002'] = bone.name + bone = arm.edit_bones.new('spine.003') + bone.head[:] = 0.0000, 0.5547, 0.7568 + bone.tail[:] = 0.0000, 0.4418, 0.7954 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.002']] + bones['spine.003'] = bone.name + bone = arm.edit_bones.new('spine.004') + bone.head[:] = 0.0000, 0.4418, 0.7954 + bone.tail[:] = 0.0000, 0.3546, 0.8059 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.003']] + bones['spine.004'] = bone.name + bone = arm.edit_bones.new('spine.005') + bone.head[:] = 0.0000, 0.3546, 0.8059 + bone.tail[:] = 0.0000, 0.1803, 0.7782 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.004']] + bones['spine.005'] = bone.name + bone = arm.edit_bones.new('spine.006') + bone.head[:] = 0.0000, 0.1803, 0.7782 + bone.tail[:] = 0.0000, 0.0319, 0.7731 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.005']] + bones['spine.006'] = bone.name + bone = arm.edit_bones.new('pelvis.L') + bone.head[:] = 0.0000, 0.3757, 0.6043 + bone.tail[:] = 0.0751, 0.2755, 0.8544 + bone.roll = -1.5841 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.005']] + bones['pelvis.L'] = bone.name + bone = arm.edit_bones.new('pelvis.R') + bone.head[:] = -0.0000, 0.3757, 0.6043 + bone.tail[:] = -0.0751, 0.2755, 0.8544 + bone.roll = 1.5841 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.005']] + bones['pelvis.R'] = bone.name + bone = arm.edit_bones.new('thigh.L') + bone.head[:] = 0.1249, 0.3419, 0.7379 + bone.tail[:] = 0.1249, 0.2712, 0.4731 + bone.roll = -0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.005']] + bones['thigh.L'] = bone.name + bone = arm.edit_bones.new('thigh.R') + bone.head[:] = -0.1249, 0.3419, 0.7379 + bone.tail[:] = -0.1249, 0.2712, 0.4731 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.005']] + bones['thigh.R'] = bone.name + bone = arm.edit_bones.new('spine.007') + bone.head[:] = 0.0000, 0.0319, 0.7731 + bone.tail[:] = 0.0000, -0.0980, 0.7945 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.006']] + bones['spine.007'] = bone.name + bone = arm.edit_bones.new('shin.L') + bone.head[:] = 0.1249, 0.2712, 0.4731 + bone.tail[:] = 0.1114, 0.4766, 0.2473 + bone.roll = 0.0195 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['thigh.L']] + bones['shin.L'] = bone.name + bone = arm.edit_bones.new('shin.R') + bone.head[:] = -0.1249, 0.2712, 0.4731 + bone.tail[:] = -0.1114, 0.4766, 0.2473 + bone.roll = -0.0195 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['thigh.R']] + bones['shin.R'] = bone.name + bone = arm.edit_bones.new('spine.008') + bone.head[:] = 0.0000, -0.0980, 0.7945 + bone.tail[:] = 0.0000, -0.3618, 0.8375 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.007']] + bones['spine.008'] = bone.name + bone = arm.edit_bones.new('foot.L') + bone.head[:] = 0.1114, 0.4766, 0.2473 + bone.tail[:] = 0.1088, 0.4138, 0.0411 + bone.roll = 0.0165 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['shin.L']] + bones['foot.L'] = bone.name + bone = arm.edit_bones.new('foot.R') + bone.head[:] = -0.1114, 0.4766, 0.2473 + bone.tail[:] = -0.1088, 0.4138, 0.0411 + bone.roll = -0.0165 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['shin.R']] + bones['foot.R'] = bone.name + bone = arm.edit_bones.new('spine.009') + bone.head[:] = 0.0000, -0.3618, 0.8375 + bone.tail[:] = 0.0000, -0.4253, 0.8585 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.008']] + bones['spine.009'] = bone.name + bone = arm.edit_bones.new('shoulder.L') + bone.head[:] = 0.0596, -0.2578, 0.8876 + bone.tail[:] = 0.1249, -0.3418, 0.7153 + bone.roll = -0.3526 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.008']] + bones['shoulder.L'] = bone.name + bone = arm.edit_bones.new('shoulder.R') + bone.head[:] = -0.0596, -0.2578, 0.8876 + bone.tail[:] = -0.1249, -0.3418, 0.7153 + bone.roll = 0.3526 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.008']] + bones['shoulder.R'] = bone.name + bone = arm.edit_bones.new('breast.L') + bone.head[:] = 0.0340, -0.1694, 0.6676 + bone.tail[:] = 0.0340, -0.3139, 0.5296 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.008']] + bones['breast.L'] = bone.name + bone = arm.edit_bones.new('breast.R') + bone.head[:] = -0.0340, -0.1694, 0.6676 + bone.tail[:] = -0.0340, -0.3139, 0.5296 + bone.roll = -0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['spine.008']] + bones['breast.R'] = bone.name + bone = arm.edit_bones.new('toe.L') + bone.head[:] = 0.1088, 0.4138, 0.0411 + bone.tail[:] = 0.1088, 0.2808, 0.0000 + bone.roll = 3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['foot.L']] + bones['toe.L'] = bone.name + bone = arm.edit_bones.new('toe.R') + bone.head[:] = -0.1088, 0.4138, 0.0411 + bone.tail[:] = -0.1088, 0.2808, 0.0000 + bone.roll = -3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['foot.R']] + bones['toe.R'] = bone.name + bone = arm.edit_bones.new('spine.010') + bone.head[:] = 0.0000, -0.4253, 0.8585 + bone.tail[:] = 0.0000, -0.4888, 0.8796 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.009']] + bones['spine.010'] = bone.name + bone = arm.edit_bones.new('front_thigh.L') + bone.head[:] = 0.1249, -0.3161, 0.6902 + bone.tail[:] = 0.1249, -0.2245, 0.4418 + bone.roll = -0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['shoulder.L']] + bones['front_thigh.L'] = bone.name + bone = arm.edit_bones.new('front_thigh.R') + bone.head[:] = -0.1249, -0.3161, 0.6902 + bone.tail[:] = -0.1249, -0.2245, 0.4418 + bone.roll = 0.0000 + bone.use_connect = False + bone.parent = arm.edit_bones[bones['shoulder.R']] + bones['front_thigh.R'] = bone.name + bone = arm.edit_bones.new('spine.011') + bone.head[:] = 0.0000, -0.4888, 0.8796 + bone.tail[:] = 0.0000, -0.6590, 0.9809 + bone.roll = 0.0000 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['spine.010']] + bones['spine.011'] = bone.name + bone = arm.edit_bones.new('front_shin.L') + bone.head[:] = 0.1249, -0.2245, 0.4418 + bone.tail[:] = 0.1114, -0.2147, 0.1698 + bone.roll = 0.0098 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['front_thigh.L']] + bones['front_shin.L'] = bone.name + bone = arm.edit_bones.new('front_shin.R') + bone.head[:] = -0.1249, -0.2245, 0.4418 + bone.tail[:] = -0.1114, -0.2147, 0.1698 + bone.roll = -0.0098 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['front_thigh.R']] + bones['front_shin.R'] = bone.name + bone = arm.edit_bones.new('front_foot.L') + bone.head[:] = 0.1114, -0.2147, 0.1698 + bone.tail[:] = 0.1088, -0.2462, 0.0411 + bone.roll = 0.0272 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['front_shin.L']] + bones['front_foot.L'] = bone.name + bone = arm.edit_bones.new('front_foot.R') + bone.head[:] = -0.1114, -0.2147, 0.1698 + bone.tail[:] = -0.1088, -0.2462, 0.0411 + bone.roll = -0.0272 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['front_shin.R']] + bones['front_foot.R'] = bone.name + bone = arm.edit_bones.new('front_toe.L') + bone.head[:] = 0.1088, -0.2462, 0.0411 + bone.tail[:] = 0.1088, -0.3707, 0.0000 + bone.roll = 3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['front_foot.L']] + bones['front_toe.L'] = bone.name + bone = arm.edit_bones.new('front_toe.R') + bone.head[:] = -0.1088, -0.2462, 0.0411 + bone.tail[:] = -0.1088, -0.3707, 0.0000 + bone.roll = -3.1416 + bone.use_connect = True + bone.parent = arm.edit_bones[bones['front_foot.R']] + bones['front_toe.R'] = bone.name + + bpy.ops.object.mode_set(mode='OBJECT') + pbone = obj.pose.bones[bones['spine']] + pbone.rigify_type = 'spines.super_spine' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, 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] + try: + pbone.rigify_parameters.tweak_layers = [False, 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] + except AttributeError: + pass + try: + pbone.rigify_parameters.use_tail = True + except AttributeError: + pass + try: + pbone.rigify_parameters.tail_pos = 4 + except AttributeError: + pass + try: + pbone.rigify_parameters.pivot_pos = 8 + except AttributeError: + pass + try: + pbone.rigify_parameters.neck_pos = 10 + except AttributeError: + pass + try: + pbone.rigify_parameters.copy_rotation_axes = [True, False, True] + except AttributeError: + pass + pbone = obj.pose.bones[bones['spine.001']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, 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] + pbone = obj.pose.bones[bones['spine.002']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, 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] + try: + pbone.rigify_parameters.tweak_extra_layers = False + except AttributeError: + pass + try: + pbone.rigify_parameters.tweak_layers = [False, True, False, False, False, False, False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['spine.003']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, False, False, False, 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] + pbone = obj.pose.bones[bones['spine.004']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['spine.005']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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] + try: + pbone.rigify_parameters.neck_pos = 5 + except AttributeError: + pass + try: + pbone.rigify_parameters.tweak_layers = [False, 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] + except AttributeError: + pass + pbone = obj.pose.bones[bones['spine.006']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['pelvis.L']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'YXZ' + 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] + try: + pbone.rigify_parameters.make_control = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['pelvis.R']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'YXZ' + 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] + try: + pbone.rigify_parameters.make_control = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['thigh.L']] + pbone.rigify_type = 'limbs.super_limb' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False] + try: + pbone.rigify_parameters.limb_type = "paw" + 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 + try: + 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 + pbone = obj.pose.bones[bones['thigh.R']] + pbone.rigify_type = 'limbs.super_limb' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, 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] + try: + pbone.rigify_parameters.fk_layers = [False, False, 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] + except AttributeError: + pass + try: + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] + except AttributeError: + pass + try: + pbone.rigify_parameters.limb_type = "paw" + except AttributeError: + pass + pbone = obj.pose.bones[bones['spine.007']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['shin.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False] + pbone = obj.pose.bones[bones['shin.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, 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] + pbone = obj.pose.bones[bones['spine.008']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['foot.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False] + pbone = obj.pose.bones[bones['foot.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, 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] + pbone = obj.pose.bones[bones['spine.009']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['shoulder.L']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'YXZ' + pbone.bone.layers = [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, False, False, False, False, False, False, False] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['shoulder.R']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'YXZ' + pbone.bone.layers = [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, False, False, False, False] + try: + pbone.rigify_parameters.make_widget = False + except AttributeError: + pass + pbone = obj.pose.bones[bones['breast.L']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'YXZ' + pbone.bone.layers = [False, 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] + pbone = obj.pose.bones[bones['breast.R']] + pbone.rigify_type = 'basic.super_copy' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'YXZ' + pbone.bone.layers = [False, 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] + pbone = obj.pose.bones[bones['toe.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False] + try: + pbone.rigify_parameters.limb_type = "paw" + except AttributeError: + pass + pbone = obj.pose.bones[bones['toe.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [False, 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] + try: + pbone.rigify_parameters.limb_type = "paw" + except AttributeError: + pass + pbone = obj.pose.bones[bones['spine.010']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['front_thigh.L']] + pbone.rigify_type = 'limbs.super_limb' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False, False, False, False] + try: + pbone.rigify_parameters.limb_type = "paw" + except AttributeError: + pass + try: + pbone.rigify_parameters.fk_layers = [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, False, False, False, False, False, False] + except AttributeError: + pass + try: + pbone.rigify_parameters.tweak_layers = [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, False, False, False, False, False] + except AttributeError: + pass + pbone = obj.pose.bones[bones['front_thigh.R']] + pbone.rigify_type = 'limbs.super_limb' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + try: + pbone.rigify_parameters.limb_type = "paw" + except AttributeError: + pass + try: + pbone.rigify_parameters.fk_layers = [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, False, False, False] + except AttributeError: + pass + try: + pbone.rigify_parameters.tweak_layers = [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, False, False] + except AttributeError: + pass + pbone = obj.pose.bones[bones['spine.011']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + 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['front_shin.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False, False, False, False] + pbone = obj.pose.bones[bones['front_shin.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + pbone = obj.pose.bones[bones['front_foot.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False, False, False, False] + pbone = obj.pose.bones[bones['front_foot.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + pbone = obj.pose.bones[bones['front_toe.L']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False, False, False, False] + try: + pbone.rigify_parameters.limb_type = "paw" + except AttributeError: + pass + pbone = obj.pose.bones[bones['front_toe.R']] + pbone.rigify_type = '' + pbone.lock_location = (False, False, False) + pbone.lock_rotation = (False, False, False) + pbone.lock_rotation_w = False + pbone.lock_scale = (False, False, False) + pbone.rotation_mode = 'QUATERNION' + pbone.bone.layers = [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, False, False, False, False] + try: + pbone.rigify_parameters.rotation_axis = "x" + except AttributeError: + pass + try: + pbone.rigify_parameters.limb_type = "paw" + except AttributeError: + pass + + bpy.ops.object.mode_set(mode='EDIT') + for bone in arm.edit_bones: + bone.select = False + bone.select_head = False + bone.select_tail = False + for b in bones: + bone = arm.edit_bones[bones[b]] + bone.select = True + bone.select_head = True + bone.select_tail = True + arm.edit_bones.active = bone + + arm.layers = [(x in [3, 4, 7, 10, 13, 16, 19]) for x in range(32)] + +if __name__ == "__main__": + create(bpy.context.active_object)
\ No newline at end of file diff --git a/rigify/metarigs/human.py b/rigify/metarigs/human.py index c641fdbf..cf301cd2 100644 --- a/rigify/metarigs/human.py +++ b/rigify/metarigs/human.py @@ -1,71 +1,167 @@ import bpy + +from mathutils import Color + + def create(obj): # generated by rigify.utils.write_metarig bpy.ops.object.mode_set(mode='EDIT') arm = obj.data + for i in range(6): + arm.rigify_colors.add() + + arm.rigify_colors[0].name = "Root" + arm.rigify_colors[0].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[0].normal = Color((0.4352940022945404, 0.18431399762630463, 0.4156860113143921)) + arm.rigify_colors[0].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[0].standard_colors_lock = True + arm.rigify_colors[1].name = "IK" + arm.rigify_colors[1].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[1].normal = Color((0.6039220094680786, 0.0, 0.0)) + arm.rigify_colors[1].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[1].standard_colors_lock = True + arm.rigify_colors[2].name = "Special" + arm.rigify_colors[2].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[2].normal = Color((0.9568629860877991, 0.7882350087165833, 0.04705899953842163)) + arm.rigify_colors[2].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[2].standard_colors_lock = True + arm.rigify_colors[3].name = "Tweak" + arm.rigify_colors[3].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[3].normal = Color((0.03921600058674812, 0.21176500618457794, 0.5803920030593872)) + arm.rigify_colors[3].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[3].standard_colors_lock = True + arm.rigify_colors[4].name = "FK" + arm.rigify_colors[4].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[4].normal = Color((0.11764699965715408, 0.5686269998550415, 0.035294000059366226)) + arm.rigify_colors[4].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[4].standard_colors_lock = True + arm.rigify_colors[5].name = "Extra" + arm.rigify_colors[5].active = Color((0.5490196347236633, 1.0, 1.0)) + arm.rigify_colors[5].normal = Color((0.9686279892921448, 0.2509799897670746, 0.09411799907684326)) + arm.rigify_colors[5].select = Color((0.31372547149658203, 0.7843138575553894, 1.0)) + arm.rigify_colors[5].standard_colors_lock = True + for i in range(29): arm.rigify_layers.add() arm.rigify_layers[0].name = "Face" arm.rigify_layers[0].row = 1 + arm.rigify_layers[0].set = False + arm.rigify_layers[0].group = 5 arm.rigify_layers[1].name = "Face (Primary)" arm.rigify_layers[1].row = 2 + arm.rigify_layers[1].set = False + arm.rigify_layers[1].group = 2 arm.rigify_layers[2].name = "Face (Secondary)" arm.rigify_layers[2].row = 2 + arm.rigify_layers[2].set = False + arm.rigify_layers[2].group = 3 arm.rigify_layers[3].name = "Torso" arm.rigify_layers[3].row = 3 + arm.rigify_layers[3].set = False + arm.rigify_layers[3].group = 3 arm.rigify_layers[4].name = "Torso (Tweak)" arm.rigify_layers[4].row = 4 + arm.rigify_layers[4].set = False + arm.rigify_layers[4].group = 4 arm.rigify_layers[5].name = "Fingers" arm.rigify_layers[5].row = 5 + arm.rigify_layers[5].set = False + arm.rigify_layers[5].group = 6 arm.rigify_layers[6].name = "Fingers (Tweak)" arm.rigify_layers[6].row = 6 + arm.rigify_layers[6].set = False + arm.rigify_layers[6].group = 4 arm.rigify_layers[7].name = "Arm.L (IK)" arm.rigify_layers[7].row = 7 + arm.rigify_layers[7].set = False + arm.rigify_layers[7].group = 2 arm.rigify_layers[8].name = "Arm.L (FK)" arm.rigify_layers[8].row = 8 + arm.rigify_layers[8].set = False + arm.rigify_layers[8].group = 5 arm.rigify_layers[9].name = "Arm.L (Tweak)" arm.rigify_layers[9].row = 9 + arm.rigify_layers[9].set = False + arm.rigify_layers[9].group = 4 arm.rigify_layers[10].name = "Arm.R (IK)" arm.rigify_layers[10].row = 7 + arm.rigify_layers[10].set = False + arm.rigify_layers[10].group = 2 arm.rigify_layers[11].name = "Arm.R (FK)" arm.rigify_layers[11].row = 8 + arm.rigify_layers[11].set = False + arm.rigify_layers[11].group = 5 arm.rigify_layers[12].name = "Arm.R (Tweak)" arm.rigify_layers[12].row = 9 + arm.rigify_layers[12].set = False + arm.rigify_layers[12].group = 4 arm.rigify_layers[13].name = "Leg.L (IK)" arm.rigify_layers[13].row = 10 + arm.rigify_layers[13].set = False + arm.rigify_layers[13].group = 2 arm.rigify_layers[14].name = "Leg.L (FK)" arm.rigify_layers[14].row = 11 + arm.rigify_layers[14].set = False + arm.rigify_layers[14].group = 5 arm.rigify_layers[15].name = "Leg.L (Tweak)" arm.rigify_layers[15].row = 12 + arm.rigify_layers[15].set = False + arm.rigify_layers[15].group = 4 arm.rigify_layers[16].name = "Leg.R (IK)" arm.rigify_layers[16].row = 10 + arm.rigify_layers[16].set = False + arm.rigify_layers[16].group = 2 arm.rigify_layers[17].name = "Leg.R (FK)" arm.rigify_layers[17].row = 11 + arm.rigify_layers[17].set = False + arm.rigify_layers[17].group = 5 arm.rigify_layers[18].name = "Leg.R (Tweak)" arm.rigify_layers[18].row = 12 + arm.rigify_layers[18].set = False + arm.rigify_layers[18].group = 4 arm.rigify_layers[19].name = "" arm.rigify_layers[19].row = 1 + arm.rigify_layers[19].set = False + arm.rigify_layers[19].group = 0 arm.rigify_layers[20].name = "" arm.rigify_layers[20].row = 1 + arm.rigify_layers[20].set = False + arm.rigify_layers[20].group = 0 arm.rigify_layers[21].name = "" arm.rigify_layers[21].row = 1 + arm.rigify_layers[21].set = False + arm.rigify_layers[21].group = 0 arm.rigify_layers[22].name = "" arm.rigify_layers[22].row = 1 + arm.rigify_layers[22].set = False + arm.rigify_layers[22].group = 0 arm.rigify_layers[23].name = "" arm.rigify_layers[23].row = 1 + arm.rigify_layers[23].set = False + arm.rigify_layers[23].group = 0 arm.rigify_layers[24].name = "" arm.rigify_layers[24].row = 1 + arm.rigify_layers[24].set = False + arm.rigify_layers[24].group = 0 arm.rigify_layers[25].name = "" arm.rigify_layers[25].row = 1 + arm.rigify_layers[25].set = False + arm.rigify_layers[25].group = 0 arm.rigify_layers[26].name = "" arm.rigify_layers[26].row = 1 + arm.rigify_layers[26].set = False + arm.rigify_layers[26].group = 0 arm.rigify_layers[27].name = "" arm.rigify_layers[27].row = 1 + arm.rigify_layers[27].set = False + arm.rigify_layers[27].group = 0 arm.rigify_layers[28].name = "Root" arm.rigify_layers[28].row = 14 + arm.rigify_layers[28].set = False + arm.rigify_layers[28].group = 1 bones = {} @@ -154,7 +250,7 @@ def create(obj): bones['foot.R'] = bone.name bone = arm.edit_bones.new('spine.004') bone.head[:] = 0.0000, 0.0114, 1.6582 - bone.tail[:] = 0.0000, -0.013, 1.7197 + bone.tail[:] = 0.0000, -0.0130, 1.7197 bone.roll = 0.0000 bone.use_connect = True bone.parent = arm.edit_bones[bones['spine.003']] @@ -216,7 +312,7 @@ def create(obj): bone.parent = arm.edit_bones[bones['foot.R']] bones['heel.02.R'] = bone.name bone = arm.edit_bones.new('spine.005') - bone.head[:] = 0.0000, -0.013, 1.7197 + bone.head[:] = 0.0000, -0.0130, 1.7197 bone.tail[:] = 0.0000, -0.0247, 1.7813 bone.roll = 0.0000 bone.use_connect = True @@ -386,7 +482,7 @@ def create(obj): bone = arm.edit_bones.new('eye.R') bone.head[:] = -0.0516, -0.1209, 1.8941 bone.tail[:] = -0.0516, -0.1451, 1.8941 - bone.roll = -0.0000 + bone.roll = 0.0000 bone.use_connect = False bone.parent = arm.edit_bones[bones['face']] bones['eye.R'] = bone.name @@ -1191,7 +1287,6 @@ def create(obj): pbone.lock_scale = (False, False, False) 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] - try: pbone.rigify_parameters.neck_pos = 5 except AttributeError: @@ -1241,22 +1336,6 @@ def create(obj): pbone.rotation_mode = 'QUATERNION' pbone.bone.layers = [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, False] try: - pbone.rigify_parameters.separate_ik_layers = True - except AttributeError: - pass - try: - pbone.rigify_parameters.ik_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 - try: - pbone.rigify_parameters.separate_hose_layers = True - except AttributeError: - pass - try: - pbone.rigify_parameters.hose_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.limb_type = "leg" except AttributeError: pass @@ -1277,22 +1356,6 @@ def create(obj): pbone.rotation_mode = 'QUATERNION' pbone.bone.layers = [False, 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] try: - pbone.rigify_parameters.separate_ik_layers = True - except AttributeError: - pass - try: - pbone.rigify_parameters.ik_layers = [False, False, 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] - except AttributeError: - pass - try: - pbone.rigify_parameters.separate_hose_layers = True - except AttributeError: - pass - try: - pbone.rigify_parameters.hose_layers = [False, False, False, 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] - except AttributeError: - pass - try: pbone.rigify_parameters.fk_layers = [False, False, 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] except AttributeError: pass @@ -1449,22 +1512,6 @@ def create(obj): pbone.rotation_mode = 'QUATERNION' pbone.bone.layers = [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, False, False, False, False, False, False, False] try: - pbone.rigify_parameters.separate_ik_layers = True - except AttributeError: - pass - try: - pbone.rigify_parameters.ik_layers = [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, False, False, False, False, False, False] - except AttributeError: - pass - try: - pbone.rigify_parameters.separate_hose_layers = True - except AttributeError: - pass - try: - pbone.rigify_parameters.hose_layers = [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, False, False, False, False, False] - except AttributeError: - pass - try: pbone.rigify_parameters.tweak_layers = [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, False, False, False, False, False] except AttributeError: pass @@ -1481,22 +1528,6 @@ def create(obj): pbone.rotation_mode = 'QUATERNION' pbone.bone.layers = [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, False, False, False, False] try: - pbone.rigify_parameters.separate_ik_layers = True - except AttributeError: - pass - try: - pbone.rigify_parameters.ik_layers = [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, False, False, False] - except AttributeError: - pass - try: - pbone.rigify_parameters.separate_hose_layers = True - except AttributeError: - pass - try: - pbone.rigify_parameters.hose_layers = [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, False, False] - except AttributeError: - pass - try: pbone.rigify_parameters.tweak_layers = [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, False, False] except AttributeError: pass @@ -1933,15 +1964,11 @@ def create(obj): pbone.rotation_mode = 'QUATERNION' pbone.bone.layers = [False, False, 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] try: - pbone.rigify_parameters.separate_extra_layers = True - except AttributeError: - pass - try: - pbone.rigify_parameters.extra_layers = [False, False, 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] + pbone.rigify_parameters.tweak_extra_layers = True except AttributeError: pass try: - pbone.rigify_parameters.tweak_extra_layers = False + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] except AttributeError: pass pbone = obj.pose.bones[bones['thumb.01.L']] @@ -1953,15 +1980,11 @@ def create(obj): pbone.rotation_mode = 'QUATERNION' pbone.bone.layers = [False, False, 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] try: - pbone.rigify_parameters.extra_layers = [False, False, 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] + pbone.rigify_parameters.tweak_extra_layers = True except AttributeError: pass try: - pbone.rigify_parameters.separate_extra_layers = True - except AttributeError: - pass - try: - pbone.rigify_parameters.tweak_extra_layers = False + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] except AttributeError: pass pbone = obj.pose.bones[bones['f_middle.01.L']] @@ -1973,15 +1996,11 @@ def create(obj): pbone.rotation_mode = 'QUATERNION' pbone.bone.layers = [False, False, 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] try: - pbone.rigify_parameters.separate_extra_layers = True - except AttributeError: - pass - try: - pbone.rigify_parameters.extra_layers = [False, False, 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] + pbone.rigify_parameters.tweak_extra_layers = True except AttributeError: pass try: - pbone.rigify_parameters.tweak_extra_layers = False + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] except AttributeError: pass pbone = obj.pose.bones[bones['f_ring.01.L']] @@ -1993,15 +2012,11 @@ def create(obj): pbone.rotation_mode = 'QUATERNION' pbone.bone.layers = [False, False, 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] try: - pbone.rigify_parameters.separate_extra_layers = True + pbone.rigify_parameters.tweak_extra_layers = True except AttributeError: pass try: - pbone.rigify_parameters.extra_layers = [False, False, 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] - except AttributeError: - pass - try: - pbone.rigify_parameters.tweak_extra_layers = False + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] except AttributeError: pass pbone = obj.pose.bones[bones['f_pinky.01.L']] @@ -2013,15 +2028,11 @@ def create(obj): pbone.rotation_mode = 'QUATERNION' pbone.bone.layers = [False, False, 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] try: - pbone.rigify_parameters.separate_extra_layers = True - except AttributeError: - pass - try: - pbone.rigify_parameters.extra_layers = [False, False, 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] + pbone.rigify_parameters.tweak_extra_layers = True except AttributeError: pass try: - pbone.rigify_parameters.tweak_extra_layers = False + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] except AttributeError: pass pbone = obj.pose.bones[bones['f_index.01.R']] @@ -2033,15 +2044,11 @@ def create(obj): pbone.rotation_mode = 'QUATERNION' pbone.bone.layers = [False, False, 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] try: - pbone.rigify_parameters.extra_layers = [False, False, 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] + pbone.rigify_parameters.tweak_extra_layers = True except AttributeError: pass try: - pbone.rigify_parameters.separate_extra_layers = True - except AttributeError: - pass - try: - pbone.rigify_parameters.tweak_extra_layers = False + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] except AttributeError: pass pbone = obj.pose.bones[bones['thumb.01.R']] @@ -2053,15 +2060,11 @@ def create(obj): pbone.rotation_mode = 'QUATERNION' pbone.bone.layers = [False, False, 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] try: - pbone.rigify_parameters.separate_extra_layers = True + pbone.rigify_parameters.tweak_extra_layers = True except AttributeError: pass try: - pbone.rigify_parameters.extra_layers = [False, False, 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] - except AttributeError: - pass - try: - pbone.rigify_parameters.tweak_extra_layers = False + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] except AttributeError: pass pbone = obj.pose.bones[bones['f_middle.01.R']] @@ -2073,15 +2076,11 @@ def create(obj): pbone.rotation_mode = 'QUATERNION' pbone.bone.layers = [False, False, 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] try: - pbone.rigify_parameters.separate_extra_layers = True + pbone.rigify_parameters.tweak_extra_layers = True except AttributeError: pass try: - pbone.rigify_parameters.extra_layers = [False, False, 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] - except AttributeError: - pass - try: - pbone.rigify_parameters.tweak_extra_layers = False + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] except AttributeError: pass pbone = obj.pose.bones[bones['f_ring.01.R']] @@ -2093,15 +2092,11 @@ def create(obj): pbone.rotation_mode = 'QUATERNION' pbone.bone.layers = [False, False, 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] try: - pbone.rigify_parameters.separate_extra_layers = True - except AttributeError: - pass - try: - pbone.rigify_parameters.extra_layers = [False, False, 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] + pbone.rigify_parameters.tweak_extra_layers = True except AttributeError: pass try: - pbone.rigify_parameters.tweak_extra_layers = False + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] except AttributeError: pass pbone = obj.pose.bones[bones['f_pinky.01.R']] @@ -2113,15 +2108,11 @@ def create(obj): pbone.rotation_mode = 'QUATERNION' pbone.bone.layers = [False, False, 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] try: - pbone.rigify_parameters.separate_extra_layers = True - except AttributeError: - pass - try: - pbone.rigify_parameters.extra_layers = [False, False, 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] + pbone.rigify_parameters.tweak_extra_layers = True except AttributeError: pass try: - pbone.rigify_parameters.tweak_extra_layers = False + pbone.rigify_parameters.tweak_layers = [False, False, False, 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] except AttributeError: pass pbone = obj.pose.bones[bones['nose.002']] diff --git a/rigify/rigs/faces/super_face.py b/rigify/rigs/faces/super_face.py index ae12ecf6..129ddb87 100644 --- a/rigify/rigs/faces/super_face.py +++ b/rigify/rigs/faces/super_face.py @@ -57,6 +57,15 @@ class Rig: else: self.secondary_layers = None + def orient_org_bones(self): + + bpy.ops.object.mode_set(mode='EDIT') + eb = self.obj.data.edit_bones + + # Adjust eye bones roll + eb['ORG-eye.L'].roll = 0.0 + eb['ORG-eye.R'].roll = 0.0 + def symmetrical_split(self, bones): # RE pattern match right or left parts @@ -254,6 +263,16 @@ class Rig: eb[ tweak_name ].use_connect = False eb[ tweak_name ].parent = None + if bone in uniques: + if bone.split('.')[-1] == 'L': + simmetrical_bone = bone[:-1] + 'R' + elif bone.split('.')[-1] == 'R': + simmetrical_bone = bone[:-1] + 'L' + middle_position = (eb[bone].head + eb[simmetrical_bone].head)/2 + eb[tweak_name].head = middle_position + eb[tweak_name].tail[0] = middle_position[0] + eb[tweak_name].tail[1] = middle_position[1] + tweaks.append( tweak_name ) eb[ tweak_name ].tail[:] = \ @@ -979,7 +998,8 @@ class Rig: }, tweak_unique def generate(self): - + + self.orient_org_bones() all_bones, tweak_unique = self.create_bones() self.parent_bones(all_bones, tweak_unique) self.constraints(all_bones) @@ -1184,7 +1204,7 @@ def create_sample(obj): bone = arm.edit_bones.new('eye.R') bone.head[:] = -0.0360, -0.0686, 0.1107 bone.tail[:] = -0.0360, -0.0848, 0.1107 - bone.roll = -0.0000 + bone.roll = 0.0000 bone.use_connect = False bone.parent = arm.edit_bones[bones['face']] bones['eye.R'] = bone.name diff --git a/rigify/rigs/limbs/arm.py b/rigify/rigs/limbs/arm.py index e7e08c41..b5c07569 100644 --- a/rigify/rigs/limbs/arm.py +++ b/rigify/rigs/limbs/arm.py @@ -1140,22 +1140,6 @@ def create_sample(obj): bones = {} - for _ in range(29): - arm.rigify_layers.add() - - arm.rigify_layers[5].name = 'Fingers' - arm.rigify_layers[5].row = 5 - arm.rigify_layers[6].name = 'Fingers (Tweak)' - arm.rigify_layers[6].row = 6 - arm.rigify_layers[7].name = 'Arm.L (IK)' - arm.rigify_layers[7].row = 7 - arm.rigify_layers[8].name = 'Arm.L (FK)' - arm.rigify_layers[8].row = 8 - arm.rigify_layers[9].name = 'Arm.L (Tweak)' - arm.rigify_layers[9].row = 9 - arm.rigify_layers[28].name = "Root" - arm.rigify_layers[28].row = 14 - bone = arm.edit_bones.new('upper_arm.L') bone.head[:] = 0.1953, 0.0267, 1.5846 bone.tail[:] = 0.4424, 0.0885, 1.4491 diff --git a/rigify/rigs/limbs/leg.py b/rigify/rigs/limbs/leg.py index c1cd1f06..021f641b 100644 --- a/rigify/rigs/limbs/leg.py +++ b/rigify/rigs/limbs/leg.py @@ -1449,18 +1449,6 @@ def create_sample(obj): bones = {} - for _ in range(29): - arm.rigify_layers.add() - - arm.rigify_layers[13].name = 'Leg.L (IK)' - arm.rigify_layers[13].row = 10 - arm.rigify_layers[14].name = 'Leg.L (FK)' - arm.rigify_layers[14].row = 11 - arm.rigify_layers[15].name = 'Leg.L (Tweak)' - arm.rigify_layers[15].row = 12 - arm.rigify_layers[28].name = "Root" - arm.rigify_layers[28].row = 14 - bone = arm.edit_bones.new('thigh.L') bone.head[:] = 0.0980, 0.0124, 1.0720 bone.tail[:] = 0.0980, -0.0286, 0.5372 diff --git a/rigify/rigs/limbs/paw.py b/rigify/rigs/limbs/paw.py index 720dea1c..8c9dab20 100644 --- a/rigify/rigs/limbs/paw.py +++ b/rigify/rigs/limbs/paw.py @@ -1277,22 +1277,6 @@ def create_sample(obj): bones = {} - for _ in range(29): - arm.rigify_layers.add() - - arm.rigify_layers[5].name = 'Paws' - arm.rigify_layers[5].row = 5 - arm.rigify_layers[6].name = 'Paws (Tweak)' - arm.rigify_layers[6].row = 6 - arm.rigify_layers[7].name = 'Arm.L (IK)' - arm.rigify_layers[7].row = 7 - arm.rigify_layers[8].name = 'Arm.L (FK)' - arm.rigify_layers[8].row = 8 - arm.rigify_layers[9].name = 'Arm.L (Tweak)' - arm.rigify_layers[9].row = 9 - arm.rigify_layers[28].name = "Root" - arm.rigify_layers[28].row = 14 - bone = arm.edit_bones.new('upper_arm.L') bone.head[:] = 0.0313, -0.1149, 0.2257 bone.tail[:] = 0.0313, -0.0878, 0.1235 diff --git a/rigify/rigs/limbs/rear_paw.py b/rigify/rigs/limbs/rear_paw.py index 015ede83..74974bb6 100644 --- a/rigify/rigs/limbs/rear_paw.py +++ b/rigify/rigs/limbs/rear_paw.py @@ -21,22 +21,6 @@ def create_sample(obj): bones = {} - for _ in range(29): - arm.rigify_layers.add() - - arm.rigify_layers[5].name = 'Paws' - arm.rigify_layers[5].row = 5 - arm.rigify_layers[6].name = 'Paws (Tweak)' - arm.rigify_layers[6].row = 6 - arm.rigify_layers[13].name = 'Leg.L (IK)' - arm.rigify_layers[13].row = 7 - arm.rigify_layers[14].name = 'Leg.L (FK)' - arm.rigify_layers[14].row = 8 - arm.rigify_layers[15].name = 'Leg.L (Tweak)' - arm.rigify_layers[15].row = 9 - arm.rigify_layers[28].name = "Root" - arm.rigify_layers[28].row = 14 - bone = arm.edit_bones.new('thigh.L') bone.head[:] = 0.0291, 0.1181, 0.2460 bone.tail[:] = 0.0293, 0.1107, 0.1682 diff --git a/rigify/ui.py b/rigify/ui.py index 4c9e6e78..b4feb2b6 100644 --- a/rigify/ui.py +++ b/rigify/ui.py @@ -20,6 +20,7 @@ import bpy from bpy.props import StringProperty +from mathutils import Color from .utils import get_rig_type, MetarigError from .utils import write_metarig, write_widget @@ -34,7 +35,6 @@ class DATA_PT_rigify_buttons(bpy.types.Panel): bl_space_type = 'PROPERTIES' bl_region_type = 'WINDOW' bl_context = "data" - #bl_options = {'DEFAULT_OPEN'} @classmethod def poll(cls, context): @@ -70,6 +70,40 @@ class DATA_PT_rigify_buttons(bpy.types.Panel): layout.label(text=WARNING, icon='ERROR') layout.operator("pose.rigify_generate", text="Generate Rig") + layout.prop(id_store, "rigify_advanced_generation") + + if id_store.rigify_advanced_generation: + + main_row = layout.row(align=True).split(percentage=0.3) + col1 = main_row.column() + col2 = main_row.column() + col1.label(text="Target Rig") + col1.label(text="Target UI") + + row = col2.row(align=True) + + for i in range(0, len(id_store.rigify_target_rigs)): + id_store.rigify_target_rigs.remove(0) + + for ob in context.scene.objects: + if type(ob.data) == bpy.types.Armature and "rig_id" in ob.data: + id_store.rigify_target_rigs.add() + id_store.rigify_target_rigs[-1].name = ob.name + + row.prop_search(id_store, "rigify_target_rig", id_store, "rigify_target_rigs", text="", + icon='OUTLINER_OB_ARMATURE') + + for i in range(0, len(id_store.rigify_rig_uis)): + id_store.rigify_rig_uis.remove(0) + + for t in bpy.data.texts: + id_store.rigify_rig_uis.add() + id_store.rigify_rig_uis[-1].name = t.name + + row = col2.row() + row.prop_search(id_store, "rigify_rig_ui", id_store, "rigify_rig_uis", text="", icon='TEXT') + + layout.prop(id_store, "rigify_force_widget_update") if show_update_metarig: layout.label(text="Some bones have old legacy rigify_type. Click to upgrade", icon='ERROR') @@ -84,7 +118,7 @@ class DATA_PT_rigify_buttons(bpy.types.Panel): id_store.rigify_types.remove(0) for r in rig_lists.rig_list: - # collection = r.split('.')[0] # UNUSED + if collection_name == "All": a = id_store.rigify_types.add() a.name = r @@ -95,10 +129,6 @@ class DATA_PT_rigify_buttons(bpy.types.Panel): a = id_store.rigify_types.add() a.name = r - ## Rig collection field - #row = layout.row() - #row.prop(id_store, 'rigify_collection', text="Category") - # Rig type list row = layout.row() row.template_list("UI_UL_list", "rigify_types", id_store, "rigify_types", id_store, 'rigify_active_type') @@ -129,21 +159,30 @@ class DATA_PT_rigify_layer_names(bpy.types.Panel): arm.rigify_layers.add() else: # Can't add while drawing, just use button - if len(arm.rigify_layers) < 28: + if len(arm.rigify_layers) < 29: layout.operator("pose.rigify_layer_init") return # UI + main_row = layout.row(align=True).split(0.05) + col1 = main_row.column() + col2 = main_row.column() + col1.label() + for i in range(32): + if i == 16 or i == 29: + col1.label() + col1.label(str(i+1) + '.') + for i, rigify_layer in enumerate(arm.rigify_layers): # note: rigify_layer == arm.rigify_layers[i] if (i % 16) == 0: - col = layout.column() + col = col2.column() if i == 0: col.label(text="Top Row:") else: col.label(text="Bottom Row:") if (i % 8) == 0: - col = layout.column() + col = col2.column() if i != 28: row = col.row(align=True) icon = 'RESTRICT_VIEW_OFF' if arm.layers[i] else 'RESTRICT_VIEW_ON' @@ -172,7 +211,7 @@ class DATA_PT_rigify_layer_names(bpy.types.Panel): else: row.label(text=arm.rigify_colors[rigify_layer.group-1].name) - col = layout.column() + col = col2.column() col.label(text="Reserved:") # reserved_names = {28: 'Root', 29: 'DEF', 30: 'MCH', 31: 'ORG'} reserved_names = {29: 'DEF', 30: 'MCH', 31: 'ORG'} @@ -198,20 +237,31 @@ class DATA_OT_rigify_add_bone_groups(bpy.types.Operator): if not hasattr(armature, 'rigify_colors'): return {'FINISHED'} - groups = ['Face', 'Face Primary', 'Face Secondary', 'FK', 'IK', 'Tweaks', 'Torso', 'Upper Body', 'Upper Spine'] - themes = {'Face': 'THEME11', 'Face Primary': 'THEME01', 'Face Secondary': 'THEME09', - 'FK': 'THEME04', 'IK': 'THEME01', 'Tweaks': 'THEME14', - 'Torso': 'THEME03', 'Upper Body': 'THEME09', 'Upper Spine': 'THEME02'} + groups = ['Root', 'IK', 'Special', 'Tweak', 'FK', 'Extra'] for g in groups: if g in armature.rigify_colors.keys(): continue + armature.rigify_colors.add() armature.rigify_colors[-1].name = g - id = int(themes[g][-2:]) - 1 - armature.rigify_colors[-1].normal = bpy.context.user_preferences.themes[0].bone_color_sets[id].normal - armature.rigify_colors[-1].select = bpy.context.user_preferences.themes[0].bone_color_sets[id].select - armature.rigify_colors[-1].active = bpy.context.user_preferences.themes[0].bone_color_sets[id].active + + armature.rigify_colors[g].select = Color((0.3140000104904175, 0.7839999794960022, 1.0)) + armature.rigify_colors[g].active = Color((0.5490000247955322, 1.0, 1.0)) + armature.rigify_colors[g].standard_colors_lock = True + + if g == "Root": + armature.rigify_colors[g].normal = Color((0.43529415130615234, 0.18431372940540314, 0.41568630933761597)) + if g == "IK": + armature.rigify_colors[g].normal = Color((0.6039215922355652, 0.0, 0.0)) + if g== "Special": + armature.rigify_colors[g].normal = Color((0.9568628072738647, 0.7882353663444519, 0.0470588281750679)) + if g== "Tweak": + armature.rigify_colors[g].normal = Color((0.03921568766236305, 0.21176472306251526, 0.5803921818733215)) + if g== "FK": + armature.rigify_colors[g].normal = Color((0.11764706671237946, 0.5686274766921997, 0.03529411926865578)) + if g== "Extra": + armature.rigify_colors[g].normal = Color((0.9686275124549866, 0.250980406999588, 0.0941176563501358)) return {'FINISHED'} @@ -553,20 +603,6 @@ class VIEW3D_PT_tools_rigify_dev(bpy.types.Panel): r = self.layout.row() r.operator("mesh.rigify_encode_mesh_widget", text="Encode Mesh Widget to Python") -#~ class INFO_MT_armature_metarig_add(bpy.types.Menu): - #~ bl_idname = "INFO_MT_armature_metarig_add" - #~ bl_label = "Meta-Rig" - - #~ def draw(self, context): - #~ import rigify - - #~ layout = self.layout - #~ layout.operator_context = 'INVOKE_REGION_WIN' - - #~ for submodule_type in rigify.get_submodule_types(): - #~ text = bpy.path.display_name(submodule_type) - #~ layout.operator("pose.metarig_sample_add", text=text, icon='OUTLINER_OB_ARMATURE').metarig_type = submodule_type - def rigify_report_exception(operator, exception): import traceback @@ -600,8 +636,10 @@ class LayerInit(bpy.types.Operator): def execute(self, context): obj = context.object arm = obj.data - for i in range(1 + len(arm.rigify_layers), 29): + for i in range(1 + len(arm.rigify_layers), 30): arm.rigify_layers.add() + arm.rigify_layers[28].name = 'Root' + arm.rigify_layers[28].row = 14 return {'FINISHED'} @@ -696,7 +734,7 @@ class EncodeMetarig(bpy.types.Operator): else: text_block = bpy.data.texts.new(name) - text = write_metarig(context.active_object, layers=True, func_name="create") + text = write_metarig(context.active_object, layers=True, func_name="create", groups=True) text_block.write(text) bpy.ops.object.mode_set(mode='EDIT') diff --git a/rigify/utils.py b/rigify/utils.py index 32f845b8..ee5856c7 100644 --- a/rigify/utils.py +++ b/rigify/utils.py @@ -26,7 +26,7 @@ import random import time import re import os -from mathutils import Vector, Matrix +from mathutils import Vector, Matrix, Color from rna_prop_ui import rna_idprop_ui_prop_get RIG_DIR = "rigs" # Name of the directory where rig types are kept @@ -51,6 +51,7 @@ outdated_types = {"pitchipoy.limbs.super_limb": "limbs.super_limb", "pitchipoy.simple_tentacle": "limbs.simple_tentacle", "pitchipoy.super_face": "faces.super_face", "pitchipoy.super_palm": "limbs.super_palm", + "pitchipoy.super_copy": "basic.super_copy", "palm": "limbs.super_palm", "basic.copy": "basic.super_copy"} @@ -954,7 +955,7 @@ def get_layers(layers): return [x in layers for x in range(0, 32)] -def write_metarig(obj, layers=False, func_name="create"): +def write_metarig(obj, layers=False, func_name="create", groups=False): """ Write a metarig as a python script, this rig is to have all info needed for generating the real rig with rigify. @@ -962,6 +963,7 @@ def write_metarig(obj, layers=False, func_name="create"): code = [] code.append("import bpy\n\n") + code.append("from mathutils import Color\n\n") code.append("def %s(obj):" % func_name) code.append(" # generated by rigify.utils.write_metarig") @@ -971,6 +973,23 @@ def write_metarig(obj, layers=False, func_name="create"): arm = obj.data + # Rigify bone group colors info + if groups and len(arm.rigify_colors) > 0: + code.append("\n for i in range(" + str(len(arm.rigify_colors)) + "):") + code.append(" arm.rigify_colors.add()\n") + + for i in range(len(arm.rigify_colors)): + name = arm.rigify_colors[i].name + active = arm.rigify_colors[i].active + normal = arm.rigify_colors[i].normal + select = arm.rigify_colors[i].select + standard_colors_lock = arm.rigify_colors[i].standard_colors_lock + code.append(' arm.rigify_colors[' + str(i) + '].name = "' + name + '"') + code.append(' arm.rigify_colors[' + str(i) + '].active = Color(' + str(active[:]) + ')') + code.append(' arm.rigify_colors[' + str(i) + '].normal = Color(' + str(normal[:]) + ')') + code.append(' arm.rigify_colors[' + str(i) + '].select = Color(' + str(select[:]) + ')') + code.append(' arm.rigify_colors[' + str(i) + '].standard_colors_lock = ' + str(standard_colors_lock)) + # Rigify layer layout info if layers and len(arm.rigify_layers) > 0: code.append("\n for i in range(" + str(len(arm.rigify_layers)) + "):") @@ -979,8 +998,12 @@ def write_metarig(obj, layers=False, func_name="create"): for i in range(len(arm.rigify_layers)): name = arm.rigify_layers[i].name row = arm.rigify_layers[i].row + set = arm.rigify_layers[i].set + group = arm.rigify_layers[i].group code.append(' arm.rigify_layers[' + str(i) + '].name = "' + name + '"') code.append(' arm.rigify_layers[' + str(i) + '].row = ' + str(row)) + code.append(' arm.rigify_layers[' + str(i) + '].set = ' + str(set)) + code.append(' arm.rigify_layers[' + str(i) + '].group = ' + str(group)) # write parents first bones = [(len(bone.parent_recursive), bone.name) for bone in arm.edit_bones] @@ -1118,3 +1141,31 @@ def random_id(length=8): text += random.choice(chars) text += str(hex(int(time.time())))[2:][-tlength:].rjust(tlength, '0')[::-1] return text + + +#============================================= +# Color correction functions +#============================================= + +def linsrgb_to_srgb (linsrgb): + """Convert physically linear RGB values into sRGB ones. The transform is + uniform in the components, so *linsrgb* can be of any shape. + + *linsrgb* values should range between 0 and 1, inclusively. + + """ + # From Wikipedia, but easy analogue to the above. + gamma = 1.055 * linsrgb**(1./2.4) - 0.055 + scale = linsrgb * 12.92 + # return np.where (linsrgb > 0.0031308, gamma, scale) + if linsrgb > 0.0031308: + return gamma + return scale + + +def gamma_correct(color): + + corrected_color = Color() + for i, component in enumerate(color): + corrected_color[i] = linsrgb_to_srgb(color[i]) + return corrected_color |