Manifold WASM Developer Guide
    Preparing search index...

    Module manifoldCAD

    These are the objects and functions that are available within manifoldCAD itself.

    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.

    It can be imported as manifold-3d/manifoldCAD.

    "Using ManifoldCAD" | Using ManifoldCAD

    Classes

    BaseGLTFNode → BaseGLTFNode
    CrossSection → CrossSection
    GLTFNode → GLTFNode
    Manifold → Manifold
    Mesh → Mesh
    VisualizationGLTFNode → VisualizationGLTFNode

    Interfaces

    GLTFMaterial → GLTFMaterial
    MeshOptions → MeshOptions

    Type Aliases

    AnimationMode → AnimationMode
    Box → Box
    ErrorStatus → ErrorStatus
    FillRule → FillRule
    GLTFAttribute → GLTFAttribute
    JoinType → JoinType
    Mat3 → Mat3
    Mat4 → Mat4
    Polygons → Polygons
    Rect → Rect
    SimplePolygon → SimplePolygon
    Smoothness → Smoothness
    Vec2 → Vec2
    Vec3 → Vec3

    Functions

    isManifoldCAD

    Is this module running in manifoldCAD evaluator?

    getAnimationDuration → getAnimationDuration
    getAnimationFPS → getAnimationFPS
    getAnimationMode → getAnimationMode
    getCircularSegments → getCircularSegments
    getGLTFNodes → getGLTFNodes
    getMinCircularAngle → getMinCircularAngle
    getMinCircularEdgeLength → getMinCircularEdgeLength
    importManifold → importManifold
    importModel → importModel
    only → only
    resetGLTFNodes → resetGLTFNodes
    setMaterial → setMaterial
    setMorphEnd → setMorphEnd
    setMorphStart → setMorphStart
    show → show
    triangulate → triangulate