Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • SnakeChairDto

Implements

Index

Constructors

constructor

  • new SnakeChairDto(sittingHeight?: number, backRestOffset?: number, backRestHeight?: number, width?: number, length?: number, thickness?: number, nrOrnamentPlanks?: number, ornamentDepth?: number, filletRadius?: number, precision?: number, drawEdges?: boolean, rotation?: number, scale?: number, origin?: Point3, direction?: Vector3): SnakeChairDto
  • Parameters

    • Optional sittingHeight: number
    • Optional backRestOffset: number
    • Optional backRestHeight: number
    • Optional width: number
    • Optional length: number
    • Optional thickness: 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 SnakeChairDto

Properties

backRestHeight

backRestHeight: number

Height of the back rest

default

0.7

minimum

0.1

maximum

Infinity

step

0.01

backRestOffset

backRestOffset: number

Sitting top offset from perpendicular ending of the chair

default

0.1

minimum

0

maximum

Infinity

step

0.1

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

length

length: number

Length of the table

default

0.45

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 chair

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

sittingHeight

sittingHeight: number

Height of the sitting area

default

0.45

minimum

0.1

maximum

Infinity

step

0.01

thickness

thickness: number

The thickness of the chair

default

0.05

minimum

0.01

maximum

Infinity

step

0.01

width

width: number

Width of the table

default

0.45

minimum

0

maximum

Infinity

step

0.01

Generated using TypeDoc