autorigs.modules.hand package¶
Submodules¶
autorigs.modules.hand.autoRigsHandBuilder module¶
autorigs.modules.hand.autoRigsHandInterfaceBuilder module¶
-
class
autorigs.modules.hand.autoRigsHandInterfaceBuilder.
AutoRigsHandInterfaceBuilder
¶ Bases:
autorigs.modules.extremity.autoRigsExtremityInterfaceBuilder.AutoRigsExtremityInterfaceBuilder
-
INTERFACE_NAME_LABEL
= {'allcurl': ('allcurl', 'Curl'), 'allfan': ('allfan', 'Fan'), 'allsplay': ('allsplay', 'Splay'), 'bonedisplay': ('bonedisplay', 'Bone Display'), 'controldigitend': ('fingerend', 'Finger End'), 'controldigitfkcontrol': ('fingercontrol', 'Finger FK Control'), 'controldigitroll': ('fingerroll', 'Finger Roll'), 'controldisplay': ('controldisplay', 'Control Display'), 'controlextremityfkcontrol': ('handfkcontrol', 'Hand FK Control'), 'controlextremityroll': ('handroll', 'Hand Roll'), 'controlextremityroot': ('handroot', 'Hand Root'), 'controlextremitytwist': ('handtwist', 'Hand Twist'), 'controlsfolder': ('controloptions', 'Controls'), 'digitbonepath': ('digitbonepath', 'Digit Bone Path'), 'digitfkcontrolpath': ('digitfkcontrolpath', 'Digit FK Control Path'), 'digitfolderformat': ('finger{}', '{}'), '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': ('handfolder', 'Hand'), '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'), 'idphalanxendformat': ('i{}dphalanxend', 'DPhalanx End'), 'ikcurl': ('ikcurl', 'IK Curl'), 'ikdampen': ('ikdampen', 'Max IK Dampening'), 'ikfan': ('ikfan', 'IK Fan'), 'ikfingercurl': ('ikcurlfinger', 'IK Curl'), 'iksplay': ('iksplay', 'IK Splay'), 'imphalanxendformat': ('i{}mphalanxend', 'MPhalanx End'), 'ipphalanxendformat': ('i{}pphalanxend', 'PPhalanx End'), '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
= 'lefthand'¶
-
R_PREFIX
= 'righthand'¶
-
classmethod
hasSeparateBigDigitAllSpikeControls
()¶
-
autorigs.modules.hand.buildHandGuide module¶
-
class
autorigs.modules.hand.buildHandGuide.
HandFactory
¶ Bases:
autorigs.modules.extremity.buildExtremityGuide.ExtremityFactory
-
classmethod
createFromJsonExisting
(json, assetnode, model, parent=None)¶
-
classmethod
createFromJsonNew
(json, guidejson, assetnode, model, parent=None)¶
-
classmethod
initializeGuides
(buildguide)¶
-
classmethod
-
class
autorigs.modules.hand.buildHandGuide.
HandGuide
(assetnode, model, parent=None)¶ Bases:
autorigs.modules.extremity.buildExtremityGuide.ExtremityGuide
-
JSON_LABELS
= {'adddigit_format': 'addfinger_nameformat', 'bigdigit_guides': ['root', 'pphalanx', 'mphalanx', 'dphalanx'], 'bigdigitline': 'meta_thumbline', 'digit_guides': ['root', 'pphalanx', 'mphalanx', 'dphalanx'], 'digitguidespacing': 'digitguidespacing', 'digitroll': 'fingerend', 'digitroot': 'fingerrootguide', 'digitrootspacing': 'digitrootspacing', 'digits': 'fingers', 'digitspacing': 'digitspacing', 'extremityroll': 'fingerroll', 'extremityroot': 'hand_main_root', 'extremitystart': 'wrist', 'guidecurve': 'guidecurve', 'guidecurve_add': 'guidecurve_add', 'guidecurve_merge': 'guidecurve_merge', 'guidecurve_out': 'guidecurve_out', 'guidecurve_polywire': 'guidecurve_polywire', 'lineadddash': 'lineadddash', 'linedigitend': 'linefingerend', 'linemetaend': 'linemetaend', 'linepointline': 'linepointline', 'lineresample': 'lineresample', 'metaadd': 'metaadd', 'metabigdigitcontrol': 'meta_thumbcontrol', 'metabox': 'metabox', 'metacopybigdigit': 'metacopy_thumb', 'metacopydigits': 'metacopy_fingers', 'metacopynobigdigit': 'metacopy_nothumb', 'metadeletecolor': 'meta_deletecolor', 'metaends': 'metaends', 'metafirstpoint': 'meta_firstpoint', 'metaguide': 'metaguide', 'metaline': 'metaline', 'metamergebigdigit': 'metamerge_thumb', 'metaout': 'metaout', 'metapointcolor': 'metapointcolor', 'metaresample': 'metaresample', 'metaswitch': 'metaswitch', 'metaswitchbigdigit': 'metaswitch_thumb', 'mirrormetaguide': 'mirrormetaguide', 'missing_phalanx': 'mphalanx', 'root': 'hand_root', 'rotateroot': 'rotateroot'}¶
-
JSON_PARAM_LABELS
= {'big_digit_guides': ['allguides', 'root', 'pphalanx', 'dphalanx'], 'center': 'handscenter', 'digit_params': 'fingerparams', 'digit_roll': 'fingerroll', 'digits': 'fingers', 'digits_guides': ['allguides', 'root', 'pphalanx', 'mphalanx', 'dphalanx'], 'digits_root': 'fingersroot', 'extremity_roll': 'handroll', 'extremity_start': 'wrist', 'root': 'handroot', 'rotateroot': 'rotateroot'}¶
-
parentExtremities
(parent, root, rot, wrist, handroll, fingerroll)¶
-
resetParentDisplay
()¶
-
updateToLimbParent
(node, mirrornode, module)¶
-