Bitbybit Docs
    Preparing search index...

    Class JSCAD

    Index

    Constructors

    • Parameters

      • jscadWorkerManager: JSCADWorkerManager

      Returns Bit.JSCAD

    Properties

    booleans: JSCADBooleans
    expansions: JSCADExpansions
    extrusions: JSCADExtrusions
    hulls: JSCADHulls
    path: JSCADPath
    polygon: JSCADPolygon
    shapes: JSCADShapes
    text: JSCADText
    colors: JSCADColors

    conversions

    • Converts the Jscad mesh to polygon points representing triangles of the mesh.

      Parameters

      Returns Promise<Mesh3>

      polygon points

      to polygon points

      false

    io

    • Downloads the binary STL file from a 3D solid

      Parameters

      Returns Promise<void>

      solid to stl

    • Downloads the binary STL file from a 3D solids

      Parameters

      Returns Promise<void>

      solids to stl

    • Downloads the dxf file from jscad geometry. Supports paths and meshes in array.

      Parameters

      Returns Promise<void>

      geometry to dxf

    • Downloads the 3MF file from jscad geometry.

      Parameters

      Returns Promise<void>

      geometry to 3mf

    transforms

    • Transforms the Jscad solid meshes with a given list of transformations.

      Parameters

      Returns Promise<any[]>

      Solids with a transformation

      transform solids

      true

    • Transforms the Jscad solid mesh with a given list of transformations.

      Parameters

      Returns Promise<any>

      Solid with a transformation

      transform solid

      true