Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • SnakeTableDto

Implements

Index

Constructors

constructor

  • new SnakeTableDto(height?: number, width?: number, length?: number, supportLength?: number, shelfHeight?: number, thickness?: number, glassThickness?: number, glassOffset?: number, nrOrnamentPlanks?: number, ornamentDepth?: number, filletRadius?: number, precision?: number, drawEdges?: boolean, rotation?: number, scale?: number, origin?: Point3, direction?: Vector3): SnakeTableDto
  • Parameters

    • Optional height: number
    • Optional width: number
    • Optional length: number
    • Optional supportLength: number
    • Optional shelfHeight: number
    • Optional thickness: number
    • Optional glassThickness: number
    • Optional glassOffset: number
    • Optional nrOrnamentPlanks: number
    • Optional ornamentDepth: number
    • Optional filletRadius: number
    • Optional precision: number
    • Optional drawEdges: boolean
    • Optional rotation: number
    • Optional scale: number
    • Optional origin: Point3
    • Optional direction: Vector3

    Returns SnakeTableDto

Properties

direction

direction: Vector3

Direction of the model

default

[0, 1, 0]

drawEdges

drawEdges: boolean

Defines if the edges of the model should be drawn

default

true

filletRadius

filletRadius: number

The radius of the fillet

default

0.05

minimum

0.001

maximum

Infinity

step

0.01

glassOffset

glassOffset: number

The glass offset - goes beyond width and length limitations

default

0

minimum

0

maximum

Infinity

step

0.01

glassThickness

glassThickness: number

The thickness of the glass

default

0.005

minimum

0.001

maximum

Infinity

step

0.001

height

height: number

Height of the table

default

0.74

minimum

0

maximum

Infinity

step

0.01

length

length: number

Length of the table

default

2

minimum

0

maximum

Infinity

step

0.01

nrOrnamentPlanks

nrOrnamentPlanks: number

The number of ornament planks

default

7

minimum

1

maximum

Infinity

step

1

origin

origin: Point3

Origin of the medal

default

[0, 0, 0]

ornamentDepth

ornamentDepth: number

The ornament depth of the table

default

0.01

minimum

0.001

maximum

Infinity

step

0.001

precision

precision: number

Meshing precision of the drawn model. The lower the number the more precise the drawn model is. Keep in mind that output of this algorithm also contains pure occt shape that can be meshed separately in draw any async commands

default

0.01

minimum

0.000001

maximum

5

step

0.001

rotation

rotation: number

Rotation of the table in degrees

default

0

minimum

0

maximum

Infinity

step

10

scale

scale: number

Scale of the table

default

1

minimum

0

maximum

Infinity

shelfHeight

shelfHeight: number

The height of the shelf

default

0.2

minimum

0

maximum

Infinity

step

0.01

supportLength

supportLength: number

The length of the support

default

0.5

minimum

0

maximum

Infinity

step

0.01

thickness

thickness: number

The thickness of the table

default

0.05

minimum

0.01

maximum

Infinity

step

0.01

width

width: number

Width of the table

default

1

minimum

0

maximum

Infinity

step

0.01

Generated using TypeDoc