AutoMovie API
    Preparing search index...

    Function createSanitary

    • A sanitary fixture: a washbasin with its mixer, a toilet, a bath or a transfer shower.

      Each stands on the floor with its back against the wall at the origin's Z, centred on X, and is approached from +Z; a wall-hung basin stands on a pedestal so the model rests on the floor.

      • A washbasin's rim is the front edge of its top, a ledge a body leans on; bowl the basin's opening, a surface the hands wash over; tap its mixer's lever turned about its body, a knob, lift the same lever lifted, a hinge riding tap, and spout the mixer's mouth, facing down.
      • A toilet's seat is the seat's front edge, the sitter facing +Z; lid the lid's hinge, the lid standing open against the tank at rest and lowered onto the seat by its travel.
      • A bath's rim is the apron's top edge, a ledge sat on or stepped over; bottom the floor of the well, a surface lain on. Its controls are on the room's end wall (ADA 607.5), which is not the bath's: a production places a createTap or createSwitch there.
      • A transfer shower is a one-piece stall open at the front: tray its floor, threshold the front edge stepped over, entry the opening, seat the folding seat on the +X wall facing -X, and control the valve on the -X wall, a knob.

      Parameters

      • params: createSanitary.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<createSanitary.Affordance, createSanitary.Dimension>

      The fixture.

      For a fixed dimension outside its band, or one only another kind has.