Skip to content

VisualModelOBJExporter

Export the scene under the Wavefront OBJ format.When several frames are exported the file name have the following pattern: outfile000.obj outfile001.obj.

Target: Sofa.Component.IO.Mesh

namespace: sofa::component::visualmodelobjexporter

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
Name Description Destination type name
context Graph Node containing this object (or BaseContext::getDefault() if no graph is used) BaseContext
slaves Sub-objects used internally by this object BaseObject
master nullptr for regular objects, or master object for which this object is one sub-objects BaseObject