skinning.utils.influence module

class skinning.utils.influence.Influence(path)

Bases: object

get_matrix(world_space=True)
Returns:Matrix
Return type:OpenMaya.MMatrix
get_position()
Returns:Position
Return type:OpenMaya.MVector
rename(name)
Parameters:name (str) –
class skinning.utils.influence.Skeleton(influences)

Bases: object

The skeleton will sort all influences from a skin cluster based on their hierarchy and will allow the influence nodes to be looped via parent and children attributes.

skinning.utils.influence.add_influences(skin_cluster, influences)

Add influences to the skin cluster. Expects full path influences. Will try to reach the bind pose before attached the new influences to the skin cluster.

Parameters:
  • skin_cluster (str) –
  • influences (list) –