Import a model, and convert it to a Manifold object for manipulation.
Import a model, for display only.
These functions are not available within manifoldCAD, but can be used when including manifold in another project.
Fetch a model over HTTP/HTTPS.
Read a model from an ArrayBuffer.
Read a model from a Blob.
Convert a gltf-transform Node and its descendants into a Manifold object.
Read a model from disk.
Resolve and read a model, be it a file, a URL or a Blob.
Through this interface, manifoldCAD can infer what formats each importer may support.
Register an importer.
Returns true if a given extension or mimetype can be imported.
Import models into manifoldCAD.
ManifoldCAD uses gltf-transform internally to represent scenes. Importers must convert their models to in-memory gltf-transform Documents.
The high level functions
importModel()andimportManifold()will import models as display-only and full manifold objects respectively. These functions are available in manifoldCAD.