autorigs.modules.limb package

Submodules

autorigs.modules.limb.autoRigsLimbBuilder module

autorigs.modules.limb.autoRigsLimbInterfaceBuilder module

class autorigs.modules.limb.autoRigsLimbInterfaceBuilder.AutoRigsLimbInterfaceBuilder
CENTER_SIDE = 2
DISPLAY_MENU = ['ON', 'OFF']
DISPLAY_NOODLE_MENU = ['All', 'Basic', 'Noodle', 'OFF']
INTERFACE_NAME_LABEL = {'bonedisplay': ('bonedisplay', 'Bone Display'), 'controldisplay': ('controldisplay', 'Control Display'), 'controlsfolder': ('controls', 'Controls'), 'displayfkcontrols': ('displayfkcontrols', 'Display FK Controls'), 'fkikblend': ('fkikblend', 'FK->IK Blend'), 'fkikthresh': ('fkikthresh', 'FK Display Threshold'), 'ikdampen': ('ikdampen', 'Max IK Dampening'), 'ikhandlepath': ('ikhandlepath', 'IK Handle Path'), 'iktwisthandlepath': ('iktwisthandlepath', 'IK Twist Handle Path'), 'kinsolverpath': ('kinsolverpath', 'Kinematic Solver Path'), 'lowerbonepath': ('lowerbonepath', 'Lower Bone Path'), 'lowerfkcontrolpath': ('lowerfkcontrolpath', 'Lower FK Control Path'), 'lowerinitlen': ('lowerinitlen', 'Lower Initial Length'), 'lowermanualstretchlen': ('lowermanualstretchlen', 'Lower Manual Stretch'), 'lowerstretchcalc': ('lowerstretchcalc', 'Lower Stretch Calculations'), 'matchfkik': ('matchfkik', 'Match FK to IK'), 'matchikfk': ('matchikfk', 'Match IK to FK'), 'optionsfolder': ('options', 'Options'), 'setdefault': ('setdefault', 'Reset To Defaults'), 'setkey': ('setkey', 'Set Key'), 'stretch': ('stretch', 'Stretch'), 'totalautostretch': ('totalautostretch', 'Total Auto Stretch'), 'totalmanstretchlen': ('totalmanstretchlen', 'Total Manual Stretch Len'), 'upperbonepath': ('upperbonepath', 'Upper Bone Path'), 'upperfkcontrolpath': ('upperfkcontrolpath', 'Upper FK Control Path'), 'upperinitlen': ('upperinitlen', 'Upper Initial Length'), 'uppermanualstretchlen': ('uppermanualstretchlen', 'Upper Manual Stretch'), 'upperstretchcalc': ('upperstretchcalc', 'Upper Stretch Calculations')}
LEFT_SIDE = 0
MATCH_FK_IK_POSTFIX = 'MatchFKIK'
MATCH_IK_FK_POSTFIX = 'MatchIKFK'
MATCH_NOODLE_TWIST_POSTFIX = 'NoodleTwist'
RIGHT_SIDE = 1
classmethod buildRigControlsInterfaceParms(controls, assetnode, options, prefix, side)
classmethod buildRigInterface(autorig_asset, options, rigcontrols, side, index, modulename)
classmethod buildRigInterfaceParms(controls, assetnode, options, prefix, side, modulename)
classmethod buildRigOptionsInterfaceParms(assetnode, options, prefix, side)
classmethod getBeforeLimbStretchExpr(beforelimbroot, beforelimbend, initlengthstr, assetnode, prefix)
classmethod getEvalParmStr(parm, prefix)
classmethod getLimbMatchFKtoIKStr(assetnode, controls, isstretchy, prefix)
classmethod getLimbMatchIKtoFKStr(assetnode, controls, isstretchy, prefix)
classmethod getLimbNoodleTwistStr(assetnode, controls, isstretchy, prefix)
classmethod getParmStr(parm, prefix)
classmethod linkRigControlsInterfaceParms(assetnode, controls, options, prefix)
classmethod linkRigInterfaceParms(assetnode, controls, options, prefix)
classmethod linkRigOptionsInterfaceParms(assetnode, controls, options, prefix)
classmethod setMidTangentExpressions(lowertangenttrans, uppertangenttrans, lower, upper)
classmethod setupBoneDisplayChannel(bone, assetnode, prefix)

autorigs.modules.limb.buildLimbGuide module

class autorigs.modules.limb.buildLimbGuide.LimbFactory

Bases: autorigs.modules.base.buildBaseGuide.BaseFactory

classmethod createFromDefault(json, assetnode)
class autorigs.modules.limb.buildLimbGuide.LimbGuide(assetnode)

Bases: autorigs.modules.base.buildBaseGuide.BaseGuide

SIDE_LEFT = 0
SIDE_RIGHT = 1
createFromJson(json, guidejson)
deleteGuides()
existingFromJson(json)

Assumes that the guide nodes exists in the network and finds it to set this class instead of creating the nodes

getGuideObject(guidename)
getGuideObjectSide(mainbool, guidepart)
setMirrorGuidesDisplay(canchangedisplay)
toJSON()
toJsonGuideTypeNames(jsonobj, ismain)

overridden by subclass

toJsonGuidenames(jsonobj, ismain)
toggleGuideDisplay(toggle)
toggleMainGuidesDisplay(toggle)
toggleMirrorGuidesDisplay(toggle)
updateMirror(toggle)
updateSide(side)
updateToMasterParent(masternode)
updateToSpineHookParent(spinenode)

autorigs.modules.limb.limbGuideOptions module

autorigs.modules.limb.limbGuideParams module

autorigs.modules.limb.limbModule module

Module contents