Constraint Files
3 nodes
On this page 3
Export
FunctionExports the model's solid as STL, OBJ, OFF, faceted STEP, glTF binary (.glb) or 3MF, chosen by the extension.
Signature
Export(model: Constraint Model, path: Text)
void Export(ConstraintModel model, string path)
Parameters
| name | type | default | description |
|---|---|---|---|
| model | Constraint Model | — | |
| path | Text | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Constraint Files
- Package
- CAD
Open
FunctionOpens a Kerf model (.kerf) or a SolveSpace model (.slvs) and solves it. Linked parts are resolved beside the file.
Signature
Open(path: Text) -> Constraint Model
ConstraintModel Open(string path)
Parameters
| name | type | default | description |
|---|---|---|---|
| path | Text | — |
Returns
| result | Constraint Model |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Constraint Files
- Package
- CAD
Save
FunctionSaves a model as a Kerf document (.kerf) or a SolveSpace file (.slvs) that SolveSpace 3.1 opens.
Signature
Save(model: Constraint Model, path: Text)
void Save(ConstraintModel model, string path)
Parameters
| name | type | default | description |
|---|---|---|---|
| model | Constraint Model | — | |
| path | Text | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Constraint Files
- Package
- CAD