This component belongs to the category of the MeshLoaders.
The MeshSTLLoader loads a mesh from a file under the format *.stl. Such a mesh file only supports surface meshes. The *.stl format is widely spread and such meshes can be generated using softwares like MeshLab or Paraview among many other solutions.
No pre-requisite in your scene to use a MeshLoader.
This component is used as follows in XML format:
<MeshSTLLoader name="STLLoader" filename="mesh/circle_knot_ascii.stl" printLog="true" flipNormals="0" />
or using SofaPython3:
'MeshSTLLoader', name="STLLoader", filename="mesh/circle_knot_ascii.stl", flipNormals="0")node.addObject(
An example scene involving a MeshSTLLoader is available in examples/Components/loader/MeshSTLLoader.scn
Last modified: 6 June 2023