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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Re: RE: Arc angles

FV
17-Peridot
17-Peridot

Re: RE: Arc angles

Hello all,

My apologies but I did not understand the question.

If you are asking about how to get an arbitrary point on an arc - you would not need this old pile of code from ten years ago. Just use   ProCurveParamByLengthEval() or ProEdgeParamByLengthEval(), with the parameter argument changing from 0.0 to 1.0:

int max_steps = 100;
for( int i = 0; i < max_steps; ++i ) {
double t2 = -1.0;
ProPoint3d point = {0.0,0.0, 0.0};
 ProCurveParamByLengthEval (curve, (double) i/max_steps, 0.0, &t2, point);
}

 HIH.

FV.

0 REPLIES 0
Top Tags