Assimp
assimp
Asset-Importer-Lib (assimp)
Introduction
Assimp (Asset-Importer-Lib) is a library to load and process geometric scenes from various 3D data formats.
This chapter provides some examples of how 3D formats can be imported into MeVisLab. In general you always need a SoSceneLoader
module. The SoSceneLoader
allows to load meshes as Open Inventor points/lines/triangles/faces using the Open Asset Import Library.
You can also use the SoSceneWriter
module to export your 3D scenes from MeVisLab into any of the output formats listed below.
Example 1: 3D Printing in MeVisLab
Example 1: 3D Printing in MeVisLab
Introduction
This example uses the assimp library to load a 3D file and save the file as *.stl for 3D printing.
Steps to do
Develop your network
Add the modules SoSceneLoader
, SoBackground
and SoExaminerViewer
to your workspace and connect them as seen below.
Open the 3D file
Select the file vtkCow.obj from MeVisLab demo data directory. Open SoExaminerViewer
and inspect the scene. You will see a 3D cow.