Skip to content

skinUtility


=== Author: Assaf Ben Zur ===



Defenitions


copySkin

Constructor: copySkin(sourceMeshes = [], targetMeshes = [], **kwargs)
Return: None
Arguments:
  • sourceMeshes(list) ; [default: []]
  • targetMeshes(list) ; [default: []]
  • **kwargs
Keyword Arguments:


createCombinedSkinProxyFromMeshes

Constructor: createCombinedSkinProxyFromMeshes(sourceMeshes = [])
Return: None
Arguments:
  • sourceMeshes(list) ; [default: []]
Keyword Arguments:


exportSkin

Constructor: exportSkin(nodes = [], **kwargs)
Return: None
Arguments:
  • nodes(list) ; [default: []]
  • **kwargs
Keyword Arguments:


filterValidMeshesFromList

Constructor: filterValidMeshesFromList(meshTransforms = [], skinnedOnly = False, notSkinnedOnly = False)
Return: None
Arguments:
  • meshTransforms(list) ; [default: []]
  • skinnedOnly(bool) ; [default: False]
  • notSkinnedOnly(bool) ; [default: False]
Keyword Arguments:


gatherBlendWeights

Constructor: gatherBlendWeights(dagPath, components, skinClusterFn)
Return: None
Arguments:
  • dagPath
  • components
  • skinClusterFn
Keyword Arguments:


gatherDataFromSkinCluster

Constructor: gatherDataFromSkinCluster(skinClusterNode = None)
Return: None
Arguments:
  • skinClusterNode(str) ; [default: None]
Keyword Arguments:


gatherInfluenceJointsFromMesh

Constructor: gatherInfluenceJointsFromMesh(skinnedMesh = None)
Return: None
Arguments:
  • skinnedMesh(str) ; [default: None]
Keyword Arguments:


gatherInfluenceJointsFromMeshes

Constructor: gatherInfluenceJointsFromMeshes(sourceMeshes = None)
Return: None
Arguments:
  • sourceMeshes(str) ; [default: None]
Keyword Arguments:


gatherInfluenceWeights

Constructor: gatherInfluenceWeights(dagPath, components, skinClusterFn)
Return: None
Arguments:
  • dagPath
  • components
  • skinClusterFn
Keyword Arguments:


gatherSkinData

Constructor: gatherSkinData(nodes = [])
Return: None
Arguments:
  • nodes(list) ; [default: []]
Keyword Arguments:


gatherSkinDataFromFile

Constructor: gatherSkinDataFromFile(filePath = None)
Return: None
Arguments:
  • filePath(str) ; [default: None]
Keyword Arguments:


getAllSkinClustersFromJointStructure

Constructor: getAllSkinClustersFromJointStructure(rigTop = None)
Return: None
Arguments:
  • rigTop(str) ; [default: None]
Keyword Arguments:


getCurrentWeights

Constructor: getCurrentWeights(dagPath, components, skinClusterFn)
Return: None
Arguments:
  • dagPath
  • components
  • skinClusterFn
Keyword Arguments:


getGeometryComponents

Constructor: getGeometryComponents(skinClusterFn = None, skinClusterNode = None)
Return: None
Arguments:
  • skinClusterFn(str) ; [default: None]
  • skinClusterNode(str) ; [default: None]
Keyword Arguments:


getGeometryComponentsFromTagExpression

Constructor: getGeometryComponentsFromTagExpression(skinCls, tag="*")
Return: None
Arguments:
  • skinCls
  • tag(str) ; [default: "*"]
Keyword Arguments:


getMeshesFromData

Constructor: getMeshesFromData(skinsData = None)
Return: None
Arguments:
  • skinsData(str) ; [default: None]
Keyword Arguments:


getSkinClusterFromMeshTransform

Constructor: getSkinClusterFromMeshTransform(meshTransform = None)
Return: None
Arguments:
  • meshTransform(str) ; [default: None]
Keyword Arguments:


getSkinClustersFromJoints

Constructor: getSkinClustersFromJoints(sourceJoints = [])
Return: None
Arguments:
  • sourceJoints(list) ; [default: []]
Keyword Arguments:


getSkinningJointsFromSelection

Constructor: getSkinningJointsFromSelection(mode = 1, **kwargs)
Return: list
Arguments:
  • mode(int) ; [default: 1]
  • **kwargs
Keyword Arguments:


importSkin

Constructor: importSkin(filePath = None, **kwargs)
Return: None
Arguments:
  • filePath(str) ; [default: None]
  • **kwargs
Keyword Arguments:


injectSkinClusterNodeToMfn

Constructor: injectSkinClusterNodeToMfn(skinClusterNode = None)
Return: None
Arguments:
  • skinClusterNode(str) ; [default: None]
Keyword Arguments:


mirrorSkinToDetachedComponent

Constructor: mirrorSkinToDetachedComponent(source = None, target = None)
Return: None
Arguments:
  • source(str) ; [default: None]
  • target(str) ; [default: None]
Keyword Arguments:


rebind

Constructor: rebind(sourceMeshes = [])
Return: None
Arguments:
  • sourceMeshes(list) ; [default: []]
Keyword Arguments:


setBlendWeights

Constructor: setBlendWeights(dagPath, components, scFn, skinData)
Return: None
Arguments:
  • dagPath
  • components
  • scFn
  • skinData
Keyword Arguments:


setInfluenceWeights

Constructor: setInfluenceWeights(dagPath, components, scFn, skinData)
Return: None
Arguments:
  • dagPath
  • components
  • scFn
  • skinData
Keyword Arguments:


setSkinData

Constructor: setSkinData(skinClusterNode = None, skinData = None)
Return: None
Arguments:
  • skinClusterNode(str) ; [default: None]
  • skinData(str) ; [default: None]
Keyword Arguments:


unbind

Constructor: unbind(sourceMeshes = [])
Return: None
Arguments:
  • sourceMeshes(list) ; [default: []]
Keyword Arguments: