Can a Set of Intersection Points Be Pulled from a Clipped 3D Object in LabVIEW?

Updated Aug 1, 2018

Reported In

Software

  • LabVIEW

Other

  • LabVIEW 3D Picture Control
  • LabVIEW 3D Graphs API

Issue Details

 I'm currently importing an STL file which loads into LabVIEW with Load STL Geometry.vi

to acquire a mesh which is then clipped with the Set Clip Plane.vi.  

I want a set of points (X,Y,Z) that represent the intersection points between the mesh and the plane used for clipping,and I believe that this information should be accessible somehow, since I believe that LabVIEW calculates that information at some point and that they should be able to access it.

  • Can a set of intersection points be acquired from a 3D object that has been clipped?
  • How can I acquire this information?

Solution

The LabVIEW 3D picture control uses OpenGL technology, which provides an environment for developing portable, interactive 2D and 3D graphics applications. 

The 3D Picutre Control, its properties and methods, are part of the LabVIEW API, designed to provide you with tools for Creating Advanced User Interfaces with OpenGL Based 3D Visualization. The API is comprehensive, However, there might be features from OpenGL that are not covered by the API. Getting the coordinate points froma an intersection with a mesh is one of those cases. Currently, there is no user-facing method of extracting that information in LabVIEW; it's all done inside the OSG (OpenSceneGraph) or OpenGL rendering engine

The Good news is that OpenGL is open source and free. That being said, there are several resources online regarding how to manually slice meshes ang get intersection coordinates. you can explore one of them and integrate into your LabVIEW Project. Refer to the Related Links section for good starting point resources.

WAS THIS ARTICLE HELPFUL?

Not Helpful