StlExporter
Overview
StlExporter converts an in-memory Scene graph into STL (.stl) format and writes the result to a file path or output stream. It is invoked automatically by Scene.save() when the target file extension is .stl or when a StlSaveOptions instance is passed explicitly to control output. Pass a StlSaveOptions object to govern serialisation details such as coordinate-system handedness, vertex precision, and optional format-specific extensions during the export operation.
Description
StlExporter is a class in the Aspose.3D FOSS library for TypeScript that exposes 2 methods and 0 properties for programmatic use. It extends Exporter, inheriting shared functionality from its parent type.
Core capabilities include: Creates a new stl exporter instance. These operations enable developers to integrate stlexporter functionality directly into TypeScript applications.
Instances are created through a single constructor that initializes the object with default values.
Methods
| Signature | Description |
|---|---|
constructor() | Creates a new STL exporter instance |
supportsFormat(fileFormat: FileFormat) → boolean | |
export(scene: Scene, stream: any, options: SaveOptions) |