worldToPlane Question
papawo
Member, Developers Posts: 206 PRO
How come my skrectangle didnt produce a 1x1 inch size using worldToPlane ?

https://cad.onshape.com/documents/583340f98c282b104bd800ee/w/b3c16d2af1095e95dd57d4c2/e/91ff8b48a67360edfc87cbd1

https://cad.onshape.com/documents/583340f98c282b104bd800ee/w/b3c16d2af1095e95dd57d4c2/e/91ff8b48a67360edfc87cbd1
Tagged:
0
Best Answer
-
The second corner coordinates are "absolute" rather than relative. If you pass vector(1, 1) * inch + worldToPlane(oplane, ptcoord) as the second corner instead, you should get a 1x1 inch square.Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc5
Answers
-
The second corner coordinates are "absolute" rather than relative. If you pass vector(1, 1) * inch + worldToPlane(oplane, ptcoord) as the second corner instead, you should get a 1x1 inch square.Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc5
-
got it!!
thanks again!
0

