Changeset View
Changeset View
Standalone View
Standalone View
rigify/rigs/basic/copy_chain.py
| Show All 15 Lines | |||||
| # | # | ||||
| #======================= END GPL LICENSE BLOCK ======================== | #======================= END GPL LICENSE BLOCK ======================== | ||||
| # <pep8 compliant> | # <pep8 compliant> | ||||
| import bpy | import bpy | ||||
| from ..chain_rigs import SimpleChainRig | from ..chain_rigs import SimpleChainRig | ||||
| from ...base_rig import stage | |||||
| from ...utils.errors import MetarigError | |||||
| from ...utils.rig import connected_children_names | |||||
| from ...utils.naming import make_derived_name | |||||
| from ...utils.widgets_basic import create_bone_widget | |||||
| from ...base_rig import BaseRig, stage | |||||
| class Rig(SimpleChainRig): | class Rig(SimpleChainRig): | ||||
| """ A "copy_chain" rig. All it does is duplicate the original bone chain | """ A "copy_chain" rig. All it does is duplicate the original bone chain | ||||
| and constrain it. | and constrain it. | ||||
| This is a control and deformation rig. | This is a control and deformation rig. | ||||
| """ | """ | ||||
| def initialize(self): | def initialize(self): | ||||
| ▲ Show 20 Lines • Show All 141 Lines • Show Last 20 Lines | |||||