To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This VI demonstrates how to use the "Load STL Geometry" VI to load an STL file into a 3D picture.
Description
Here is a brief description of the example:
This is an updated version of the LabVIEW 8.6 code written by NKannen - https://decibel.ni.com/content/docs/DOC-6033
Some of the 3D picture functionality has changed since LV 8.6. Instead of adding an STL file using the "SceneObjectSmiley Frustratedet Geometry" invoke node, it is now added as a scene object using the "SceneObjectSmiley Frustratedet Drawable" method.
This VI also demonstrates how to add the STL file to a scene that already contains objects.
Solidworks and ASCII STL files are included with the example.
NOTE: "Load STL Geometry" VI only works for ASCII STL files - most CAD software packages output BINARY STL by default.
STL files can be converted from BINARY to ASCII using the open source software "Meshlab".
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Snippet
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.