manifold-3d
    Preparing search index...

    Module manifold-3d/manifoldCAD

    These are the objects and functions that are available to all manifoldCAD models.

    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 relevant scene-builder properties. 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.

    Classes

    CrossSection → CrossSection
    GLTFMaterial → GLTFMaterial
    GLTFNode → GLTFNode
    Manifold → Manifold
    Mesh → Mesh

    Interfaces

    MeshOptions → MeshOptions
    SealedFloat32Array → SealedFloat32Array
    SealedUint32Array → SealedUint32Array

    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
    only → only
    resetGLTFNodes → resetGLTFNodes
    setMaterial → setMaterial
    setMorphEnd → setMorphEnd
    setMorphStart → setMorphStart
    show → show
    triangulate → triangulate