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.
These functions are available within manifoldCAD.
Import a model, and convert it to a Manifold object for manipulation.
Import a model, for display only.
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.