LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3d figure bounding box

I load some 3d model into 3d figure in labview. I need to find bounding box of that boject programmatically and then I am going to use clip plane on that object strating from minimum (object visible) to maximum (object invisible). Do You have any Ideas?

0 Kudos
Message 1 of 5
(2,890 Views)

I think I ve solution 

I get vertex array from scene mesh and then I am looking for max and min x y z value and they create my bounding box.

I have no idea if this is elegant way to do that because i ve never used 3d picture and there is very hard to find good examples...

0 Kudos
Message 2 of 5
(2,870 Views)

Hi,


Can you post the VI and the 3D model?

 

Best regards,

I.R.

0 Kudos
Message 3 of 5
(2,851 Views)

Vi and model  attached.

Next thing that i want to achieve after cutting plane is applied:

-Places where object was cut have to change color like this:

ScreenShot001.jpg

 

Any sugestions on this?

0 Kudos
Message 4 of 5
(2,840 Views)

Hi there,

 

At the following location you will find and example that is loading a 3D model and modifies the colour depending on some values that you pass (reading from a sensor).

You can convert the express VI to a subVI and see low level the implementation.
https://decibel.ni.com/content/docs/DOC-2059

Best regards,

I.R.

0 Kudos
Message 5 of 5
(2,828 Views)