Model loading · interface
ThreeMfResult
What a .3mf yields, in the shape every other reader in this directory returns.
Explained in Importing models.
interface ThreeMfResultimport type { ThreeMfResult } from '@driftengine/assets';Properties
| Name | Type | Description |
|---|---|---|
meshesreadonly | MeshData[] | |
materialsreadonly | DrftMaterial[] | One per mesh, by ordinal. |
warningsreadonly | string[] | |
declaredUpreadonly | UpAxis | 3MF is Z-up and says so in its specification rather than per file, so this is a fact about the format rather than something read out of the document. |
unitScalereadonly | number | Metres per unit, from the model's unit attribute. Millimetres is the default. |