Maya - Transform locked normals into hard and soft edges

lockedNormals to hard edges


Author: Buliarca Cristian (buliarca@yahoo.com)
Copyright (@) 2013 Buliarca Cristian
http://buliarca.blog124.fc2.com/

Version: 1.0.1

Function:
this script takes the selected objects and transforms the locked normals
into Hard or Soft edges.
Usually when the user import an object in format fbx, from other 3d package
maya bring that object with locked normals not with hard and soft edges.
This way you can edit the object in maya and send it back to your other 3d
package by FBX and keeping the smoothing groups as well. If you don't export it
as hard and soft edges form maya, the fbx importer will not create the smoothing
groups in the other package, it will only import it with locked normals.


To install it you need to copy the script : "lockNormals_toHS.py"
in maya user scripts directory:
"c:\Users\_your user name_\Documents\maya\2012-x64\scripts\"

and use these python command to run it:

import lockNormals_toHS as lockNormals_toHS
reload(lockNormals_toHS)

If you want to have it on your shelf just create a shelf button with the above comments.

Use and/or modify at your own risk.









Post a comment

Private comment

Profile

c.buliarca

Author:c.buliarca

please visit my PORTFOLIO here

Latest journals
Latest comments
Latest trackbacks
Monthly archive
Category
Search form
Display RSS link.
Link
Friend request form

Want to be friends with this user.