Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • PhoneNestDto

Implements

Index

Constructors

constructor

  • new PhoneNestDto(heightBottom?: number, heightTop?: number, widthBack?: number, widthFront?: number, length?: number, backOffset?: number, thickness?: number, applyOrnaments?: boolean, filletRadius?: number, phoneHeight?: number, phoneWidth?: number, phoneThickness?: number, precision?: number, drawEdges?: boolean, rotation?: number, scale?: number, origin?: Point3, direction?: Vector3): PhoneNestDto
  • Parameters

    • Optional heightBottom: number
    • Optional heightTop: number
    • Optional widthBack: number
    • Optional widthFront: number
    • Optional length: number
    • Optional backOffset: number
    • Optional thickness: number
    • Optional applyOrnaments: boolean
    • Optional filletRadius: number
    • Optional phoneHeight: number
    • Optional phoneWidth: number
    • Optional phoneThickness: number
    • Optional precision: number
    • Optional drawEdges: boolean
    • Optional rotation: number
    • Optional scale: number
    • Optional origin: Point3
    • Optional direction: Vector3

    Returns PhoneNestDto

Properties

applyOrnaments

applyOrnaments: boolean

Apply final ornaments

default

false

backOffset

backOffset: number

The back offset

default

6

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

2

minimum

0.001

maximum

Infinity

step

0.1

heightBottom

heightBottom: number

Height of the phone holder at the bottom

default

5

minimum

0

maximum

Infinity

step

0.01

heightTop

heightTop: number

Height of the phone holder at the top

default

16

minimum

0

maximum

Infinity

step

0.1

length

length: number

Length of the holder base

default

16

minimum

0

maximum

Infinity

step

0.1

origin

origin: Point3

Origin of the medal

default

[0, 0, 0]

phoneHeight

phoneHeight: number

The height of the phone

default

16.8

minimum

0

maximum

Infinitypho

step

0.01

phoneThickness

phoneThickness: number

The thickness of the phone

default

0.7

minimum

0

maximum

Infinity

step

0.01

phoneWidth

phoneWidth: number

The width of the phone

default

7.8

minimum

0

maximum

Infinity

step

0.01

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

thickness

thickness: number

The thickness of the table

default

0.4

minimum

0.01

maximum

Infinity

step

0.01

widthBack

widthBack: number

Width of the phone holder on the back

default

25

minimum

0

maximum

Infinity

step

0.1

widthFront

widthFront: number

Width of the phone holder on the front and holder

default

10

minimum

0

maximum

Infinity

step

0.1

Generated using TypeDoc