Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • DragonCupDto

Implements

Index

Constructors

constructor

  • new DragonCupDto(height?: number, radiusBottom?: number, radiusTopOffset?: number, radiusMidOffset?: number, rotationTopAngle?: number, rotationMidAngle?: number, nrSkinCellsVertical?: number, nrSkinCellsHorizontal?: number, nrSkinCellDivisionsTop?: number, nrSkinCellDivisionsBottom?: number, skinCellOuterHeight?: number, skinCellInnerHeight?: number, skinCellBottomHeight?: number, skinCellTopHeight?: number, thickness?: number, bottomThickness?: number, precision?: number, rotation?: number, scale?: number, origin?: Point3, direction?: Vector3): DragonCupDto
  • Parameters

    • Optional height: number
    • Optional radiusBottom: number
    • Optional radiusTopOffset: number
    • Optional radiusMidOffset: number
    • Optional rotationTopAngle: number
    • Optional rotationMidAngle: number
    • Optional nrSkinCellsVertical: number
    • Optional nrSkinCellsHorizontal: number
    • Optional nrSkinCellDivisionsTop: number
    • Optional nrSkinCellDivisionsBottom: number
    • Optional skinCellOuterHeight: number
    • Optional skinCellInnerHeight: number
    • Optional skinCellBottomHeight: number
    • Optional skinCellTopHeight: number
    • Optional thickness: number
    • Optional bottomThickness: number
    • Optional precision: number
    • Optional rotation: number
    • Optional scale: number
    • Optional origin: Point3
    • Optional direction: Vector3

    Returns DragonCupDto

Properties

bottomThickness

bottomThickness: number

Bottom thickness of the cup

default

1

minimum

0.05

maximum

Infinity

step

0.01

direction

direction: Vector3

Direction of the model

default

[0, 1, 0]

height

height: number

Height of the cup

default

6

minimum

0.1

maximum

Infinity

step

0.1

nrSkinCellDivisionsBottom

nrSkinCellDivisionsBottom: number

Nr of skin cell divisions on the bottom of the cup

default

3

minimum

1

maximum

Infinity

step

1

nrSkinCellDivisionsTop

nrSkinCellDivisionsTop: number

Nr of skin cell divisions on the top of the cup

default

1

minimum

1

maximum

Infinity

step

1

nrSkinCellsHorizontal

nrSkinCellsHorizontal: number

Nr of skin cells along horizontal direction

default

10

minimum

3

maximum

Infinity

step

1

nrSkinCellsVertical

nrSkinCellsVertical: number

Nr of skin cells along vertical direction

default

5

minimum

1

maximum

Infinity

step

1

origin

origin: Point3

Origin of the medal

default

[0, 0, 0]

precision

precision: number

Meshing precision of the drawn model. Scale scales precision as well. 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

radiusBottom

radiusBottom: number

Radius top offset

default

4

minimum

0

maximum

Infinity

step

0.1

radiusMidOffset

radiusMidOffset: number

Radius middle offset

default

2

minimum

0

maximum

Infinity

step

0.1

radiusTopOffset

radiusTopOffset: number

Radius top offset

default

2

minimum

0

maximum

Infinity

step

0.1

rotation

rotation: number

Rotation of the cup

default

0

minimum

0

maximum

Infinity

step

10

rotationMidAngle

rotationMidAngle: number

Rotation of the middle from the bottom (angle in degrees)

default

20

minimum

-90

maximum

90

step

1

rotationTopAngle

rotationTopAngle: number

Rotation of the top from the middle (angle in degrees)

default

20

minimum

-90

maximum

90

step

1

scale

scale: number

Scale of the cup - affects edge width and precision

default

1

minimum

0

maximum

Infinity

step

10

skinCellBottomHeight

skinCellBottomHeight: number

skin cell bottom height

default

0.4

minimum

-Infinity

maximum

Infinity

step

0.01

skinCellInnerHeight

skinCellInnerHeight: number

skin cell inner height

default

0.3

minimum

-Infinity

maximum

Infinity

step

0.01

skinCellOuterHeight

skinCellOuterHeight: number

skin cell outer height

default

0.4

minimum

-Infinity

maximum

Infinity

step

0.01

skinCellTopHeight

skinCellTopHeight: number

skin cell top height

default

0.4

minimum

-Infinity

maximum

Infinity

step

0.01

thickness

thickness: number

Thickness of the cup

default

0.6

minimum

0.05

maximum

Infinity

step

0.01

Generated using TypeDoc