autorigs.modules.quadFoot package¶
Submodules¶
autorigs.modules.quadFoot.autoRigsQuadFootBuilder module¶
autorigs.modules.quadFoot.autoRigsQuadFootInterfaceBuilder module¶
-
class
autorigs.modules.quadFoot.autoRigsQuadFootInterfaceBuilder.
AutoRigsQuadFootInterfaceBuilder
¶ Bases:
autorigs.modules.extremity.autoRigsExtremityInterfaceBuilder.AutoRigsExtremityInterfaceBuilder
-
DISPLAY_DIGIT_MENU
= ['All', 'Basic', 'Detail', 'OFF']¶
-
INTERFACE_NAME_LABEL
= {'allbend': ('allbend', 'Bend'), 'allcurl': ('allcurl', 'Curl'), 'allfan': ('allfan', 'Fan'), 'allsplay': ('allsplay', 'Splay'), 'bonedisplay': ('bonedisplay', 'Bone Display'), 'controldigitend': ('toeend', 'Toe End'), 'controldigitfkcontrol': ('toecontrol', 'Toe FK Control'), 'controldigitroll': ('toeroll', 'Toe'), 'controldisplay': ('controldisplay', 'Control Display'), 'controlextremityfkcontrol': ('footfkcontrol', 'Foot FK Control'), 'controlextremityroot': ('footroot', 'Foot Root'), 'controlextremityrot': ('footrot', 'Foot'), 'controlextremitytwist': ('foottwist', 'Foot Twist'), 'controlsfolder': ('controloptions', 'Controls'), 'digitbonepath': ('digitbonepath', 'Digit Bone Path'), 'digitfkcontrolpath': ('digitfkcontrolpath', 'Digit FK Control Path'), 'digitfolderformat': ('toe{}', '{}'), 'digitikhandlepath': ('digitikhandlepath', 'Digit IK Handle Path'), 'digitkinsolverpath': ('digitkinsolverpath', 'Digit Kinematic Solver Path'), 'digittwistctrlpath': ('digitiktwisthandlepath', 'Digit IK Twist Handle Path'), 'displayfkcontrols': ('displayfkcontrols', 'Display FK Controls'), 'extremitybonepath': ('extremitybonepath', 'Extremity Bone Path'), 'extremityfkcontrolpath': ('extremityfkcontrolpath', 'Extremity FK Control Path'), 'extremityfolder': ('footfolder', 'Foot'), 'extremityikhandlepath': ('extremityikhandlepath', 'Extremity IK Handle Path'), 'extremitykinsolverpath': ('extremitykinsolverpath', 'Extremity Kinematic Solver Path'), 'extremitytwistctrlpath': ('extremitytwistctrlpath', 'Extremity IK Twist Handle Path'), 'firstrootcontrol': ('rootcontrol', 'Root'), 'fkikblend': ('fkikblend', 'FK->IK Blend'), 'fkikthresh': ('fkikthresh', 'FK Display Threshold'), 'icurlformat': ('i{}curl', 'Curl'), 'idphalanxrotformat': ('i{}dphalanxr', 'DPhalanx Rotate'), 'ikcurl': ('ikcurl', 'IK Curl'), 'ikdampen': ('ikdampen', 'Max IK Dampening'), 'ikfan': ('ikfan', 'IK Fan'), 'ikfingercurl': ('ikcurlfinger', 'IK Curl'), 'iksplay': ('iksplay', 'IK Splay'), 'imetarotformat': ('i{}meta', 'Meta Rotate'), 'imphalanxrotformat': ('i{}mphalanxr', 'MPhalanx Rotate'), 'ipphalanxrotformat': ('i{}pphalanxr', 'PPhalanx Rotate'), 'kinsolverpath': ('kinsolverpath', 'Kinematic Solver Path'), 'leftfolder': ('folder', 'Left '), 'matchfkik': ('matchfkik', 'Match FK to IK'), 'matchikfk': ('matchikfk', 'Match IK to FK'), 'optionsfolder': ('options', 'Options'), 'rightfolder': ('folder', 'Right '), 'setdefault': ('setdefault', 'Reset To Defaults'), 'setkey': ('setkey', 'Set Key')}¶
-
L_PREFIX
= 'leftquadfoot'¶
-
R_PREFIX
= 'rightquadfoot'¶
-
classmethod
buildDigitInterfaceParms
(rigcontrols, assetnode, optionsmodel, foldertemplate, prefix)¶
-
classmethod
buildFullInterfaceParms
(rigcontrols, assetnode, optionsmodel, foldertemplate, prefix, digitattached=False)¶
-
classmethod
buildRigControlsInterfaceParams
(rigcontrols, prefix, interface_control_keys, foldertemplate, digitattached=False)¶
-
classmethod
buildRigInterface
(assetnode, optionsmodel, rigcontrols, side, index, autorig_asset, parentmodule, modulename, ismain=True)¶
-
classmethod
buildRigOptionsInterfaceParms
(assetnode, options, prefix)¶
-
classmethod
createCurlSplayFanInterface
(folder, controls, assetnode, optionsmodel, prefix)¶
-
classmethod
findChopNodeByType
(constraintparent, nodeType)¶
-
classmethod
getQuadMatchFKtoIKStr
(assetnode, controls, prefix)¶
-
classmethod
getQuadMatchIKtoFKStr
(assetnode, controls, prefix, rootoffset, lowerlimbend)¶
-
classmethod
hasSeparateBigDigitAllSpikeControls
()¶
-
classmethod
linkDigitInterfaceParms
(assetnode, controls, options, prefix, isleft)¶
-
classmethod
linkFullInterfaceParms
(assetnode, controls, options, prefix, digitsattached=False)¶
-
autorigs.modules.quadFoot.buildQuadFootGuide module¶
-
class
autorigs.modules.quadFoot.buildQuadFootGuide.
FootFactory
¶ Bases:
autorigs.modules.extremity.buildExtremityGuide.ExtremityFactory
-
classmethod
createFromJsonExisting
(json, assetnode, model, parent=None)¶
-
classmethod
createFromJsonNew
(json, guidejson, assetnode, model, parent=None)¶
-
classmethod
-
class
autorigs.modules.quadFoot.buildQuadFootGuide.
QuadFootGuide
(assetnode, model, parent=None)¶ Bases:
autorigs.modules.extremity.buildExtremityGuide.ExtremityGuide
-
JSON_LABELS
= {'adddigit_format': 'addtoe_nameformat', 'bigdigit_guides': ['root', 'pphalanx', 'mphalanx', 'dphalanx'], 'bigdigitline': 'meta_bigtoeline', 'digit_guides': ['root', 'pphalanx', 'mphalanx', 'dphalanx'], 'digitguidespacing': 'digitguidespacing', 'digitroll': 'toeend', 'digitroot': 'toesroot', 'digitrootspacing': 'digitrootspacing', 'digits': 'toes', 'digitspacing': 'digitspacing', 'extremityroll': 'footroll', 'extremityroot': 'foot_main_root', 'extremitystart': 'ankle', 'guidecurve': 'guidecurve', 'guidecurve_add': 'guidecurve_add', 'guidecurve_merge': 'guidecurve_merge', 'guidecurve_out': 'guidecurve_out', 'guidecurve_polywire': 'guidecurve_polywire', 'lineadddash': 'lineadddash', 'linedigitend': 'linetoeend', 'linemetaend': 'linemetaend', 'linepointline': 'linepointline', 'lineresample': 'lineresample', 'metaadd': 'metaadd', 'metabigdigitcontrol': 'meta_bigtoecontrol', 'metabox': 'metabox', 'metacopybigdigit': 'metacopy_bigtoe', 'metacopydigits': 'metacopy_toes', 'metacopynobigdigit': 'metacopy_nobigtoe', 'metadeletecolor': 'meta_deletecolor', 'metaends': 'metaends', 'metafirstpoint': 'meta_firstpoint', 'metaguide': 'metaguide', 'metaline': 'metaline', 'metamergebigdigit': 'metamerge_bigtoe', 'metaout': 'metaout', 'metapointcolor': 'metapointcolor', 'metaresample': 'metaresample', 'metaswitch': 'metaswitch', 'metaswitchbigdigit': 'metaswitch_bigtoe', 'mirrormetaguide': 'mirrormetaguide', 'missing_phalanx': 'mphalanx', 'root': 'foot_root', 'rotateroot': 'rotateroot'}¶
-
JSON_PARAM_LABELS
= {'big_digit_guides': ['allguides', 'root', 'pphalanx', 'dphalanx'], 'center': 'feetcenter', 'digit_params': 'toeparams', 'digit_roll': 'toeroll', 'digits': 'toes', 'digits_guides': ['allguides', 'root', 'pphalanx', 'mphalanx', 'dphalanx'], 'digits_root': 'toesroot', 'extremity_roll': 'footroll', 'extremity_start': 'ankle', 'root': 'footroot', 'rotateroot': 'rotateroot'}¶
-
getGuideObject
(guidename)¶
-
parentExtremities
(parent, root, rot, ankle, footroll, toeroll)¶
-
resetParentDisplay
()¶
-
setBigDigitParent
(bigdigitguides, ismain)¶
-
updateDisplay
(displayid)¶
-
updateMirror
(toggle)¶
-
updateToLimbParent
(node, mirrornode, module)¶
-
updateToLimbParentSide
(parent, ismain, rootkey, module)¶
-
updateToMasterParent
(node, module)¶
-
updateToSpineParent
(node)¶
-
updateType
(extremitytype)¶
-