Adverti horiz upsell

cleanPerFaceAssignment for Maya 1.0.0 (maya script)

It traces material connections, if multiple conections to one material is found, it reassign all materials

License
Button download
94 Downloads

Compatibility

  • 2011, 2010, 2009, 2008

Operating Systems

  • Windows

History

Created:09/27/2010
Last Modified:10/01/2010
File Size: 10.7 KB
This script was originally written by Hiroyuki Haga on C++. Source you can find with Maya C++ API examples.
I have done not only "translation" to Maya Python, also some bugs was fixed by me and Script was modified in "my way".

DESCRIPTION:

1. It traces material connections
2. If multiple conections to one material is found, it reassign all materials

USAGE:

1. Make sure the PYTHONPATH environment variable is set properly in the maya.env file or the script may not run properly.
2. Select mesh with multiple connections to one material
3. Run from MEL or add to Shelf:
python("import cleanPerFaceAssignment; cleanPerFaceAssignment.cleanPerFaceAssignment()");

For debug purpose you can run:
python("import cleanPerFaceAssignment; cleanPerFaceAssignment.printObjectSGInfo()");



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:

  • del depierro
    del depierro