AutoMovie API
    Preparing search index...

    Function createSeat

    • A seat: a dining chair, an office chair, an armchair, a stool, a bar stool, a bench or a sofa.

      The model is a seat slab on legs, a column or a plinth, with a back and arms where the kind has them: enough to tell a chair from a stool from a sofa and nothing more. What a sitter reads is exact: the seat frame stands at the seat height on the middle of the front edge, facing +Z, with the depth, the width and the back's height the bands below give. A bench or a sofa has one seat as wide as all its places; place k of n is the site seat at u = (k + 0.5) / n, counted from the sitter's right.

      The origin is on the floor under the middle of the seat.

      Parameters

      • params: createSeat.IParams

        The kind, the number of places 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<createSeat.Affordance, createSeat.Dimension>

      The seat.

      For a fixed dimension outside its band, or a number of places the kind does not have.