07-08-2014 03:37 AM
Hi,
once I've loaded in a 3D picture control my 3D CAD model (for example in .stl format), I would like to found the dimension of the bounding box.
Any idea about that?
Thanks in advance
Solved! Go to Solution.
07-08-2014 10:37 AM - edited 07-08-2014 10:56 AM
D'you want the bounding box in x,y and z? If so, you can use a property node on the mesh refnum to grab the mesh vertex array. From this you just need to look for the maximum and minimum in each dimension.
I've attached a VI for reference (which also adds the bounding box to the scene).
Edit: There was a mistake in the VI I uploaded.
07-08-2014 10:47 AM
This is the solution I was searching for
Thank you
Giovanni