Options
All
  • Public
  • Public/Protected
  • All
Menu
Logo of bit by bit developers

Class JSCADShapes

Hierarchy

  • JSCADShapes

Index

Constructors

constructor

  • new JSCADShapes(jscadWorkerManager: JSCADWorkerManager): JSCADShapes
  • Parameters

    • jscadWorkerManager: JSCADWorkerManager

    Returns JSCADShapes

Methods

cube

  • cube(inputs: CubeDto): Promise<any>
  • Create a 3D cube shape

    group

    primitives

    shortname

    cube

    drawable

    true

    Parameters

    Returns Promise<any>

    Cube solid

cubesOnCenterPoints

  • Create a 3D cubes on multiple center points

    group

    primitives on centers

    shortname

    cubes

    drawable

    true

    Parameters

    Returns Promise<any[]>

    List of cube solids

cuboid

  • Create a 3D cuboid shape

    group

    primitives

    shortname

    cuboid

    drawable

    true

    Parameters

    Returns Promise<any>

    Cuboid solid

cuboidsOnCenterPoints

  • Create a 3D cuboids on multiple center points

    group

    primitives on centers

    shortname

    cuboids

    drawable

    true

    Parameters

    Returns Promise<any[]>

    List of cuboid solids

cylinder

  • Create a 3D cylinder solid

    group

    primitives

    shortname

    cylinder

    drawable

    true

    Parameters

    Returns Promise<any>

    Cylinder solid

cylinderElliptic

  • Create a 3D elliptic cylinder solid

    group

    primitives

    shortname

    cylinder elliptic

    drawable

    true

    Parameters

    Returns Promise<any>

    Elliptic cylinder solid

cylinderEllipticOnCenterPoints

  • Create a 3D elliptic cylinders on multiple center points

    group

    primitives on centers

    shortname

    cylinder elliptic

    drawable

    true

    Parameters

    Returns Promise<any[]>

    List of elliptic cylinders solids

cylindersOnCenterPoints

  • Create a 3D cylinders on multiple center points

    group

    primitives on centers

    shortname

    cylinder

    drawable

    true

    Parameters

    Returns Promise<any[]>

    List of cylinder solids

ellipsoid

  • Create a 3D ellipsoid solid

    group

    primitives

    shortname

    ellipsoid

    drawable

    true

    Parameters

    Returns Promise<any>

    Ellipsoid solid

ellipsoidsOnCenterPoints

  • Create a 3D ellipsoids on multiple center points

    group

    primitives on centers

    shortname

    ellipsoid

    drawable

    true

    Parameters

    Returns Promise<any[]>

    List of ellipsoid solids

fromPolygonPoints

  • Create a 3D shape from poylgon points that have to be nested arrays of points

    group

    shapes

    shortname

    from polygon points

    drawable

    true

    Parameters

    Returns Promise<any>

    shape

geodesicSphere

  • Create a 3D geodesic sphere solid

    group

    primitives

    shortname

    geodesic sphere

    drawable

    true

    Parameters

    Returns Promise<any>

    Geodesic sphere solid

geodesicSpheresOnCenterPoints

  • Create a 3D geodesic spheres on multiple center points

    group

    primitives on centers

    shortname

    geodesic sphere

    drawable

    true

    Parameters

    Returns Promise<any[]>

    List of geodesic spheres

roundedCuboid

  • Create a 3D rounded cuboid solid

    group

    primitives

    shortname

    rounded cuboid

    drawable

    true

    Parameters

    Returns Promise<any>

    Rounded cuboid solid

roundedCuboidsOnCenterPoints

  • Create a 3D rounded cuboids on multiple center points

    group

    primitives on centers

    shortname

    rounded cuboid

    drawable

    true

    Parameters

    Returns Promise<any[]>

    List of rounded cuboids

roundedCylinder

  • Create a 3D rounded cylinder solid

    group

    primitives

    shortname

    rounded cylinder

    drawable

    true

    Parameters

    Returns Promise<any>

    Rounded cylinder solid

roundedCylindersOnCenterPoints

  • Create a 3D rounded cylinders on multiple center points

    group

    primitives on centers

    shortname

    rounded cylinder

    drawable

    true

    Parameters

    Returns Promise<any[]>

    List of rounded cylinders

sphere

  • Create a 3D sphere solid

    group

    primitives

    shortname

    sphere

    drawable

    true

    Parameters

    Returns Promise<any>

    Sphere solid

spheresOnCenterPoints

  • Create a 3D sphere on multiple center points

    group

    primitives on centers

    shortname

    sphere

    drawable

    true

    Parameters

    Returns Promise<any[]>

    List of spheres

torus

  • Create a 3D torus solid

    group

    primitives

    shortname

    torus

    drawable

    true

    Parameters

    Returns Promise<any>

    Torus solid

Generated using TypeDoc