Community email notifications are disrupted. While we are working to resolve, please check on your favorite boards regularly to keep up with your conversations and new topics.
Hi all,
Alfonso, please take a look at 'Matrix Decomposition' chapter of 'Geometric Tools for Computer Graphics' book (http://www.amazon.com/Geometric-Computer-Graphics-Morgan-Kaufmann/dp/1558605940). Pro/E uses RzRxRy factor.
HIH.
Feliks.
In Reply to alfonso medina:
I'm trying to export a coordinate system from pro/e as a location (2,3,4)
and its axis rotations (90,34,15).
I kind of got something going. It looks like both the XAxis, Y&Z and the
matrix for a transform will give a rotation transform.
The thing is that, its not the same as the axis rotation angles shown in
pro/e when you go to the rotate coordinate datum section.
basically the default system is:
[100]
[010]
[001]
and if you rotate it say 90 degrees on the Z axis you get:
[010]
[-100]
[001]
So the positive X axis is where the positive Y axis used to be
I expect to use the cross product and the dot product in a atan2 function
to give me a signed angle, but look:
X and Y will be plus or minus 90 degrees while Z shows no rotation at all.
[001]->[001]
So eventually I came to the rodrigues formula for rotations :
http://en.wikipedia.org/wiki/Rodrigues'_rotation_formula
and I'm trying to figure out how I can get alpha, beta and gama from the
matrix. I "think " this is what I'm after. I think these are the angles
shown in the pro/e coordinate system window.
If you got an idea of what i'm talking about, I could use some help.
Rotations in matrix algebra are so neat and interesting for sure.