Skip to content

Stairs ​

A building in Z-MOD has two kinds of stairs:

  • an internal stair climbs from one floor to a floor above it, inside a volume, and opens the slabs it passes through;
  • an entry stair comes down from the building's foundation or from a porch deck to the ground outside.

Both are parts of the building: they are saved with it, drawn with it, and exported with it. Neither is a model you place. Every change in their Inspectors is one undo step (Ctrl+Z).

This chapter covers both Inspectors. Placing a stair is done with the building strip's tools, described in Building › The building strip.

Screenshots

There are no screenshots of the stair Inspectors yet. None could be taken from a real run of the editor: this environment has no Electron build of the editor, and installing one is not allowed. This page is written from the editor's source code: building-stair-inspector.html / .ts, building-entry-stair-inspector.html / .ts, building.ts (defaults and ranges), building-stair.ts (layout) and the en-US language files.

Where to find them ​

To place an internal stair

  1. Select a building (Map workspace, Buildings & Sites tool group, or the building's row in the Hierarchy).
  2. Make the floor the stair starts from the active floor (it must not be the top floor of its volume).
  3. In the building strip, arm Internal stair (⩘). Before you place it, choose Straight, L-shaped or U-shaped, and for L and U stairs Turn left or Turn right.
  4. Press where the stair starts, drag the way it climbs, and release. The direction snaps to 15° steps (and to walls); hold Shift to turn it freely. The strip's hint says: "Press where the stair starts and drag the way it climbs; release to place it. It reaches the floor above and opens that floor's slab over itself. Shift turns it freely."

While you drag, the strip shows a readout of the stair being placed: "N × R m · L × B m → floor F" (steps × step height, footprint, and the floor it reaches). It turns red when the stair does not fit, and releasing then gives "The stair does not fit here: it has to stand inside the floor's outline and have a floor above to reach." Nothing is created.

A new internal stair reaches the floor directly above and gets a Top landing (see below).

To place an entry stair

  • With the foundation on: in the building strip arm Entry stair (⌸), or click Add entry stair in the Foundation Inspector, then click the edge of the foundation where the stair should come down (hint: "Click an edge of the foundation - or of the selected porch - where the stair should come down.").
  • On a porch: select the porch and click an edge with the same tool, or use Add stairs here on one of the porch's edges (see Building elements › Porch).

To select a stair afterwards: click its row in the Hierarchy (an internal stair is listed under the floor it leaves, in the floor's Stairs list, as Stair 0 → 1; entry stairs are under the Foundation row or the Porch row), or its button in the Foundation or Porch Inspector (Entry stair 1, Entry stair 2…).

Internal stair Inspector ​

The Inspector has four sections: Internal stair, Slab opening (Medium), Railings and Stairs (material and delete). Number fields are applied when you leave the field or press Enter; empty or non-numeric text is ignored. Values outside a range are held at the nearest limit.

Internal stair section ​

NameControlLevelDefaultRange / unitsWhat it does
From floorDrop-downNormalthe floor it was placed onevery floor of the volume that has a floor above itThe floor the stair starts from. Floors show their name, or Floor N.
To floorDrop-downNormalthe floor directly abovefloors above the From floor, in the same volumeThe floor it reaches. A stair can climb more than one storey.
TypeDrop-downNormalStraight (or what the strip was set to)Straight, L-shaped, U-shapedThe plan shape. L and U stairs have a landing between two flights.
TurnDrop-downNormalTurn leftTurn left, Turn rightOnly for L-shaped and U-shaped: the side the second flight turns to.
Direction (°)Number, step 15Normalas draggeddegrees, shown to 0.1°The direction the stair climbs.
WidthNumber, step 0.05Normal1 m0.4 – 20 mWidth of the flights.
Target step heightNumber, step 0.01Medium0.18 m0.08 – 0.5 mThe step height Z-MOD aims for. The real height is the climb divided into whole steps (see Actual step height).
Step depthNumber, step 0.01Medium0.28 m0.12 – 2 mDepth of one tread.
Landing depthNumber, step 0.05Medium1 m0.4 – 10 mOnly for L and U: depth of the landing between the flights (never less than the stair's width).
Gap between flightsNumber, step 0.05Medium0.1 m0 – 3 mOnly for U-shaped: the space between the two parallel flights.
Top landingCheckboxNormalon for a new stair–Makes the last tread, the one level with the floor reached, a deep platform before that floor.
DepthNumber, step 0.05Medium0.8 m0.1 – 10 mOnly with Top landing: the platform's depth (never less than a normal tread).

Read-only rows under the first fields. They follow the floors and are never stored:

RowLevelWhat it shows
Total riseNormalThe height between the two floors, in metres.
Riser countNormalHow many steps the climb is divided into.
Actual step heightMediumThe real height of each step (4 decimals).
Run lengthMediumThe horizontal length of each flight, for example 2.52 m + 1.96 m.
Landing heightMediumOnly for L and U: the landing's height above the start.
FootprintNormalLength × width of the whole stair on the floor plan.

Two hints may appear instead:

  • "The climb is too short for two flights: this stair is built straight." An L or U stair whose rise does not allow two flights is built as a straight stair; your Type is kept.
  • "A stair has no floor above it in its volume to reach, so it is not built." The stair has no floor to reach (for example after you deleted the floor above).

Slab opening (Medium) ​

Hint: "The slabs the stair climbs through are opened over it automatically, wherever they would come closer than the headroom above its steps."

NameControlDefaultRangeWhat it does
ClearanceNumber, step 0.010.05 m0 – 1 mExtra margin around the stair when the slab above is cut.
HeadroomNumber, step 0.052.1 m1.2 – 5 mThe free height kept above the steps. A slab closer than this to a step is opened.

Railings ​

NameControlLevelDefaultRangeWhat it does
Left railing / Right railingCheckboxesNormaloff–A railing on that side of the flights.
Upper opening guardDrop-downMediumAutoAuto, NoneAuto: the floor reached gets a railing round the opening this stair cuts in it, left open where you step off. None: no guard. The guard belongs to the upper floor.
HeightNumber, step 0.05Normal0.95 m0.3 – 3 mOnly when a railing is on: railing height.
Baluster spacingNumber, step 0.01Medium0.12 m0.06 – 2 mOnly when a railing is on: distance between balusters.

The railings use the same railing system as porches and free railings (see Building elements).

Stairs (material and delete) ​

NameControlLevelWhat it does
Override - StepsCheckbox + material fieldMediumOff: the stair uses the building palette's Stairs material. On: the stair gets its own material, starting from the palette's.
Delete stairButton (red)NormalDeletes the stair (one undo step) and selects the floor it started from.

Entry stair Inspector ​

Title: Entry stair. Read-only rows first:

RowWhat it shows
Comes down fromFoundation or Porch.
StepsNumber of steps × step height, for example 3 × 0.167 m.
Platform topHeight of the platform the stair starts from, in metres.

Position and climb ​

NameControlLevelDefaultRange / unitsWhat it does
Vertical alignmentDrop-downMediumAuto - align to platformAuto - align to platform, ManualAuto: the top of the stair follows the foundation's or porch deck's height. Manual: the top stays at the height in Y. Switching to Manual keeps the current top height.
X / ZNumbers, step 0.05Normalwhere you clickedmetresPosition of the stair's top on the plan.
YNumber, step 0.05Normalthe platform top−20 – 60 mThe top height. Typing a value switches Vertical alignment to Manual.
Direction (°)Number, step 15Normalaway from the edge you clickeddegreesThe direction the stair comes down.
WidthNumber, step 0.05Normal1.2 m0.4 – 20 mWidth of the stair.
Preferred step heightNumber, step 0.01Medium0.18 m0.08 – 0.5 mThe step height aimed for; the real one is shown in Steps.
Step depthNumber, step 0.01Medium0.3 m0.12 – 2 mDepth of one tread.
Landing depthNumber, step 0.05Medium1 m0 – 10 mA landing at the top of the stair. 0 = none.
Total heightNumber, step 0.05Mediumempty (placeholder: the computed height)0.08 – 30 mEmpty: the stair comes down to the ground under it. A value forces the climb. Clear the field to go back to automatic.

Sides ​

NameControlLevelDefaultOptionsWhat it does
Left side (going down) / Right side (going down)Drop-downsNormaldepends on how the stair was made (a stair saved before sides existed has None)None, Solid, Railing, Solid + railingWhat closes each side: nothing, a solid side wall, a railing, or both.
Side wall thicknessNumber, step 0.05Medium0.2 m0.05 – 1.5 mOnly when a side is Solid.

Railing (only when a side has a railing):

NameControlLevelDefaultRangeWhat it does
Railing heightNumber, step 0.05Normal0.95 m0.3 – 3 mHeight of the railing.
Handrail sizeNumber, step 0.01Mediumempty (placeholder: 0.8 × the post size)–Thickness of the handrail. Empty = automatic.
Baluster spacingNumber, step 0.01Medium0.12 m0.06 – 2 mDistance between balusters.
Post spacingNumber, step 0.1Medium1.8 m0.3 – 10 mDistance between railing posts.
End postsCheckboxNormalon–Newel posts at the ends of the railing.
Width / Depth / HeightNumbers (step 0.02 / 0.02 / 0.05)Medium0.2 / 0.2 / 1.1 mwidth and depth 0.05 – 1.5 m; height 0.3 – 4 mOnly with End posts: the size of the end posts.

Materials ​

NameShown whenWhat it does
StepsalwaysMaterial field of the treads.
Side wallsa side is SolidMaterial of the solid sides.
Railingsa side has a railingMaterial of the railing.
Postsa railing with End postsMaterial of the end posts.
Use the building's materialsthe stair has at least one material of its ownRemoves the stair's own materials: it uses the building palette again.

Each field shows the material the stair really draws with: its own, or the building's when it has none.

Delete stair (red button) deletes the entry stair (one undo step); the editor then selects another part of the same building.

A generated porch stair or foundation stair (made by a settlement's Entrance Features) also shows the Generated entrance feature section (Lock / Make Manual): see Building elements.

Problems ​

MessageWhat to do
"A stair reaches outside its floor's outline."Move or turn the stair, shorten it (Width, Step depth, Landing depth), or change its Type.
"Entry stairs need a foundation."Switch the foundation on, or delete the foundation's entry stairs. (Porch stairs are not concerned.)
"A stair has no floor above it in its volume to reach, so it is not built."Add a floor above, or change To floor.
"The climb is too short for two flights: this stair is built straight."Information: lower Target step height, or use Straight.

Typical tasks ​

Add a stair between two floors ​

  1. Select the building and make floor 0 the active floor (strip ◀ / ▶ or the floor row in the Hierarchy).
  2. Arm Internal stair, choose L-shaped and Turn left in the strip.
  3. Press near a wall, drag along it the way the stair should climb, and release.
  4. In the Inspector, check Footprint and Riser count. If the stair pokes outside the floor, turn it (Direction (°)) or change Type.
  5. Tick Right railing if the open side needs one.

Give a porch a stair with solid sides ​

  1. Select the porch and click Add stairs here on the edge facing the path (Porch Inspector, edge list).
  2. In the Entry stair Inspector set Left side (going down) and Right side (going down) to Solid + railing.
  3. At Medium level, adjust Side wall thickness; under Materials choose a brick for Side walls.

Not verified in a real run ​

  • The look of the stairs, railings, guards and slab openings in the 3D view.
  • Which side styles the Entry stair tool and the porch's Add stairs here give a new stair (the porch chapter says railed on both sides; the tool's own default was not checked).
  • Which side is "left" for an internal stair's railing, and which part of the building is selected after an entry stair is deleted.