autorigs.modules.jaw package

Submodules

autorigs.modules.jaw.autoRigsJawBuilder module

class autorigs.modules.jaw.autoRigsJawBuilder.AutoRigsJawBuilder(index, modulename, moduletype, autorigs_asset, buildguide, model, parentinfo, prefix='', parent=None, geo_builder=None)

Bases: autorigs.modules.base.autoRigsBaseBuilder.AutoRigsBaseBuilder

INTERFACE = {'folder': ('folder', 'Jaw'), 'jaw_rx': ('rx', 'Jaw Open'), 'jaw_ry': ('ry', 'Jaw Wiggle'), 'jaw_rz': ('rz', 'Jaw Twist'), 'jawrctrl': ('r', 'Jaw Rotate'), 'jawtctrl': ('t', 'Jaw Translate')}
NODES = {'dummybone': ('dummybone',), 'jawbone': ('jawbone',), 'jawrctrl': ('jaw_r_ctrl',), 'jawroot': ('jawroot',), 'jawtctrl': ('jaw_t_ctrl',)}
addRotateSliderParm(axis)
buildRigControls()

Creates the bones and controls based on the guide objects. prefix: the prefix to use for all the nodes created assetnode: the autorig assset node in which to create the rig model: the module’s model for build options buildguide: the module’s buildguides parent: a function takes a node as the argument and parent the node

createFolderTemplate()

Creates the folder parm template for the module. model: the module’s model for build options

createJawRotate(jawbone, parent)
createJawTranslate(jawrctrl, parent)
createLControl(null)
getJawBone()

autorigs.modules.jaw.buildJawGuide module

class autorigs.modules.jaw.buildJawGuide.JawGuide(assetnode)

Bases: autorigs.modules.base.buildBaseGuide.BaseGuide

CURVE_ADD = 'guidecurve_add'
CURVE_CARVE1 = 'guidecurve_carve1'
CURVE_CARVE2 = 'guidecurve_carve2'
CURVE_MERGE = 'guidecurve_merge'
CURVE_OBJ_MERGE = 'guidecurve_obj_merge'
CURVE_OUT = 'guidecurve_out'
CURVE_POLYWIRE = 'guidecurve_polywire'
CURVE_SPHERE = 'guidecurve_sphere'
JAW_CURVE = 'jawcurve'
JAW_END = 'jawend'
JAW_ROOT = 'jawroot'
buildFromJsonExisting(json)
buildFromJsonNew(json, parent=None)
createJawCurveSOP(parent, jaw_root, jaw_end)

Creates the guide curve SOP for the Jaw

toJSON()

autorigs.modules.jaw.jawGuideController module

class autorigs.modules.jaw.jawGuideController.JawGuideController(model)

Bases: object

onStretchToggled(value)
onTranslateToggled(value)

autorigs.modules.jaw.jawGuideModel module

class autorigs.modules.jaw.jawGuideModel.JawGuideModel

Bases: autorigs.modules.base.baseGuideModel.BaseGuideModel

getRotateAxis()
getTranslateAxis()
isRotateToggled()
isStretchToggled(value)
isTranslateToggled()
setRotateAxis(value)
setRotateToggle(value)
setStretchToggle(value)
setTranslateAxis(value)
setTranslateToggle(value)

autorigs.modules.jaw.jawGuideOptions module

class autorigs.modules.jaw.jawGuideOptions.ModuleOptionsWidget(buildguide, model)

Bases: autorigs.modules.base.autoRigsBaseWidget.BaseOptionsWidget

XYZ_COMBO = ['XYZ', 'XY', 'YZ', 'ZX', 'X', 'Y', 'Z']
fromJSON(json)
toJSON()

autorigs.modules.jaw.jawGuideParams module

class autorigs.modules.jaw.jawGuideParams.ModuleParamsWidget(jawguide)

Bases: autorigs.modules.base.autoRigsBaseWidget.BaseParamWidget

autorigs.modules.jaw.jawModule module

Module contents