Adverti horiz upsell

scSaveWeights 0.4.6 for Maya (maya plugin)

an useful Maya python API plugin which exports out weights

License
Button download
919 Downloads

Compatibility

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

Operating Systems

  • Linux
  • Windows

History

Created:03/14/2012
Last Modified:03/27/2012
File Size: 7.33 KB

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 if you have any questions or problems.
Please rate and review in the Review section.

People who favorited this item:

  • Artizan
    Artizan
  • Ramtin
    Ramtin
  • zhang fei
    zhang fei
  • john chen
    john chen
  • artune
    artune