AutoMovie API
    Preparing search index...

    Function createDeck

    • A stretch of a ship's flush weather deck between its two sides, with a guardrail along each side: a steel tube toprail and round-bar lower rails on flat-bar stanchions.

      The length and the beam are the ship's, site dimensions as a wall's run is, so the author gives them; createDeck.REFERENCE is a Liberty ship's whole deck. The guardrails are ISO 5480's: the toprail's top at the drawn height, the stanchions as many as keep every bay inside the drawn spacing, evenly set from end to end, and the lower rails the fewest that keep every opening inside its drawn bound, the lowest at its greatest opening above the deck and the others evenly spaced up to the toprail. The deck is drawn as the rectangle the length and the beam bound: a ship's taper toward its ends, its sheer and its camber are not modelled.

      The walking surface is the XZ plane at the origin, the bow toward +Z and the left side toward +X. deck is the walking surface between the stanchions, where people stand and a gun or cargo is set; leftRail and rightRail are the toprails along the sides, each a bar a hand grips. A deck floats on a seeded sea by riding a course (ArchetypeRide.along) floated with ArchetypeSea.float, and carries guns or cargo as an ArchetypeAssembly.

      Parameters

      • params: createDeck.IParams

        The deck's length and beam 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<createDeck.Affordance, createDeck.Dimension>

      The deck.

      For a fixed dimension outside its band, a length that is not positive, or a beam no wider than the two stanchions.