These are the objects and functions that are available within manifoldCAD itself.
The bundler resolves files and modules at load time, bundles them, and allows
the manifoldCAD runtime to provide objects (like manifold itself) and
properties (such as import.meta.url).
Exceptions, and where to find them.
Objects created by the manifold WASM module will not be garbage collected by the JavaScript runtime. This module tracks those objects for later cleanup.
Nodes enable ManifoldCAD users to build models that are beyond a single Manifold object. This can range from assembling models to animation to even including non-manifold objects from other sources.
The scene builder provides modelling outside of the native capabilities of Manifold WASM. This includes scene graphs, materials, and animation functions. In general, the scene builder follows GLTF semantics.
Convenience functions for instantiating or getting a manifold WASM instance.
The worker is where everything comes together. It handles worker communication, execution of a model and exporting the final scene as a GLTF-Transform Document or URL encoded Blob.
Serialize in memory glTF-transform documents to 3MF.
Export models out of manifoldCAD.
Convert between in-memory glTF-transform documents and their serialized formats. This module also includes some utilities for conversion between glTF meshes and manifold meshes.
Import models into manifoldCAD.
Allow manifoldCAD models to specify glTF animations and morphs.
Use material properties (like transparency and colour) to debug manifoldCAD models.
Control detail level for the CrossSection.circle, CrossSection.revolve, Manifold.cylinder, and Manifold.sphere constructors.
Assign glTF materials to manifoldCAD models.
This module implements the EXT_mesh_manifold GLTF extension for glTF Transform. It does not depend on manifold. Use it where topological correctness is required.
The core WASM bindings with no frills.