Bitbybit Docs
    Preparing search index...

    Class ChirpyChalet

    A birdhouse with a single roof board that slopes down from the back to the front, a round entrance hole with a perch below it, and a back board that reaches below the floor for fixing to a tree or a wall. You vary the inside size, the board thickness, the hole and perch, the roof angle and overhang, and the placement.

    Index

    Constructors

    birdhouse

    Constructors

    birdhouse

    • Builds the birdhouse from its boards, a sloped roof board and a perch.

      The inside measures are in model units, Y is up and the front faces Z; the roof falls toward the front at roofAngle degrees. The house is turned around Y by rotation and moved to origin. It throws when the inside sizes are not above 0 or the hole and perch do not fit the front.

      Parameters

      • inputs: ChirpyChaletDto

        Inside size, board thickness, hole, perch, roof angle and overhang, and placement

      Returns Promise<ChirpyChaletData<TopoDSShapePointer>>

      The birdhouse data with each part's shapes and the origin point