autorigs.modules.spine package¶
Submodules¶
autorigs.modules.spine.autoRigsSpineBuilder module¶
-
class
autorigs.modules.spine.autoRigsSpineBuilder.
AutoRigsSpineBuilder
¶ Bases:
object
-
DEFAULT_SPINE_PREFIX
= 'Spine'¶
-
SUFFIX
= {'bellyblend': 'belly_blend', 'bellyctrl': 'belly_ctrl', 'bonegroup': 'bones_group', 'chestablend': 'chest_a_blend', 'chestactrl': 'Chest_A_ctrl', 'chestatbelly': 'chest_at_belly', 'chestatchesta': 'chest_at_chest_a', 'chestatcog': 'chest_at_COG', 'chestatlocal': 'chest_at_local', 'chestctrl': 'Chest_ctrl', 'chestfollowcog': 'chest_follow_COG', 'chesthook': 'CHEST_HOOK', 'chestn': 'Chest_N', 'chopnet': 'spine_chopnet', 'cogctrl': 'COG_ctrl', 'coghook': 'COG_HOOK', 'controlgroup': 'control_group', 'hipsatbelly': 'hips_at_belly', 'hipsatchesta': 'hips_at_chest_a', 'hipsctrl': 'Hips_ctrl', 'hipshook': 'HIPS_HOOK', 'hipsn': 'Hips_N', 'localctrl': 'Local_ctrl', 'localhook': 'LOCAL_HOOK', 'nodegroup': 'all_node_group', 'pelvisbone': 'pelvis_bone', 'pelvisctrl': 'pelvis_ctrl', 'pelvisctrlptr': 'pelvis_ctrl_ptr', 'pelvisik': 'Pelvis_IK', 'shouldersctrl': 'shoulders_ctrl', 'spineboneformat': 'Spine_bone_{}', 'spinebonesblend': 'Spine_bones_blend', 'spinecurve': 'spine_curve', 'spinecurve_midpoints': 'delete_midpoints', 'spinecv0': 'spine_cv_0', 'spinecv1': 'spine_cv_1', 'spinecv2': 'spine_cv_2', 'spinecv3': 'spine_cv_3', 'spineik': 'Spine_IK', 'spineroot': 'Spine_root', 'visiblegroup': 'visible_group'}¶
-
classmethod
buildRig
(index, autorig_asset, options, spineguide, parent, modulename)¶
-
classmethod
buildRigControls
(index, autorig_asset, options, spineguide, parent, modulename)¶
-
classmethod
getPrefix
(index)¶
-
autorigs.modules.spine.autoRigsSpineInterfaceBuilder module¶
-
class
autorigs.modules.spine.autoRigsSpineInterfaceBuilder.
AutoRigsSpineInterfaceBuilder
¶ -
BONE_DISPLAY_MENU
= ['ON', 'OFF']¶
-
CONTROL_DISPLAY_MENU
= ['ON', 'Basic', 'OFF']¶
-
INTERFACE_NAME_LABEL
= {'belly': ('belly', 'Belly'), 'bonedisplay': ('bonedisplay', 'Bone Display'), 'chest': ('chest', 'Chest'), 'chesta': ('chesta', 'Chest_A_Ctrl'), 'chestfollowcog': ('chestfollowcog', 'Chest Follow COG'), 'cog': ('cog', 'Cog'), 'controldisplay': ('controldisplay', 'Control Display'), 'folder': ('spine', 'Spine'), 'hips': ('hips', 'Hips'), 'local': ('local', 'Local'), 'pelvis': ('pelvis', 'Pelvis'), 'setdefault': ('setdefault', 'Reset To Defaults'), 'setkey': ('setkey', 'Set Key')}¶
-
classmethod
buildRigInterface
(autorig_asset, options, controls, index, modulename)¶
-
classmethod
buildRigInterfaceParms
(controls, autorig_asset, prefix, modulename)¶
-
classmethod
linkRigInterfaceParms
(controls, autorig_asset, prefix)¶
-
autorigs.modules.spine.buildSpineGuide module¶
-
class
autorigs.modules.spine.buildSpineGuide.
SpineFactory
¶ Bases:
autorigs.modules.base.buildBaseGuide.BaseFactory
-
classmethod
createFromDefault
(json, assetnode, parent=None)¶
-
classmethod
createFromJsonExisting
(json, assetnode, parent=None)¶
-
classmethod
createFromJsonNew
(json, guidejson, assetnode, parent=None)¶
-
classmethod
-
class
autorigs.modules.spine.buildSpineGuide.
SpineGuide
(assetnode, parent=None)¶ Bases:
autorigs.modules.base.buildBaseGuide.BaseGuide
-
JSON_LABEL
= {'basehook': 'basehook', 'cog': 'cog', 'guidecurve': 'guidecurve', 'guidecurve_add': 'guidecurve_add', 'guidecurve_merge': 'guidecurve_merge', 'guidecurve_out': 'guidecurve_out', 'guidecurve_polywire': 'guidecurve_polywire', 'guideroot': 'spineroot', 'pelvis': 'pelvis', 'spine00': 'spine00', 'spine01': 'spine01', 'spine02': 'spine02', 'spinebase': 'spinebase', 'tophook': 'tophook'}¶
-
createFromJson
(json, paramjson)¶
-
deleteGuides
()¶
-
existingFromJson
(json)¶
-
getChosenParentNode
()¶
-
getGuideObject
(guidename)¶
-
toJSON
()¶
-
updateParent
(parenttext)¶
-