SkinningTools.Maya.tools.softSelectWeight

Module Contents

Functions

setSkinWeights(inMesh, meshData, influences, filler=None, progressBar=None)

Calculate and set the new skin weights. If no skin cluster is attached to

SkinningTools.Maya.tools.softSelectWeight.setSkinWeights(inMesh, meshData, influences, filler=None, progressBar=None)

Calculate and set the new skin weights. If no skin cluster is attached to the mesh, one will be created and all weights will be set to 1 with the filler influence. If a skin cluster does exist, the current weights will be used to blend the new weights. Maintaining of maximum influences and normalization of the weights will be taken into account if these attributes are set on the skin cluster.

Parameters
  • inMesh (str) –

  • meshData (dict) – skinning data for the mesh

  • influences (list) – list of (new) influences

  • filler (str) – Filler joint if no skin cluster is detected