Appearance
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
- Select a building (Map workspace, Buildings & Sites tool group, or the building's row in the Hierarchy).
- Make the floor the stair starts from the active floor (it must not be the top floor of its volume).
- 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.
- 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
| Name | Control | Level | Default | Range / units | What it does |
|---|---|---|---|---|---|
| From floor | Drop-down | Normal | the floor it was placed on | every floor of the volume that has a floor above it | The floor the stair starts from. Floors show their name, or Floor N. |
| To floor | Drop-down | Normal | the floor directly above | floors above the From floor, in the same volume | The floor it reaches. A stair can climb more than one storey. |
| Type | Drop-down | Normal | Straight (or what the strip was set to) | Straight, L-shaped, U-shaped | The plan shape. L and U stairs have a landing between two flights. |
| Turn | Drop-down | Normal | Turn left | Turn left, Turn right | Only for L-shaped and U-shaped: the side the second flight turns to. |
| Direction (°) | Number, step 15 | Normal | as dragged | degrees, shown to 0.1° | The direction the stair climbs. |
| Width | Number, step 0.05 | Normal | 1 m | 0.4 – 20 m | Width of the flights. |
| Target step height | Number, step 0.01 | Medium | 0.18 m | 0.08 – 0.5 m | The step height Z-MOD aims for. The real height is the climb divided into whole steps (see Actual step height). |
| Step depth | Number, step 0.01 | Medium | 0.28 m | 0.12 – 2 m | Depth of one tread. |
| Landing depth | Number, step 0.05 | Medium | 1 m | 0.4 – 10 m | Only for L and U: depth of the landing between the flights (never less than the stair's width). |
| Gap between flights | Number, step 0.05 | Medium | 0.1 m | 0 – 3 m | Only for U-shaped: the space between the two parallel flights. |
| Top landing | Checkbox | Normal | on for a new stair | – | Makes the last tread, the one level with the floor reached, a deep platform before that floor. |
| Depth | Number, step 0.05 | Medium | 0.8 m | 0.1 – 10 m | Only 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:
| Row | Level | What it shows |
|---|---|---|
| Total rise | Normal | The height between the two floors, in metres. |
| Riser count | Normal | How many steps the climb is divided into. |
| Actual step height | Medium | The real height of each step (4 decimals). |
| Run length | Medium | The horizontal length of each flight, for example 2.52 m + 1.96 m. |
| Landing height | Medium | Only for L and U: the landing's height above the start. |
| Footprint | Normal | Length × 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."
| Name | Control | Default | Range | What it does |
|---|---|---|---|---|
| Clearance | Number, step 0.01 | 0.05 m | 0 – 1 m | Extra margin around the stair when the slab above is cut. |
| Headroom | Number, step 0.05 | 2.1 m | 1.2 – 5 m | The free height kept above the steps. A slab closer than this to a step is opened. |
Railings
| Name | Control | Level | Default | Range | What it does |
|---|---|---|---|---|---|
| Left railing / Right railing | Checkboxes | Normal | off | – | A railing on that side of the flights. |
| Upper opening guard | Drop-down | Medium | Auto | Auto, None | Auto: 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. |
| Height | Number, step 0.05 | Normal | 0.95 m | 0.3 – 3 m | Only when a railing is on: railing height. |
| Baluster spacing | Number, step 0.01 | Medium | 0.12 m | 0.06 – 2 m | Only 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)
| Name | Control | Level | What it does |
|---|---|---|---|
| Override - Steps | Checkbox + material field | Medium | Off: the stair uses the building palette's Stairs material. On: the stair gets its own material, starting from the palette's. |
| Delete stair | Button (red) | Normal | Deletes the stair (one undo step) and selects the floor it started from. |
Entry stair Inspector
Title: Entry stair. Read-only rows first:
| Row | What it shows |
|---|---|
| Comes down from | Foundation or Porch. |
| Steps | Number of steps × step height, for example 3 × 0.167 m. |
| Platform top | Height of the platform the stair starts from, in metres. |
Position and climb
| Name | Control | Level | Default | Range / units | What it does |
|---|---|---|---|---|---|
| Vertical alignment | Drop-down | Medium | Auto - align to platform | Auto - align to platform, Manual | Auto: 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 / Z | Numbers, step 0.05 | Normal | where you clicked | metres | Position of the stair's top on the plan. |
| Y | Number, step 0.05 | Normal | the platform top | −20 – 60 m | The top height. Typing a value switches Vertical alignment to Manual. |
| Direction (°) | Number, step 15 | Normal | away from the edge you clicked | degrees | The direction the stair comes down. |
| Width | Number, step 0.05 | Normal | 1.2 m | 0.4 – 20 m | Width of the stair. |
| Preferred step height | Number, step 0.01 | Medium | 0.18 m | 0.08 – 0.5 m | The step height aimed for; the real one is shown in Steps. |
| Step depth | Number, step 0.01 | Medium | 0.3 m | 0.12 – 2 m | Depth of one tread. |
| Landing depth | Number, step 0.05 | Medium | 1 m | 0 – 10 m | A landing at the top of the stair. 0 = none. |
| Total height | Number, step 0.05 | Medium | empty (placeholder: the computed height) | 0.08 – 30 m | Empty: the stair comes down to the ground under it. A value forces the climb. Clear the field to go back to automatic. |
Sides
| Name | Control | Level | Default | Options | What it does |
|---|---|---|---|---|---|
| Left side (going down) / Right side (going down) | Drop-downs | Normal | depends on how the stair was made (a stair saved before sides existed has None) | None, Solid, Railing, Solid + railing | What closes each side: nothing, a solid side wall, a railing, or both. |
| Side wall thickness | Number, step 0.05 | Medium | 0.2 m | 0.05 – 1.5 m | Only when a side is Solid. |
Railing (only when a side has a railing):
| Name | Control | Level | Default | Range | What it does |
|---|---|---|---|---|---|
| Railing height | Number, step 0.05 | Normal | 0.95 m | 0.3 – 3 m | Height of the railing. |
| Handrail size | Number, step 0.01 | Medium | empty (placeholder: 0.8 × the post size) | – | Thickness of the handrail. Empty = automatic. |
| Baluster spacing | Number, step 0.01 | Medium | 0.12 m | 0.06 – 2 m | Distance between balusters. |
| Post spacing | Number, step 0.1 | Medium | 1.8 m | 0.3 – 10 m | Distance between railing posts. |
| End posts | Checkbox | Normal | on | – | Newel posts at the ends of the railing. |
| Width / Depth / Height | Numbers (step 0.02 / 0.02 / 0.05) | Medium | 0.2 / 0.2 / 1.1 m | width and depth 0.05 – 1.5 m; height 0.3 – 4 m | Only with End posts: the size of the end posts. |
Materials
| Name | Shown when | What it does |
|---|---|---|
| Steps | always | Material field of the treads. |
| Side walls | a side is Solid | Material of the solid sides. |
| Railings | a side has a railing | Material of the railing. |
| Posts | a railing with End posts | Material of the end posts. |
| Use the building's materials | the stair has at least one material of its own | Removes 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
| Message | What 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
- Select the building and make floor 0 the active floor (strip ◀ / ▶ or the floor row in the Hierarchy).
- Arm Internal stair, choose L-shaped and Turn left in the strip.
- Press near a wall, drag along it the way the stair should climb, and release.
- In the Inspector, check Footprint and Riser count. If the stair pokes outside the floor, turn it (Direction (°)) or change Type.
- Tick Right railing if the open side needs one.
Give a porch a stair with solid sides
- Select the porch and click Add stairs here on the edge facing the path (Porch Inspector, edge list).
- In the Entry stair Inspector set Left side (going down) and Right side (going down) to Solid + railing.
- 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.
Related tools
- Building (create and settings): the strip tools, floors, foundation and the material field.
- Building elements: porches, railings and the Generated entrance feature section.
- Building interiors: Room Layout can generate a stair core between floors.