so you want to stick a locator on to an objects vertex ? E.Ozgur Yilmaz Lead Technical Director www.ozgurfx.com
On Mon, Mar 22, 2010 at 1:05 AM, maurizio1974 <[email protected]>wrote: > 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. > -- 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.
