Bitbybit Docs
    Preparing search index...

    Class DragonCup

    A 3D-printable cup whose twisted wall, rim and underside are covered in pyramid-shaped scales. You vary the height, the radii at the bottom, middle and rim, how far the middle and rim turn, the wall and bottom thickness, and the number and height of the scales. It is computed for members of the Silver and Gold plans.

    Index

    Constructors

    create

    get shapes

    Constructors

    create

    • Builds the scaled cup with a twisted wall, standing on Y.

      The wall is lofted through a bottom, a middle and a rim circle, the upper two turned around Y, and every surface carries a grid of pyramid cells. It throws when radiusBottom or thickness is not above 0, when there are fewer than 3 horizontal cells, or when the caller is not on the Silver or Gold plan.

      Parameters

      • inputs: DragonCupDto

        Cup size and twist, thicknesses, scale cell counts and heights, scale and placement

      Returns Promise<DragonCupData<TopoDSShapePointer>>

      The cup data with its shape in compound and the inputs it was built from

    get shapes