Architecture
zRailing
Railing along a curve
zRailing builds a railing along a curve. It supports five infill systems, baluster, cable, glass, metal panel and industrial guardrail, combined with a top rail, intermediate rail, bottom rail and an accessible handrail.
Good for:
- Stairs, balconies, terraces and atria that need a continuous railing along a path.
- Combining several kinds of infill (balusters, glass, cables) on one curve.
- Paths that are flat or that rise and fall in 3D (for example along a stair).
Not for:
- Posts that grow out of a vertical wall or side face instead of up from a path on the floor: use
zRailingSide.
Quick start
- Run
zRailing. - Pick one or more curves as the railing path (see Good to know).
You can also start the tool from a preset in the Architecture tab of
zAssetLibrary: the same picks run, and the window opens filled with the preset. - The dialog opens with a live preview and an elevation of the system on top. Choose the System first, then adjust the tabs: RAILING, POST, INFILL, RAILS and HANDRAIL. Each tab names its parts with headings (for example RAILING: LAYOUT, SIZE, PATH). The open tab shows its own part at full weight in the elevation. The Global / Detail switch at the right of the elevation title shows the part of the open tab at true size, with break lines: the post, the infill with its gaps and the rails with Drop and Clearance as a side view, and the handrail with its connector, Lateral and the ADA extension and return as a side view with its section next to it. Double-click a number in the Detail view to type a new size. The view changes only when you click the switch.
- Check the side of the railing (IN / OUT) in the viewport. There is no row for it in the window.
- A translucent red band runs along the whole exterior (OUT) side of the path.
- At the middle of the longest straight run of each piece there is a red OUT label and, separate from it, a small square flip button with an arrow across the path. Both lie flat in the plane of the path, and their size follows the zoom.
- Click the button to flip that piece. The button highlights when you hover it, and the click does not select what is under it. The OUT label only marks the side and cannot be clicked.
- Curves that touch end to end count as one piece. Each separate piece has its own IN / OUT and its own button.
- If input curves are selected in Rhino and you click the button of a piece among them, all the selected curves get the same new side. Otherwise only that piece flips.
- The side the railing is offset to is IN, and the handrail is on it, so OUT is the other side. This is the same with or without a handrail: switching the handrail on or off never turns IN and OUT over.
- Bake creates the real geometry. Cancel discards the preview. If the current settings have nothing to build, the window stays open and the warning card beside the window shows a red “Nothing to bake” line with the reason.
- To change a baked railing, select any part of it and run
zRailingEdit(see Good to know for the limits). The settings and the IN / OUT side of each piece are restored, and the path is drawn on top of the preview while the Edit window is open.
RAILING
-
System: the main infill. It also decides what the POST tab holds (Guardrail replaces the post rows with the guardrail rows) and whether the INFILL, RAILS and HANDRAIL tabs can be opened.
- Guardrail: an independent pipe-guardrail unit system, usually for industrial or equipment use. The POST tab holds the guardrail rows instead (see GUARDRAIL below), and the INFILL, RAILS and HANDRAIL tabs are dimmed and cannot be opened, because a guardrail is a separate system that is not mixed with ordinary rail parts. The hint line under the drawing on the RAILING and POST tabs says why.
- Baluster: traditional vertical balusters. Top Rail is forced on and cannot be turned off.
- Cable: horizontal cables or bars.
- Glass: glass panels, either framed with posts, or a frameless glass wall with posts off.
- Metal: metal panels, again either framed or frameless.
-
Lengths follow the Rhino document unit: a bare number means the document unit, and a unit typed after it always works. Each system keeps its own values. Inch fields step by 0.5 in.
-
Height: the total railing height, from the path curve to the top of the top rail. The usual range is 36 in to 42 in (common code heights for houses and public buildings).
-
Offset: the horizontal offset of the whole railing from the path curve. A positive value goes to the side set with the IN / OUT flip button in the viewport (see Quick start); a negative value goes to the other side.
-
Linearize Path: whether the input curve is straightened into line segments between the post positions, instead of following every small bend of the curve. Hover its name to see a drawing of Off and On.
POST
(When System is Guardrail, the POST tab holds the GUARDRAIL rows below instead.)
- PROFILE (switch on the card title): whether solid posts are made. It can be switched by hand only when System is Glass or Metal (to choose framed or frameless). For other systems it is forced on and cannot be turned off.
- Section: the post cross-section, shared by all posts. Its size sets how thick the posts look.
- Circle: a round section, set by its diameter.
- Rect: a rectangular section, set by its size along and across the path.
- Double: two parallel rectangular bars at each post position.
Under DIVISION:
- Corner: how posts are handled at corners of the path.
- Single: one shared post at the corner.
- Split: no shared post. One post is set back about 10 in on each side. For frameless glass or metal (posts off) this has no meaning and is forced to Single and locked.
- Mode: how posts are placed along the path.
- Even: posts are spread evenly along the whole path with a spacing no larger than Spacing.
- Fixed: posts use the fixed Spacing value, and the remainder is collected at the end of the path.
- Spacing: the maximum or fixed post spacing.
Under HARDWARE:
- Base Plate: whether a base plate is made under each post. Hover its name to see a drawing of Off and On.
- Fitting (post-top fitting): available only when the Intermediate Rail is on. Makes a saddle fitting at the post top that connects the intermediate rail to the top rail. Hover its name to see a drawing of Off and On.
INFILL
(The content depends on the System.)
System = Baluster
- Under PROFILE, Section: the cross-section of each vertical baluster (Circle or Rect).
- Under SPACING, Gap: the largest clear gap between neighboring balusters. Codes commonly require no more than 4 in so a child’s head cannot pass through (the “4 inch sphere rule”).
System = Cable
- Under PROFILE, Section: the cable or bar cross-section (Circle or Rect).
- Under SPACING:
- Mode: whether the number below controls the spacing or the count.
- Spacing: the number of cables is worked out from the largest clear gap you set.
- Count: you set a fixed number of cables.
- Gap or Count: shows the one that matches Mode: the largest clear gap between cables, or the total number of cables.
- Mode: whether the number below controls the spacing or the count.
- Under MARGINS, Top Margin / Bottom Margin: how far the cable zone is pulled in from the top and the bottom.
System = Glass
- Under PANEL, Thickness: the glass panel thickness.
- Under MOUNT:
- Gap: the clearance between the glass edge and the post face.
- Clearance (clearance above the floor): can be adjusted only for framed glass (posts on) with Bottom Rail off. It sets how high the bottom edge of the glass is above the floor. With Bottom Rail on, the glass sits on the top of the bottom rail. For frameless glass (posts off) with Bottom Rail off, the glass goes down to the floor, and Clearance is forced to zero and locked.
System = Metal
- Under MOUNT, Gap / Clearance: the same meaning as for Glass: the edge gap and the clearance above the floor (again adjustable only when framed and Bottom Rail is off).
- Under INSET:
- Inset Top/Bottom: how far the metal panel is pulled in from the top and the bottom (applied to both).
- Inset Left/Right: how far the metal panel is pulled in from the left and the right.
- Each metal panel is baked as a solid 1/8 in plate.
GUARDRAIL
(Shown on the POST tab only when System = Guardrail, in place of the post rows.)
Under UNIT:
- Type: segmented or two-tier.
- Segmented: an independent inverted U unit for each post span. The MID RAILS heading appears.
- Two-Tier: one continuous pipe in an upper and a lower tier with U-turn ends (for a ramp or stair). The LOWER RAIL heading appears.
- Mode / Spacing: the same meaning as Mode and Spacing in POST: how the guardrail units or posts are distributed along the path, and their spacing.
Under PIPE:
- Pipe Diameter: the diameter shared by all pipe parts of the guardrail (legs, top bend, mid rails).
- Base Plate: whether a base plate is made under the guardrail legs. Hover its name to see a drawing of Off and On.
Under LOWER RAIL (Two-Tier only):
- Height: the height of the lower (child-height) rail above the path.
Under MID RAILS (Segmented only):
- Mode: like Mode for cables: work out the number of mid rails from a spacing, or set a fixed count. Gap or Count is shown to match.
RAILS
(The RAILS tab is dimmed and cannot be opened when System = Guardrail.)
TOP
The heading is a switch for the top rail. With System = Baluster it is forced on and cannot be turned off. When open:
- Section: the top rail cross-section.
INTERMEDIATE
Available only when Top Rail is on. The heading is a switch for the intermediate rail. When open:
- Section: the intermediate rail cross-section.
- Drop: how far the intermediate rail is below the top rail.
BOTTOM
The heading is a switch for the bottom rail. Changing System to Baluster, Cable, Glass or Metal turns it on, and you can turn it off afterwards. In frameless glass or metal wall mode the bottom rail sits directly on the floor. When open:
- Section: the bottom rail cross-section.
- Clearance (clearance above the floor): the height of the underside of the bottom rail above the floor.
HANDRAIL
The PROFILE card title carries the switch for a separate accessible handrail (different from the top rail itself). When on:
- Section: the handrail cross-section (usually slimmer than the other parts).
- Under MOUNT, Connection: how the handrail connects to the posts or the wall (struts or brackets, and the labels change with the handrail shape).
- Height: the handrail height above the floor, usually 34 in to 38 in (the common accessibility range).
- Lateral: the horizontal offset of the handrail from the main body of the railing.
ADA EXTENSION: the heading is a switch for whether the handrail ends extend into the horizontal sections that accessibility rules ask for. This heading cannot be collapsed. With the switch off the values below are grayed out but stay visible. They are:
- Return: how the end of the extension finishes: down, to the wall, or a loop back.
- ADA EXTENSION Length: the length of the extension at each end.
- Corner Radius: the corner radius at the bend of the extension.
How the settings work together
- Changing System rebuilds several groups. It resets the infill defaults (for example it turns Top Rail and Bottom Rail back on for the non-guardrail systems), rebuilds the Infill group, swaps the post rows and the guardrail rows on the POST tab, and refreshes which controls are available. After you change System, check every group again, and do not assume the earlier settings still apply.
- Baluster locks Top Rail on.
- Turning Top Rail off disables Intermediate Rail. The intermediate rail can be enabled only while the top rail is on.
- Framed and frameless Glass or Metal change a chain of settings. Only these two systems let you switch Post by hand. With posts off (frameless), Corner is forced to Single, and if Bottom Rail is also off, the panel goes down to the floor and Clearance is forced to zero. These follow from the frameless glass or metal wall construction itself and are not bugs.
- Post Fitting depends on the Intermediate Rail.
- Guardrail and the ordinary railing parts are mutually exclusive. With Guardrail, the POST tab holds the guardrail rows and the INFILL, RAILS and HANDRAIL tabs are dimmed. A guardrail has its own parameters and is not mixed with the top and bottom rails of a normal railing.
- IN / OUT is set in the viewport, not in the window. The flip button decides which side Offset and the handrail Lateral go to; that side, with the handrail, is IN. The side of each piece is saved with the railing and restored by
zRailingEdit.
Good to know
-
Very short or invalid curves are skipped silently and do not stop the rest. If you pick several curves and some are too short or invalid, they are skipped and the others are processed. If all curves are skipped, the command is cancelled with a message that no usable curve was picked.
-
Sharp hairpin turns or a self-crossing path may leave a gap. If a very sharp turn or a self-crossing makes the offset path cross itself, that stretch is skipped with a warning and the rest is built normally. You may see the railing “break” at a sharp corner. Check whether the path curvature there is extreme.
-
An infill gap above the 4 inch sphere rule only warns, it does not stop Bake. The viewport tells you which stretch is over the limit, and it is your decision whether to fix it.
-
Three-dimensional paths are supported, with no extra planarity check. A path that rises and falls (for example along a stair) is followed correctly. This is a normal, supported case.
-
Exploding part of a baked railing means that part can never be edited again. A baked railing is a group of many solids, many of them block instances. If you explode one, the fragments lose the railing identity, and the edit command does not recognize them. The other parts of the group can still be edited as a whole, but the exploded fragments are not cleaned up and must be deleted by hand.
-
If the current settings have nothing to build, Bake leaves the window open. The warning card beside the window shows a red “Nothing to bake” line with the reason below it. Fix that and Bake again.
-
Typed numbers apply when you press Enter or leave the field. The preview builds in the background, so the window stays responsive.
-
Edit follows a move or a rotation, and a copy is edited on its own. Every baked part remembers where it was built, so Edit rebuilds the railing where it is now, from any part that is still intact. No copy of the path is baked. A scale or a tilt is not kept.
-
A manual change to a single part is thrown away when you run Edit. Edit rebuilds the whole railing from the original settings and can only recognize a move or rotation of the whole railing, not a manual change of one part. It is replaced without a warning.
-
If a stored setting is deleted or damaged, Edit silently replaces it with the default and rebuilds. The result may differ from what you set, with no message telling you which setting went back to default.
-
Deleting a picked curve: If you delete one of the picked curves while the window is open, its part of the preview disappears with it; delete all of them and the preview is empty.