ThreeMfExporter
Overview
ThreeMfExporter converts an in-memory Scene graph into 3MF (.3mf) 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 .3mf or when a ThreeMfSaveOptions instance is passed explicitly to control output. Pass a ThreeMfSaveOptions object to govern serialisation details such as coordinate-system handedness, vertex precision, and optional format-specific extensions during the export operation.
Methods
| Signature | Description |
|---|---|
constructor() | |
supportsFormat(fileFormat: FileFormat) → boolean | Returns true if the given FileFormat can be exported to 3MF |
export(_scene: Scene, stream: any, options: SaveOptions) |