cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

how to tranform a ProPoint3d by changing reference coordinate system?

ajoyvarghese
1-Newbie

how to tranform a ProPoint3d by changing reference coordinate system?

I want to tranform propoint3d of curve end point by userdefined coordinate system
for this i tried the following steps
1. get x_vector, y_vector, z_vector,orgin (from ProGeomitemdata) from user defined coordinate system
2. construct a ProMatrix using these inputs (ProMatrixInit())
3. Transformed propoint3d with ProMatrix as input

But the resultant Ptopoint3d is not equal to manually measured value (Analysis-> Geometry -> point)

For example if user defined Csys is created o nthe end point of the curve , and if tranformed that point3d , resultant value should be 0 0 0 ideally ,but toolkit is giving some other result

If you got any idea , please give me a reply


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
5 REPLIES 5

Ajoy,
Did you consider the rotations of coordinate system?

i used ProPntTrfEval for transformation . this includes both shift and rotation

Ajoy, did you normalize the ProMatrix?

/Bjarne



"Ajoy  Mathew" <->
05-09-2008 07:28
Please respond to
"Ajoy  Mathew" <->


To
-
cc

Subject
[proecus] - how to tranform a ProPoint3d by changing reference coordinate
system?






I want to tranform  propoint3d of curve end point by userdefined
coordinate system
for this i tried the following steps
1. get  x_vector, y_vector, z_vector,orgin (from ProGeomitemdata) from
user defined coordinate system
2. construct a ProMatrix using these inputs (ProMatrixInit())
3. Transformed  propoint3d  with ProMatrix as input
But the resultant Ptopoint3d is not equal to manually measured value
(Analysis-> Geometry -> point)
For example if user defined Csys is created o nthe end point of the curve
, and if tranformed that point3d , resultant value should be 0 0 0 ideally
,but toolkit is giving some other result
If you got any idea , please give me a reply
----------

no,how could i ?

Ajoy,

Try the ProUtilMatrixNormalize function in the attached files. You need
to do this after you initialize your matrix and before you transform the
point.



Patrick Williams | Sr. Application Engineer | Engineering Systems |
Steelcase Inc. | 616.698.4078 | My Site
<">http://my.steelcase.com/Person.aspx?accountname=NA\PWILLIA3>





Announcements
Attention: Creo 7.0 Customers
Please consider upgrading
End of Life announcement here.