Manifold WASM Developer Guide
    Preparing search index...

    Module manifoldCAD

    All of the classes, functions and properties of this module are implemented elsewhere and re-exported here.

    This is an isomorphic module. When imported within manifoldCAD, the bundler will swap it out for an identical module running in the worker context. When imported as an ES module, it will implicitly instantiate a manifold wasm module, and export it along with everything else listed here. This allows models to behave identically when running on manifoldCAD.org, through the CLI, or through nodejs.

    There is separate user facing documentation for this module; types/manifoldCAD.d.ts which is rolled up into dist/manifoldCAD.d.ts.

    Interfaces

    GLTFMaterial → GLTFMaterial

    Classes

    GLTFNode → GLTFNode
    VisualizationGLTFNode → VisualizationGLTFNode

    Functions

    getAnimationDuration → getAnimationDuration
    getAnimationFPS → getAnimationFPS
    getAnimationMode → getAnimationMode
    getCircularSegments → getCircularSegments
    getMinCircularAngle → getMinCircularAngle
    getMinCircularEdgeLength → getMinCircularEdgeLength
    importManifold → importManifold
    importModel → importModel
    setMorphEnd → setMorphEnd
    setMorphStart → setMorphStart
    getGLTFNodes
    isManifoldCAD
    resetGLTFNodes

    Type Aliases

    GLTFAttribute → GLTFAttribute

    Variables

    CrossSection
    Manifold
    Mesh
    only
    setMaterial
    show
    triangulate