AnsweredAssumed Answered

API ISSUE GETBOX

Question asked by Luigi Piron on Jun 27, 2017
Latest reply on Jun 27, 2017 by Amen Allah Jlili

Hy to everybody,

i have just one question , i have a componet where inside there is only one skecth , in my case this sketch is a closed spline ,

i get the minimun box of the sketch, in this way:

- 1 get the center of the sketch

-2 get the normal vector of the sketch

-3 with a rotation of 1 degree from 0 to 90 i get the minimun box of the sketch

getting the corner points of my box

-4 insert the segment points that connect the points of my minimun box

the problem is that once inserted the segment points ,i measure the lenght of my rectangle box

and the measure are not the same that i find with the mathtrasform

any suggestion ??

yhank you in advance

 

luigi

Outcomes