autorigs.modules.master package

Submodules

autorigs.modules.master.autoRigsMasterBuilder module

class autorigs.modules.master.autoRigsMasterBuilder.AutoRigsMasterBuilder

Bases: object

CTRLNAMES = {'master': 'Master_ctrl'}
DISPLAY_BDF_MENU = ['All', 'Basic', 'Detail', 'Fine', 'OFF']
DISPLAY_FCN_HEADER = 'Toggle(kwargs)'
DISPLAY_ONOFF_MENU = ['ON', 'OFF']
DISPLAY_PARAMS_NAME = 'displayparams'
INTERFACE_NAME_LABEL = {'bonedisplay': ('bonedisplay', 'Bone Display'), 'bonedisplayall': ('bonedisplayall', 'Bone Display All'), 'ctrldisplay': ('controldisplay', 'Control Display'), 'ctrldisplayall': ('controldisplayall', 'Control Display All'), 'geodisplay': ('geodisplay', 'Geo Display'), 'setdefault': ('setdefault', 'Reset To Defaults'), 'setdefaultall': ('setdefaultall', 'Reset All To Defaults'), 'setkey': ('setkey', 'Set Key'), 'setkeyall': ('setkeyall', 'Set Key All')}
PARAM_ARRAY_SUFFIX = 'params'
classmethod addGeoSection(geoNode, geoName, assetnode)
classmethod buildRig(autorigs_asset, options, params, masterguide, geoskin, modulename)
classmethod generateDisplayCallbackStr(fn_header, parm_type, arr_suffix)

Generate the callbacks for the master display options

classmethod generateDisplayParamsStr(autorigs_asset, param_type)

Generates a list containing the parameter names of param_type (controldisplay, bonedisplay, etc) for each module in autorigs_asset

classmethod generateGetParmsFromFolderStr()
classmethod generatePrefixes(autorigs_asset)
classmethod generateSetKeyAllCallbackStr(fn_header, parm_type, arr_suffix)

Fires when we use the master “Reset to Default”

classmethod generateSetKeyCallbackStr()
classmethod generateSetToDefaultAllCallbackStr(fn_header, parm_type, arr_suffix)

Fires when we use the master “Reset to Default”

classmethod generateSetToDefaultCallbackStr()

Callback for when the user presses the “Reset to Default” button

class autorigs.modules.master.autoRigsMasterBuilder.MasterCallbackGenerator(base_fcn_header, template, param_type, generation_fn, autorigs_asset, fcn_prefix='')

Bases: object

Class used for generating the master controls necessary for triggering the display and action controls in each individual module at once

PARAM_ARRAY_SUFFIX = 'params'
getFnHeader()
getFnStr()
getParamsStr()

Generates a list containing the parameter names of param_type (controldisplay, bonedisplay, etc) for each module in autorigs_asset

getPrefixes()

autorigs.modules.master.buildMasterGuide module

class autorigs.modules.master.buildMasterGuide.MasterFactory

Bases: autorigs.modules.base.buildBaseGuide.BaseFactory

classmethod createFromDefault(json, autorigs_asset, standinnode)
classmethod createFromJsonExisting(autorigs_asset, standinnode, json)
classmethod createFromJsonNew(autorigs_asset, standinnode, json, guidejson)
class autorigs.modules.master.buildMasterGuide.MasterGuide(assetnode, standinnode)

Bases: autorigs.modules.base.buildBaseGuide.BaseGuide

JSON_LABELS = {}
createFromJson(json, guidejson)
existingFromJson(json)
getMasterGuide()
objnames = {'master_node_guide': 'master_node_guide'}
toJSON()

autorigs.modules.master.masterGuideOptions module

class autorigs.modules.master.masterGuideOptions.ModuleOptionsWidget(autorigs_asset)

Bases: sphinx.ext.autodoc.importer._MockObject

addControlLabel(state)
fromJSON(json)
getHversion()
getIsAssetNameLabelChecked()
getMainLayout()
getRigscale()
getSaveDate()
getSaveTime()
labelType()
onTextFieldFinishedEditing()
setOptions()
toJSON()
unlinkAllNodes()

autorigs.modules.master.masterGuideParams module

class autorigs.modules.master.masterGuideParams.ModuleParamsWidget(masterguide)

Bases: sphinx.ext.autodoc.importer._MockObject

JSON_LABELS = {'master': 'master'}
fromJSON(json)
getControlColor()
getSizeParameter()
toJSON()
unlinkAllNodes()

autorigs.modules.master.masterModule module

Module contents