Bitbybit Docs
    Preparing search index...

    Class CalmCupDto (Things.ThreeDPrinting.Cups.CalmCup)

    Parameters of things.threeDPrinting.cups.calmCup.create. The radii, height and thickness size the cup and limit each other, fillet and the handle values shape the details, and rotation, scale, direction and origin place it.

    Implements

    Index

    Constructors

    • Parameters

      • Optionalheight: number
      • OptionalradiusBottom: number
      • OptionalradiusTopOffset: number
      • Optionalthickness: number
      • Optionalfillet: number
      • OptionalnrOfHandles: number
      • OptionalhandleDist: number
      • Optionalprecision: number
      • Optionalrotation: number
      • Optionalscale: number
      • Optionalorigin: Bit.Inputs.Base.Point3
      • Optionaldirection: Vector3

      Returns CalmCupDto

    Properties

    height: number

    Height of the cup from its underside to the rim, in model units. It must be at least 6 times thickness.

    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. At most 0.75 times radiusBottom.

    2
    

    0

    Infinity

    0.1

    thickness: number

    Wall thickness in model units. The bottom is 1.3 times as thick, with a shallow recess underneath.

    0.6
    

    0.05

    3

    0.01

    fillet: number

    Radius that rounds every edge of the finished cup, in model units, at most half of thickness. 0 leaves the edges sharp.

    0.2
    

    0.01

    Infinity

    0.01

    nrOfHandles: number

    Number of loop handles, spaced evenly around the cup. 0 builds a cup without handles.

    1
    

    0

    2

    1

    handleDist: number

    How far the inner loop of each handle reaches out from the wall, in model units. It must be more than twice thickness.

    2
    

    0.1

    Infinity

    0.1

    precision: number

    Meshing precision that drawModel uses, multiplied by scale. A smaller value draws a smoother cup and takes longer. Building the solid 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]