Overview
StlSaveOptions controls how a Scene is serialised to STL (.stl) format. Construct an instance, configure the desired properties, and pass it to Scene.save() to override the built-in export defaults. Typical settings include output coordinate-system handedness, floating-point precision, whether binary buffers are embedded, and format-version selection. When Scene.save() receives only a file path, StlFormat supplies the default export configuration automatically.
Properties
| Name | Type | Access | Description |
|---|
flipCoordinateSystem | boolean | Read | |
scale | number | Read | Specifies a uniform scaling factor applied to the model when saving to STL |
binaryMode | boolean | Read | Controls whether the exported STL file is written in binary (true) or ASCII (false) format |
Methods
| Signature | Description |
|---|
constructor(fileFormat: FileFormat) | Creates a new StlSaveOptions instance for the specified file format |
See Also