AutoMovie API
    Preparing search index...

    Function createWindow

    • A window in a piece of wall: a casement that swings out, or a sash that slides up or sideways.

      The window stands in the XY plane, its wall's foot at the origin and the room on the +Z side. Four sash rails surround a separate pane and carry the handle: a casement's and a sliding sash's on the stile that leaves the frame, at the drawn handle height, and a hung sash's on its bottom rail. They move together on sash. The sill is the ledge under the opening and the aperture is the opening itself. Only an explicitly authored fractureEnergy enables breakage: the pane leaves as one shards fragment while the rails, handle and their articulation remain. Without that calibration the pane's failure energy is unknown.

      Parameters

      • params: createWindow.IParams

        The kind and 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<createWindow.Affordance, createWindow.Dimension>

      The window.

      For a fixed dimension outside its band or a nonpositive or non-finite fracture calibration.