AutoMovie API
    Preparing search index...

    Function createHatch

    • A ladder access roof hatch: a curb round an opening in the roof, under a cover hinged on its far side from the ladder.

      The roof deck is the XZ plane, the opening centred on the origin, its length along X and its width along Z, the ladder rising at its +Z side and the hinge along its -Z side. The curb's four walls stand on the deck round the opening; the cover lies on them. hinge is the cover's hinge, a positive travel lifting the cover's +Z edge to the maker's 70 degrees; push is the cover's underside, where a climber's hand pushes it open, riding the hinge; opening is the clear opening over the curb, passed through upward, its frame on the ladder's edge with its height running across the opening to the hinge.

      Parameters

      • params: createHatch.IParams = {}

        Any dimension the author fixes.

      • Optionalseed: string | number

        The seed that draws every dimension left free inside its band; absent, each takes the middle of its band.

      Returns Archetype<createHatch.Affordance, "mass">

      The hatch.

      For a fixed dimension outside its band.