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

    Implements

    Index

    Constructors

    • Parameters

      • Optionalheight: number
      • OptionalradiusBottom: number
      • OptionalradiusTopOffset: number
      • OptionalradiusMidOffset: number
      • OptionalrotationTopAngle: number
      • OptionalrotationMidAngle: number
      • OptionalnrSkinCellsVertical: number
      • OptionalnrSkinCellsHorizontal: number
      • OptionalnrSkinCellDivisionsTop: number
      • OptionalnrSkinCellDivisionsBottom: number
      • OptionalskinCellOuterHeight: number
      • OptionalskinCellInnerHeight: number
      • OptionalskinCellBottomHeight: number
      • OptionalskinCellTopHeight: number
      • Optionalthickness: number
      • OptionalbottomThickness: number
      • Optionalprecision: number
      • Optionalrotation: number
      • Optionalscale: number
      • Optionalorigin: Point3
      • Optionaldirection: Vector3

      Returns DragonCupDto

    Properties

    height: number

    Height of the cup

    6
    

    0.1

    Infinity

    0.1

    radiusBottom: number

    Radius top offset

    4
    

    0

    Infinity

    0.1

    radiusTopOffset: number

    Radius top offset

    2
    

    0

    Infinity

    0.1

    radiusMidOffset: number

    Radius middle offset

    2
    

    0

    Infinity

    0.1

    rotationTopAngle: number

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

    20
    

    -90

    90

    1

    rotationMidAngle: number

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

    20
    

    -90

    90

    1

    nrSkinCellsVertical: number

    Nr of skin cells along vertical direction

    5
    

    1

    Infinity

    1

    nrSkinCellsHorizontal: number

    Nr of skin cells along horizontal direction

    10
    

    3

    Infinity

    1

    nrSkinCellDivisionsTop: number

    Nr of skin cell divisions on the top of the cup

    1
    

    1

    Infinity

    1

    nrSkinCellDivisionsBottom: number

    Nr of skin cell divisions on the bottom of the cup

    3
    

    1

    Infinity

    1

    skinCellOuterHeight: number

    skin cell outer height

    0.4
    

    -Infinity

    Infinity

    0.01

    skinCellInnerHeight: number

    skin cell inner height

    0.3
    

    -Infinity

    Infinity

    0.01

    skinCellBottomHeight: number

    skin cell bottom height

    0.4
    

    -Infinity

    Infinity

    0.01

    skinCellTopHeight: number

    skin cell top height

    0.4
    

    -Infinity

    Infinity

    0.01

    thickness: number

    Thickness of the cup

    0.6
    

    0.05

    Infinity

    0.01

    bottomThickness: number

    Bottom thickness of the cup

    1
    

    0.05

    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]