AutoMovie API
    Preparing search index...

    Function createDoor

    • A door in its frame: a hinged leaf with lever, knob or push-and-pull hardware, or a sliding leaf.

      The door stands in the XY plane with its threshold's middle at the origin. A hinged leaf opens toward +Z, the side it is pulled from, about the hinge on the side hinge names as seen from there; a sliding leaf runs toward that side. The leaf, its hardware and the hardware's affordances all move with the articulation, so a hand on the handle follows the leaf's arc. The two levers or knobs share one spindle, the latch, a knob articulation on the leaf: its travel presses both levers down or turns both knobs to draw the latch.

      pull and push are where a hand takes the door from the +Z and the -Z side; aperture is the clear opening a body passes through.

      Parameters

      • params: createDoor.IParams = {}

        The kind, the hinge side, the hardware, the leaf's standard sizes, a latch's backset, a lever's style and any dimension the author fixes.

      • Optionalseed: string | number

        The seed that draws each size and style not given and every dimension left free inside its band; absent, the first of each list and the middle of each band.

      Returns Archetype<createDoor.Affordance, createDoor.Dimension>

      The door.

      For a size or style the standard or the maker does not list, a backset or lever named for hardware without one, a fixed dimension outside its band or one the door's hardware lacks, or hardware named for a sliding door.