1
Python and Java API / rotation bounding box and model if given 3 point
« on: February 23, 2023, 04:26:21 PM »
Good afternoon.
Please tell me if it is possible to write a script like this:
I have 3 points on the model (point 1, point 2, point 3). Is it possible, if i have these three points (which form a plane), to rotate the model and the bounding box to the xz plane direction?
In my understanding, it is necessary to form a plane from points p1 p2 p3, place it parallel to the plane YZ, but I can’t understand how to attach the reconstruction area to them.
I added the picture for visual understanding.
Thank you.
Please tell me if it is possible to write a script like this:
I have 3 points on the model (point 1, point 2, point 3). Is it possible, if i have these three points (which form a plane), to rotate the model and the bounding box to the xz plane direction?
In my understanding, it is necessary to form a plane from points p1 p2 p3, place it parallel to the plane YZ, but I can’t understand how to attach the reconstruction area to them.
I added the picture for visual understanding.
Thank you.