mgear.rigbits.blendShapes module

Rigbits blendshapes utilities and tools

mgear.rigbits.blendShapes.blendshape_foc(deformed_obj)

Move existing blendshape node to the front of chain

Parameters:deformed_obj (PyNode) – object with deformation history including a blendshape node
mgear.rigbits.blendShapes.connectWithBlendshape(mesh, bst, wgt=1.0, ffoc=False)

Connect 2 geometries using blendshape node

Parameters:
  • mesh (PyNode) – The Object to apply the blendshape target
  • bst (PyNode) – The Blendshape target
  • wgt (float, optional) – Description
  • ffoc (bool, optional) – Force Front of Chain. will move the blendshape node after creation
Returns:

The blenshape node

Return type:

PyNode

mgear.rigbits.blendShapes.getBlendShape(obj)

Get the blendshape node of an object.

Parameters:obj (PyNode) – The object with the blendshape node
Returns:The blendshape node
Return type:PyNode