AutoMovie API
    Preparing search index...

    Function createStorage

    • A storage cabinet: a wardrobe with two hinged doors, a chest of three drawers, a four-drawer filing cabinet, a steel locker or an open bookcase.

      The cabinet stands on the floor at the origin with its front toward +Z. Its doors and drawers are parts on their articulations: a wardrobe door turns out about its outer edge, a drawer slides out toward +Z with the box behind its front, and each carries its pull. The push face on the +X side is where the cabinet is pushed when it is moved. StorageConstruction builds each kind and says what the locker and the bookcase add.

      A locker rests on its steel legs: steel on concrete (ArchetypeFriction).

      Parameters

      • params: createStorage.IParams

        The kind, its read model where it has several, and any dimension the author fixes.

      • Optionalseed: string | number

        The seed that draws the model when it is not given and every dimension left free inside its band; absent, the kind's first model and the middle of each band.

      Returns Archetype<createStorage.Affordance, createStorage.Dimension>

      The cabinet.

      For a model the kind does not list, a fixed dimension outside its band, or one only another kind has.