Hello,
I want to get the face normal of a polygon using the API. So tipically I 
get 3 vertices on a polygon, and to the cross vector, normalize, etc... but 
the MItMeshPolygon has a getNormal() method. So you give the id and an 
mvector to fill up and that is the normal polygon. Now this is what I don't 
get. Lets say you a one face plane and you rotate 90 degrees in X the 
vertices (not the transform). getNormal() returns the expected vector (0, 
0, 1). However, if you rotate the transform 90 degrees  the result is (0, 
1, 0) as if nothing happened.

I tried al the MSpace possible but they don't do anything as expected. So I 
am not sure of getNormal() is supposed to work. 

Cheers

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/31d70342-56d6-4c08-b5dc-65960138ce28n%40googlegroups.com.

Reply via email to