Bitbybit Docs
    Preparing search index...

    Class DragonCupDto (Things.ThreeDPrinting.Cups.DragonCup)

    Parameters of things.threeDPrinting.cups.dragonCup.create. The radii, angles and height shape the twisted wall, the skin cell values set the pyramid scales on each surface, and rotation, scale, direction and origin place the cup.

    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: Bit.Inputs.Base.Point3
      • Optionaldirection: Vector3

      Returns DragonCupDto

    Properties

    height: number

    Height of the wall from its bottom edge to the rim, in model units. The underside scales add skinCellBottomHeight below it.

    6
    

    0.1

    Infinity

    0.1

    radiusBottom: number

    Inner radius of the cup at its bottom, in model units. The outer wall sits thickness further out.

    4
    

    0

    Infinity

    0.1

    radiusTopOffset: number

    How much wider the inner radius at the rim is than radiusBottom, in model units.

    2
    

    0

    Infinity

    0.1

    radiusMidOffset: number

    How much wider the inner radius at half height is than radiusBottom, in model units.

    2
    

    0

    Infinity

    0.1

    rotationTopAngle: number

    Turn of the rim circle around the Y axis relative to the middle circle, in degrees. Together with rotationMidAngle it twists the wall.

    20
    

    -90

    90

    1

    rotationMidAngle: number

    Turn of the middle circle around the Y axis relative to the bottom circle, in degrees. The rim turns by this plus rotationTopAngle.

    20
    

    -90

    90

    1

    nrSkinCellsVertical: number

    Number of rows of scale cells up the inner and outer walls.

    5
    

    1

    Infinity

    1

    nrSkinCellsHorizontal: number

    Number of scale cells around the cup on every surface. It must be at least 3.

    10
    

    3

    Infinity

    1

    nrSkinCellDivisionsTop: number

    Number of rows of scale cells across the rim between the inner and outer walls.

    1
    

    1

    Infinity

    1

    nrSkinCellDivisionsBottom: number

    Number of rows of scale cells across the floor ring inside the cup and the ring on its underside.

    3
    

    1

    Infinity

    1

    skinCellOuterHeight: number

    Height of the pyramid scales on the outer wall, in model units. A negative value points them the other way.

    0.4
    

    -Infinity

    Infinity

    0.01

    skinCellInnerHeight: number

    Height of the pyramid scales on the inner wall and on the floor ring, in model units. A negative value points them the other way.

    0.3
    

    -Infinity

    Infinity

    0.01

    skinCellBottomHeight: number

    Height of the pyramid scales on the underside ring, in model units. The cup is lifted by this amount so the scales sit on the ground.

    0.4
    

    -Infinity

    Infinity

    0.01

    skinCellTopHeight: number

    Height of the pyramid scales on the rim, in model units. A negative value points them the other way.

    0.4
    

    -Infinity

    Infinity

    0.01

    thickness: number

    Wall thickness in model units: the outer wall sits this far outside the inner radii.

    0.6
    

    0.05

    Infinity

    0.01

    bottomThickness: number

    Thickness of the floor, in model units, measured from the bottom of the wall up to the floor inside.

    1
    

    0.05

    Infinity

    0.01

    precision: number

    Meshing precision that drawModel uses, multiplied by scale. A smaller value draws a smoother cup and takes longer. Building the shape ignores it.

    0.01
    

    0.000001

    5

    0.001

    rotation: number

    Turn of the cup around the Y axis, in degrees, applied before it is scaled, aligned to direction and moved to origin.

    0
    

    0

    Infinity

    10

    scale: number

    Uniform scale factor applied to the whole cup before it is placed. drawModel multiplies its edge width and meshing precision by it too.

    1
    

    0

    Infinity

    10

    Point the center of the cup's bottom is moved to.

    [0, 0, 0]
    
    direction: Vector3

    Direction the cup's up axis points along after placement. The default keeps it upright along Y.

    [0, 1, 0]