ThreeMfImporter
Overview
ThreeMfImporter reads a 3MF (.3mf) file or binary buffer and reconstructs its scene graph as Aspose.3D for TypeScript objects including nodes, meshes, materials, and animations. It is invoked automatically by Scene.open() when the source file has the .3mf extension or when a ThreeMfLoadOptions instance is provided explicitly. Pass ThreeMfLoadOptions to control which node hierarchies are loaded, how materials are resolved, and whether animation tracks are included during import.
Description
ThreeMfImporter is a class in the Aspose.3D FOSS library for TypeScript that exposes 2 methods and 0 properties for programmatic use. It extends Importer, inheriting shared functionality from its parent type.
Core capabilities include: Loads a 3mf file from a stream into the provided scene using specified loadoptions. These operations enable developers to integrate threemfimporter functionality directly into TypeScript applications.
Instances are created through a single constructor that initializes the object with default values.
Methods
| Signature | Description |
|---|---|
constructor() | |
supportsFormat(fileFormat: FileFormat) → boolean | |
importScene(scene: Scene, stream: any, options: LoadOptions) | Loads a 3MF file from a stream into the provided Scene using specified LoadOptions |