scSaveWeights 0.4.6 (maya plugin)

an useful Maya python API plugin which exports out weights

Plugin_snap1

License Type:

Freeware

File ID:

41239

File Size:

7.3 KB

Created / Updated:

Mar 14, 2012 / Mar 27, 2012

Owner:

underearth   More free downloads from this user See users marketplace items See this users portfolio Send a Private Message

Platforms:

linux, windows

Downloaded:

492

Maya:

6.x, 7.x, 8.x, 2008, 2009, 2010, 2011, 2012

Tags:

skinCluster, save, weights, mayaimport, Export


I have written an useful Maya python API plugin which exports out weights from polygon mesh or vertices to text file(optionally binary),Which can be used later.
This process is mostly useful when User wish to change position of joints in a rig with skinCluster , or just want to update rig file with latest weights from other file.
I have in past used Michael comets famous Mel script cometSaveWeights, which works great but is very slow when importing weights on dense mesh.

It was my first attempt at writing something in Maya API. Attached in plugin which I have tested on Maya 2008 to 2011.

SETUP:
------
Step 1:
Place scSaveWeights.py in your plugin directory 
Step 2:
scSaveWeightsWin.py in your python script directory. Make sure plug-in scSaveWeights is loaded in plug-in manager. 
Usage via UI:
------
import scSaveWeightsUI
scSaveWeightsUI.initUI()

Usage commandLine:
------
export:
scSaveWeights -roundOff 5 -action "export" -file "d:/weights.txt"
import:
scSaveWeights -action "import" -file "d:/weights.txt"

thanks

sunny

underearth.wordpress.com


Please use the Bug System to report any bugs.
Please use the Feature Requests to give me ideas.
Please use the Support Forum to ask any questions.
Please rate my product in the Review section.

People who have favorited this file