Export
2 nodes
On this page 2
Export Frame
FunctionWrites one frame's bodies and cloths as a Wavefront OBJ, one named object each, and returns the path.
Signature
ExportFrame -> Text
result: Simulation Result
frame: Integer
path: Textstring ExportFrame(
SimulationResult result,
int frame,
string path)Parameters
| name | type | default | description |
|---|---|---|---|
| result | Simulation Result | — | |
| frame | Integer | — | |
| path | Text | — |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Export
- Package
- Physics Simulation
Export Sequence
FunctionWrites every frame of a run into a folder and returns the files written.
Signature
ExportSequence -> Text Array
result: Simulation Result
folder: Text
prefix: Textstring[] ExportSequence(
SimulationResult result,
string folder,
string prefix = "continuum")Parameters
| name | type | default | description |
|---|---|---|---|
| result | Simulation Result | — | The run. |
| folder | Text | — | The folder; created if missing. |
| prefix | Text | continuum | File name prefix: files are prefix.0000.obj and prefix_water.0000.ply. |
Returns
| result | Text Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Export
- Package
- Physics Simulation