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

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

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
6-Contributor
(To:ajoyvarghese)
Ajoy, did you normalize the ProMatrix?

/Bjarne

"Ajoy  Mathew" <->
05-09-2008 07:28
"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
----------
no,how could i ?
10-Marble
(To:ajoyvarghese)
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