Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ElegantTableDto

Implements

Index

Constructors

constructor

  • new ElegantTableDto(height?: number, width?: number, length?: number, topThickness?: number, topOffset?: number, bottomThickness?: number, minFillet?: number, radiusLegTop?: number, radiusLegBottom?: number, nrLegPairs?: number, precision?: number, drawEdges?: boolean, rotation?: number, scale?: number, origin?: Point3, direction?: Vector3): ElegantTableDto
  • Parameters

    • Optional height: number
    • Optional width: number
    • Optional length: number
    • Optional topThickness: number
    • Optional topOffset: number
    • Optional bottomThickness: number
    • Optional minFillet: number
    • Optional radiusLegTop: number
    • Optional radiusLegBottom: number
    • Optional nrLegPairs: number
    • Optional precision: number
    • Optional drawEdges: boolean
    • Optional rotation: number
    • Optional scale: number
    • Optional origin: Point3
    • Optional direction: Vector3

    Returns ElegantTableDto

Properties

bottomThickness

bottomThickness: number

Bottom thickness of the table

default

0.05

minimum

0.01

maximum

Infinity

step

0.01

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

height

height: number

Height of the table

default

0.74

minimum

0.1

maximum

Infinity

step

0.01

length

length: number

Length of the table

default

2

minimum

0

maximum

Infinity

step

0.1

minFillet

minFillet: number

Fillet table corners

default

0.2

minimum

0

maximum

Infinity

step

0.1

nrLegPairs

nrLegPairs: number

The number of leg pairs of the table

default

2

minimum

2

maximum

Infinity

step

1

origin

origin: Point3

Origin of the medal

default

[0, 0, 0]

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.001

minimum

0.000001

maximum

5

step

0.001

radiusLegBottom

radiusLegBottom: number

Radius leg top

default

0.01

minimum

0.01

maximum

Infinity

step

0.01

radiusLegTop

radiusLegTop: number

Radius leg top

default

0.03

minimum

0.01

maximum

Infinity

step

0.01

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

topOffset

topOffset: number

Top offset from the base of the table

default

0.03

minimum

0

maximum

Infinity

step

0.01

topThickness

topThickness: number

Top thickness of the table

default

0.02

minimum

0.001

maximum

Infinity

step

0.001

width

width: number

Width of the table

default

1

minimum

0

maximum

Infinity

step

0.1

Generated using TypeDoc