Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • JSCAD

Index

Constructors

constructor

  • new JSCAD(jscadWorkerManager: JSCADWorkerManager, context: Context, geometryHelper: GeometryHelper): JSCAD
  • Parameters

    • jscadWorkerManager: JSCADWorkerManager
    • context: Context
    • geometryHelper: GeometryHelper

    Returns JSCAD

Properties

Readonly booleans

booleans: JSCADBooleans

Readonly colors

colors: JSCADColors

Readonly expansions

expansions: JSCADExpansions

Readonly extrusions

extrusions: JSCADExtrusions

Readonly hulls

hulls: JSCADHulls

Readonly path

path: JSCADPath

Readonly polygon

polygon: JSCADPolygon

Readonly shapes

shapes: JSCADShapes

Readonly text

text: JSCADText

Methods

downloadGeometryDxf

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

    group

    io

    shortname

    geometry to dxf

    Parameters

    Returns Promise<void>

downloadSolidSTL

  • Downloads the binary STL file from a 3D solid

    group

    io

    shortname

    solid to stl

    Parameters

    Returns Promise<void>

downloadSolidsSTL

  • Downloads the binary STL file from a 3D solids

    group

    io

    shortname

    solids to stl

    Parameters

    Returns Promise<void>

transformSolid

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

    group

    transforms

    shortname

    transform solid

    drawable

    true

    Parameters

    Returns Promise<any>

    Solid with a transformation

transformSolids

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

    group

    transforms

    shortname

    transform solids

    drawable

    true

    Parameters

    Returns Promise<any[]>

    Solids with a transformation

Generated using TypeDoc