Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Methods

drawAny

  • Draws any kind of geometry that does not need asynchronous computing, thus it cant be used with shapes coming from occt or jscad

    group

    draw sync

    shortname

    draw sync

    Parameters

    • inputs: DrawAny

      Contains options and entities to be drawn

    Returns Mesh

    BabylonJS Mesh

drawAnyAsync

  • drawAnyAsync(inputs: DrawAny): Promise<Mesh>
  • Draws any kind of geometry and returns the babylon mesh

    group

    draw async

    shortname

    draw async

    disposableoutput

    true

    Parameters

    • inputs: DrawAny

      Contains options and entities to be drawn

    Returns Promise<Mesh>

    BabylonJS Mesh Promise

drawAnyAsyncNoReturn

  • drawAnyAsyncNoReturn(inputs: DrawAny): Promise<void>
  • Draws any kind of geometry and does not return anything

    group

    draw async

    shortname

    draw async void

    disposableoutput

    true

    Parameters

    • inputs: DrawAny

      Contains options and entities to be drawn

    Returns Promise<void>

drawAnyNoReturn

  • drawAnyNoReturn(inputs: DrawAny): void
  • Draws any kind of geometry that does not need asynchronous computing, thus it cant be used with shapes coming from occt or jscad

    group

    draw sync

    shortname

    draw sync void

    Parameters

    • inputs: DrawAny

      Contains options and entities to be drawn

    Returns void

    BabylonJS Mesh

drawGridMesh

  • Draws a grid mesh on the ground plane in 3D space. This helps to orient yourself in the world.

    group

    grid

    shortname

    draw grid

    disposableoutput

    true

    Parameters

    • inputs: SceneDrawGridMeshDto

      Describes various parameters of the grid mesh like size, colour, etc.

    Returns Mesh

    grid mesh

drawGridMeshNoReturn

  • Draws a grid mesh on the ground plane in 3D space. This helps to orient yourself in the world.

    group

    grid

    shortname

    draw grid no return

    disposableoutput

    true

    Parameters

    • inputs: SceneDrawGridMeshDto

      Describes various parameters of the grid mesh like size, colour, etc.

    Returns void

optionsBabylonNode

  • Creates draw options for babylon js nodes

    group

    options

    shortname

    babylon node

    Parameters

    Returns DrawNodeOptions

    options

optionsOcctShape

  • Creates draw options for occt shape geometry like edges, wires, faces, shells, solids and compounds

    group

    options

    shortname

    occt shape

    Parameters

    Returns DrawOcctShapeOptions

    options

optionsOcctShapeMaterial

optionsOcctShapeSimple

optionsSimple

  • Creates draw options for basic geometry types like points, lines, polylines, surfaces and jscad meshes

    group

    options

    shortname

    simple

    Parameters

    Returns DrawBasicGeometryOptions

    options

Generated using TypeDoc