bitbybit.dev v1.0.0-rc.1
    Preparing search index...

    Implements

    Index

    Constructors

    • Parameters

      • OptionaltextTop: string
      • OptionaltextFront: string
      • OptionalnrSides: number
      • OptionalnrOffsets: number
      • Optionalheight: number
      • OptionalcoverHeight: number
      • OptionalbaseHeight: number
      • OptionalradiusBottom: number
      • OptionalradiusTopOffset: number
      • Optionalthickness: number
      • OptionalornamentalThickness: number
      • OptionalnrOrnamnetsPerSide: number
      • OptionalinvertOrnaments: boolean
      • Optionalfillet: number
      • Optionalprecision: number
      • Optionalrotation: number
      • Optionalscale: number
      • Optionalorigin: Point3
      • Optionaldirection: Vector3

      Returns SpicyBoxDto

    Properties

    textTop: string

    Text on the top of the box

    Pepper
    
    textFront: string

    Text on the front of the box

    For Your Spicy Needs
    
    nrSides: number

    Nr of sides of the box

    4
    

    3

    16

    1

    nrOffsets: number

    Nr vertical offsets

    1
    

    0

    Infinity

    1

    height: number

    Height of the cup

    6
    

    0.1

    Infinity

    0.1

    radiusBase: number

    Radius top offset

    4
    

    0

    Infinity

    0.1

    radiusOffset: number

    Radius top offset

    2
    

    0

    Infinity

    0.1

    coverHeight: number

    Cover height

    1
    

    0

    Infinity

    0.1

    baseHeight: number

    Base height

    1
    

    0

    Infinity

    0.1

    thickness: number

    Thickness of the cup

    0.6
    

    0.05

    Infinity

    0.01

    ornamentalThickness: number

    Ornamental thickness

    0.1
    

    0.05

    Infinity

    0.01

    nrOrnamnetsPerSide: number

    Ornamental thickness

    10
    

    1

    Infinity

    1

    invertOrnaments: boolean

    Inverst the ornaments

    false
    
    fillet: number

    Fillet of the cup

    0.2
    

    0.01

    Infinity

    0.01

    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

    0.01
    

    0.000001

    5

    0.001

    rotation: number

    Rotation of the cup

    0
    

    0

    Infinity

    10

    scale: number

    Scale of the cup - affects edge width and precision

    1
    

    0

    Infinity

    10

    origin: Point3

    Origin of the medal

    [0, 0, 0]
    
    direction: Vector3

    Direction of the model

    [0, 1, 0]