AutoMovie API
    Preparing search index...

    Function createAppliance

    • A kitchen or laundry appliance: a fridge-freezer, a freestanding cooker, a countertop microwave or a front-loading washing machine.

      Each stands with its back at the origin's Z, centred on X, its front toward +Z; the microwave stands on whatever counter it is set on. Every door is a part on its hinge, so an open door is a moved part:

      • A fridge-freezer's fridgeDoor and freezerDoor hinge on its +X edge (the right as one faces it) and swing out 90 degrees, each carrying its handle (fridgeHandle, freezerHandle) at the free edge. The fridge is hollow, with its four glass shelves shelf1 to shelf4 from the bottom up, each a stack-top; the freezer below is one block.
      • A cooker's top is the hob, a stack-top, with its four zones zone1 to zone4, each a stack-top a pan is set on, front left, front right, back left and back right as one faces it; its oven door, handle and knobs are drawn but are not contacts, since no source read places them.
      • A microwave's door hinges on its -X edge, stating no travel since the maker gives no opening angle; floor is the cavity's floor and top its top, each a stack-top.
      • A washing machine's door is the round door hinged on its -X edge, opening 90 degrees; top is the worktop, a stack-top.

      Parameters

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

      The appliance.

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