MeshExporter
Export topology and positions into file.
Supported format are:
- vtkxml
- vtk
- netgen
- teten
- gmsh
- obj
Target: Sofa.Component.IO.Mesh
namespace: sofa::component::_meshexporter_
parents:
BaseSimulationExporter
Data:
| Name | Description | Default value |
|---|---|---|
| name | object name | unnamed |
| printLog | if true, emits extra messages at runtime. | 0 |
| tags | list of the subsets the objet belongs to | |
| bbox | this object bounding box | |
| componentState | The state of the component among (Dirty, Valid, Undefined, Loading, Invalid). | Undefined |
| listening | if true, handle the events, otherwise ignore the events | 0 |
| filename | Path or filename where to export the data. If missing the name of the component is used. | |
| exportEveryNumberOfSteps | export file only at specified number of steps (0=disable, default=0) | 0 |
| exportAtBegin | export file before the simulation starts, once the simulation is initialized (default=false) | 0 |
| exportAtEnd | export file when the simulation is over and cleanup is called, i.e. just before deleting the simulation (default=false) | 0 |
| enable | Enable or disable the component. (default=true) | 1 |
| format | File format to use | ALL |
| position | points position (will use points from topology or mechanical state if this is empty) | |
| edges | write edge topology | 1 |
| triangles | write triangle topology | 1 |
| quads | write quad topology | 1 |
| tetras | write tetra topology | 1 |
| hexas | write hexa topology | 1 |
Links:
| Name | Description |
|---|---|
| context | Graph Node containing this object (or BaseContext::getDefault() if no graph is used) |
| slaves | Sub-objects used internally by this object |
| master | nullptr for regular objects, or master object for which this object is one sub-objects |