Import a 3MF file from a Blob.
Extracts the model XML from the ZIP archive, parses vertices and triangles, and builds a solid by sewing the resulting triangular faces.
A Blob or File containing 3MF data (.3mf).
A Result wrapping the imported solid, or an error if parsing fails.
Result
const file = new File([data], 'model.3mf');const shape = unwrap(await importThreeMF(file)); Copy
const file = new File([data], 'model.3mf');const shape = unwrap(await importThreeMF(file));
Import a 3MF file from a Blob.
Extracts the model XML from the ZIP archive, parses vertices and triangles, and builds a solid by sewing the resulting triangular faces.