Bitbybit Docs
    Preparing search index...

    Class SerenitySwirlDto (Things.ThreeDPrinting.Vases.SerenitySwirl)

    Parameters of things.threeDPrinting.vases.serenitySwirl.create. The radius and height values are added to the vase's fixed base proportions, swirl and nrOfDivisions shape the ribs, and rotation and origin place the finished vase.

    Index

    Constructors

    • Parameters

      • Optionalswirl: number
      • OptionalnrOfDivisions: number
      • OptionaladdRadiusNarrow: number
      • OptionaladdRadiusWide: number
      • OptionaladdMiddleHeight: number
      • OptionaladdTopHeight: number
      • Optionalthickness: number
      • Optionalrotation: number
      • Optionalorigin: Bit.Inputs.Base.Point3

      Returns SerenitySwirlDto

    Properties

    swirl: number

    How far the ribs twist as they rise. At 0 they run straight up; at 1 each rib makes a full turn between the bottom ring and the top ring.

    0.6
    

    0

    1

    0.1

    nrOfDivisions: number

    Sets how many ribs go around the vase. Each ring is divided into three times this many points, and a rib runs through matching points on every ring.

    10
    

    1

    Infinity

    1

    addRadiusNarrow: number

    Added to the radius of the narrow rings at the bottom and below the top, in model units. Their base radius is 1.

    0.4
    

    0

    Infinity

    0.1

    addRadiusWide: number

    Added to the radii of the wide rings, in model units. The bulge is an ellipse with base radii 2 and 2.5, and the top opening is a circle with base radius 1.5.

    0.2
    

    0

    Infinity

    0.1

    addMiddleHeight: number

    Added to the height of the bulge above the bottom, in model units. It also raises every ring above the bulge by the same amount.

    1.6
    

    0

    Infinity

    0.1

    addTopHeight: number

    Added to the distance from the upper narrow ring to the top opening, in model units, which lengthens the neck of the vase.

    1.5
    

    0

    Infinity

    0.1

    thickness: number

    Wall thickness at the thickest ribs, in model units. The wall alternates between thick and thin ribs around the vase, and the thin ones are a fifth to a quarter of this.

    1
    

    0

    1

    0.1

    rotation: number

    Turn of the finished vase around the vertical Y axis, in degrees, applied before it is moved to origin.

    0
    

    0

    Infinity

    10

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

    [0, 0, 0]