From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
I am working on importing robot CAD models into LabVIEW.
For this I import STL files using the 3D picture control.
- My question is, how do I import multiple STL files and align (rotate and position) the models according to each other?
I have made a simple VI (Load_Robot_STL.VI), where I load a STL file (Base.STL), and I would like to load more models e.g. Joint_01.STL and align it to the base.
Have you looked at the example "solarsystem.vi" in the LabVIEW Example Finder? This shows how to place a sun, earth and moon in relation to each other and move them around.
I believe it should be in LV 8.6 as well, if not let me know and I will try to downconvert it to you. Basically what you want to do is to use the 3D transformation VI's under "Grahics and sound" -> "3D picture control" -> "Transformations". It allows you to move (translate), change size (scale), and change rotation (rotate) your 3D objects.