Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • GoodCoffeeTableDto

Implements

Index

Constructors

constructor

  • new GoodCoffeeTableDto(height?: number, width?: number, length?: number, chamfer?: number, topThickness?: number, topGlassOffset?: number, glassThickness?: number, glassHolderLength?: number, shelfTopOffset?: number, shelfThickness?: number, legWidth?: number, legDepth?: number, precision?: number, drawEdges?: boolean, rotation?: number, scale?: number, origin?: Point3, direction?: Vector3): GoodCoffeeTableDto
  • Parameters

    • Optional height: number
    • Optional width: number
    • Optional length: number
    • Optional chamfer: number
    • Optional topThickness: number
    • Optional topGlassOffset: number
    • Optional glassThickness: number
    • Optional glassHolderLength: number
    • Optional shelfTopOffset: number
    • Optional shelfThickness: number
    • Optional legWidth: number
    • Optional legDepth: number
    • Optional precision: number
    • Optional drawEdges: boolean
    • Optional rotation: number
    • Optional scale: number
    • Optional origin: Point3
    • Optional direction: Vector3

    Returns GoodCoffeeTableDto

Properties

chamfer

chamfer: number

Chamfer the corners

default

0.01

minimum

0

maximum

Infinity

step

0.001

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

glassHolderLength

glassHolderLength: number

Glass holder length of the table

default

0.02

minimum

0.001

maximum

Infinity

step

0.001

glassThickness

glassThickness: number

Glass thickness of the table

default

0.005

minimum

0.001

maximum

Infinity

step

0.001

height

height: number

Height of the table

default

0.4

minimum

0.1

maximum

Infinity

step

0.01

legDepth

legDepth: number

The depth of the leg

default

0.05

minimum

0.01

maximum

Infinity

step

0.01

legWidth

legWidth: number

Width of the leg

default

0.1

minimum

0.01

maximum

Infinity

step

0.01

length

length: number

Length of the table

default

1.2

minimum

0

maximum

Infinity

step

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

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

shelfThickness

shelfThickness: number

Shelf thickness

default

0.03

minimum

0.001

maximum

Infinity

step

0.001

shelfTopOffset

shelfTopOffset: number

The offset of the shelf from the bottom of the top - 0 means that no shelf is made as such shelf would be non-functional.

default

0.15

minimum

0

maximum

Infinity

step

0.01

topGlassOffset

topGlassOffset: number

Top offset from the edge of the table till the glass

default

0.2

minimum

0

maximum

Infinity

step

0.01

topThickness

topThickness: number

Top thickness of the table

default

0.05

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