autorigs.modules.advancedFace.template package

Submodules

autorigs.modules.advancedFace.template.buildTemplateGuide module

class autorigs.modules.advancedFace.template.buildTemplateGuide.TemplateGuide(assetnode, geometryguides)

Bases: autorigs.modules.base.buildBaseGuide.BaseGuide

BLENDSHAPES = 'blendshapes'
CAGE_WRANGLE = 'wrangle'
DEFAULT_CAGE_GUIDES_NAME = 'cage_guides'
DO_NOT_TOUCH = 'DO_NOT_TOUCH'
JSON_KEY = 'template'
LEFT_LOWER_EYE_GROUP_NAME = 'left_lower_eye_group'
LEFT_UPPER_EYE_GROUP_NAME = 'left_upper_eye_group'
LOWER_LIP_GROUP_NAME = 'lower_lip_group'
LPC_TEMPLATE = 'template'
LPC_TEMPLATE_PATH = 'C:/PROGRA~1/SIDEEF~1/HOUDIN~1.439/houdini/autorigs/hdas/lpc_template.hda'
OUT = 'out'
POINTS_FILE = 'file'
POLY_OUT = 'polyout'
RAY = 'ray'
RIGHT_LOWER_EYE_GROUP_NAME = 'right_lower_eye_group'
RIGHT_UPPER_EYE_GROUP_NAME = 'right_upper_eye_group'
SWITCH = 'switch'
UPPER_LIP_GROUP_NAME = 'upper_lip_group'
addResetXCallback(guide, x)

We want to “lock” the x coordinates of the center cage guides without removing free translate control in the viewport. So add a callback to that resets the x value of the guide every time it’s changed

buildFromJsonExisting(json)
buildFromJsonNew(json, parent=None)
cageGuideFromPoint(point, parent)
changeSwitch(index)
deleteGuides()
generateCageGuides(cageguides, guidesdata, guideslist)

Generates the cage guides subnet inside the asset

generateLPC()
getCagePoints()
getDefaultGuideNames()
getRootKey()
getRootNode()
hasValidGeometry()
isLinked()
linkToGuides()
resetCageGuides(cageguides)

Resets cage guides back to their default positions

resetX(event_type, x, **kwargs)
resnapCageGuide(point, guide, position)
resnapCageGuides(cageguides)

Snaps cage guides back to the current position of the points

setGuideParams(point, guide)
setOutputFlags(node_key, flag)
toggleLinkToGuides(value)
unlinkToGuides()

autorigs.modules.advancedFace.template.templateGuideModel module

class autorigs.modules.advancedFace.template.templateGuideModel.TemplateGuideModel

Bases: autorigs.modules.base.baseGuideModel.BaseGuideModel

addOnLinkToggledCallbacks(fxn)
isLinkToggled()
setLinkToggled(toggle)

autorigs.modules.advancedFace.template.templateGuideOptions module

class autorigs.modules.advancedFace.template.templateGuideOptions.ModuleOptionsWidget(buildguide, model)

Bases: autorigs.modules.base.autoRigsBaseWidget.BaseOptionsWidget

fromJSON(json)
setLinkEnabled(toggle)
toJSON()
updateLinkToggled()

autorigs.modules.advancedFace.template.templateGuideParams module

class autorigs.modules.advancedFace.template.templateGuideParams.ModuleParamsWidget(templateguide)

Bases: autorigs.modules.base.autoRigsBaseWidget.BaseParamWidget

Module contents