StlSaveOptions
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.
Description
StlSaveOptions is a class in the Aspose.3D FOSS library for TypeScript that exposes 0 methods and 3 properties for programmatic use. It extends SaveOptions, inheriting shared functionality from its parent type.
Core capabilities include: boolean; number; boolean. These operations enable developers to integrate stlsaveoptions functionality directly into TypeScript applications.
The class also provides the scale property (specifies a uniform scaling factor applied to the model when saving to stl), the binaryMode property (controls whether the exported stl file is written in binary (true) or ascii (false) format).
Instances are created through a single constructor that initializes the object with default values.
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 |