Hi When I was at ILM there was a cool tool that would calculate the orientation of an object based on the volume thanks to the eigenvector. There they were using some old module called Linear Algebra to get the eigenvector result from the arrays of the object, but I know that Numpy has integrated the Linear Algebra Module so I guess that is the same.
I haven't been able to find a good way to just get an object parsing on the matrices of the individual vertex and then feed a 4x4 matrix to Numpy so that would give me a matrix that applied to a Locator would result to the right orientation of the object even if the original pivot is completely in a different position like when we freeze the transform on a rotated object in space. Anyone got a clue of a reasonably simple way to do that ? Thank you in advance. -- http://groups.google.com/group/python_inside_maya To unsubscribe from this group, send email to python_inside_maya+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
