Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CalmCupDto

Implements

Index

Constructors

constructor

  • new CalmCupDto(height?: number, radiusBottom?: number, radiusTopOffset?: number, thickness?: number, fillet?: number, nrOfHandles?: number, handleDist?: number, precision?: number, rotation?: number, scale?: number, origin?: Point3, direction?: Vector3): CalmCupDto
  • Parameters

    • Optional height: number
    • Optional radiusBottom: number
    • Optional radiusTopOffset: number
    • Optional thickness: number
    • Optional fillet: number
    • Optional nrOfHandles: number
    • Optional handleDist: number
    • Optional precision: number
    • Optional rotation: number
    • Optional scale: number
    • Optional origin: Point3
    • Optional direction: Vector3

    Returns CalmCupDto

Properties

direction

direction: Vector3

Direction of the model

default

[0, 1, 0]

fillet

fillet: number

Fillet of the cup

default

0.2

minimum

0.01

maximum

Infinity

step

0.01

handleDist

handleDist: number

Handle distance from the cup

default

2

minimum

0.1

maximum

Infinity

step

0.1

height

height: number

Height of the cup

default

6

minimum

0.1

maximum

Infinity

step

0.1

nrOfHandles

nrOfHandles: number

Nr of handles, 0 will create a cup without handles

default

1

minimum

0

maximum

2

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

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

scale

scale: number

Scale of the cup - affects edge width and precision

default

1

minimum

0

maximum

Infinity

step

10

thickness

thickness: number

Thickness of the cup

default

0.6

minimum

0.05

maximum

3

step

0.01

Generated using TypeDoc