mgear.core.skin

Functions to work with skinCluster data.

This module is derivated from Chad Vernon’s Skin IO.

`Chad Vernon’s github

<https://github.com/chadmv/cmt/tree/master/scripts/cmt/deform>`_

Functions

collectBlendWeights(skinCls, dagPath, …)
collectData(skinCls, dataDic)
collectInfluenceWeights(skinCls, dagPath, …)
exportJsonSkinPack([packPath, objs])
exportSkin([filePath, objs])
exportSkinPack([packPath, objs, use_json])
getCurrentWeights(skinCls, dagPath, components) Get the skincluster weights
getGeometryComponents(skinCls) Get the geometry components from skincluster
getObjsFromSkinFile([filePath])
getSkinCluster(obj) Get the skincluster of a given object
importSkin([filePath])
importSkinPack([filePath])
selectDeformers(*args)
setBlendWeights(skinCls, dagPath, …)
setData(skinCls, dataDic, compressed)
setInfluenceWeights(skinCls, dagPath, …)
skinCopy([sourceMesh, targetMesh])