ThreeMfSaveOptions
Overview
ThreeMfSaveOptions controls how a Scene is serialised to 3MF (.3mf) 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, ThreeMfFormat supplies the default export configuration automatically.
Description
ThreeMfSaveOptions is a class in the Aspose.3D FOSS library for TypeScript that exposes 0 methods and 5 properties for programmatic use. It extends SaveOptions, inheriting shared functionality from its parent type.
Core capabilities include: boolean; boolean; boolean. These operations enable developers to integrate threemfsaveoptions functionality directly into TypeScript applications.
The class also provides the enableCompression property (determines whether the 3mf output is compressed), the buildAll property (indicates if all scene nodes are included in the saved 3mf file), the flipCoordinateSystem property (toggles conversion of coordinate system during save).
Instances are created through a single constructor that initializes the object with default values.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
enableCompression | boolean | Read | Determines whether the 3MF output is compressed |
buildAll | boolean | Read | Indicates if all scene nodes are included in the saved 3MF file |
flipCoordinateSystem | boolean | Read | Toggles conversion of coordinate system during save |
unit | string | Read | Specifies the measurement unit (e.g., millimeter) for the exported 3MF |
prettyPrint | boolean | Read | Formats the 3MF XML with indentation for readability |
Methods
| Signature | Description |
|---|---|
constructor() |