Hi
We have a system that needs as the input position and orientation of a tool relative to the workpiece loaded as an .stl file.
My question is, given a stl presenting a workpiece, is there a way to get its smallest containing box? The workpiece can be rotated arbitrary in space.
Thanks
Aligning objects
-
- Posts: 65
- Joined: Tue Jun 18, 2024 6:12 am
Re: Aligning objects
Hi Vincent
Have a look at the Cloud sample in the current v7.1. Click the button in the "Oriented Bounding Box". It sounds like what you need.
The app computes the tightest oriented bounding box of the object.
See the installed sample for the code
Regards
Have a look at the Cloud sample in the current v7.1. Click the button in the "Oriented Bounding Box". It sounds like what you need.
The app computes the tightest oriented bounding box of the object.
See the installed sample for the code
Regards