Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • SpicyBoxDto

Implements

Index

Constructors

constructor

  • new SpicyBoxDto(textTop?: string, textFront?: string, nrSides?: number, nrOffsets?: number, height?: number, coverHeight?: number, baseHeight?: number, radiusBottom?: number, radiusTopOffset?: number, thickness?: number, ornamentalThickness?: number, nrOrnamnetsPerSide?: number, invertOrnaments?: boolean, fillet?: number, precision?: number, rotation?: number, scale?: number, origin?: Point3, direction?: Vector3): SpicyBoxDto
  • Parameters

    • Optional textTop: string
    • Optional textFront: string
    • Optional nrSides: number
    • Optional nrOffsets: number
    • Optional height: number
    • Optional coverHeight: number
    • Optional baseHeight: number
    • Optional radiusBottom: number
    • Optional radiusTopOffset: number
    • Optional thickness: number
    • Optional ornamentalThickness: number
    • Optional nrOrnamnetsPerSide: number
    • Optional invertOrnaments: boolean
    • Optional fillet: number
    • Optional precision: number
    • Optional rotation: number
    • Optional scale: number
    • Optional origin: Point3
    • Optional direction: Vector3

    Returns SpicyBoxDto

Properties

baseHeight

baseHeight: number

Base height

default

1

minimum

0

maximum

Infinity

step

0.1

coverHeight

coverHeight: number

Cover height

default

1

minimum

0

maximum

Infinity

step

0.1

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

height

height: number

Height of the cup

default

6

minimum

0.1

maximum

Infinity

step

0.1

invertOrnaments

invertOrnaments: boolean

Inverst the ornaments

default

false

nrOffsets

nrOffsets: number

Nr vertical offsets

default

1

minimum

0

maximum

Infinity

step

1

nrOrnamnetsPerSide

nrOrnamnetsPerSide: number

Ornamental thickness

default

10

minimum

1

maximum

Infinity

step

1

nrSides

nrSides: number

Nr of sides of the box

default

4

minimum

3

maximum

16

step

1

origin

origin: Point3

Origin of the medal

default

[0, 0, 0]

ornamentalThickness

ornamentalThickness: number

Ornamental thickness

default

0.1

minimum

0.05

maximum

Infinity

step

0.01

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

radiusBase

radiusBase: number

Radius top offset

default

4

minimum

0

maximum

Infinity

step

0.1

radiusOffset

radiusOffset: 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

textFront

textFront: string

Text on the front of the box

default

For Your Spicy Needs

textTop

textTop: string

Text on the top of the box

default

Pepper

thickness

thickness: number

Thickness of the cup

default

0.6

minimum

0.05

maximum

Infinity

step

0.01

Generated using TypeDoc