Architecture
zWindow
Parametric window in a wall
zWindow builds a window in an existing wall from one closed boundary curve. It supports four opening types, Fixed, Hung, Casement and Sliding, and vertical or horizontal divisions.
Good for:
- A wall with an opening outline already drawn, when you need a window model quickly.
- A combination window with a transom (Division Rows and Columns).
Not for:
- Odd boundaries that are not a rectangle or a rectangle with one arched top, when you want operable types. Only Fixed is available for those.
Quick start
- Run
zWindow. - Pick the wall first (you can pick a single face of a multi-face Brep), then pick a closed curve for the opening.
- The real wall is hidden while the dialog is open; a copy of it is drawn with your opening already cut. The dialog opens with a live preview. The ELEVATION card on top is the drawing; below it the tabs FRAME, CELL, MUNTIN and GLASS hold the choices and every size, one tab per part.
- Bake cuts the opening in the wall (a Boolean difference with the actual shape of your curve) and then creates the window geometry. Cancel discards the preview and the wall is not cut. If there is no window to build, Bake keeps the window open and the warning card beside it shows a red “Nothing to bake” line with the reason in plain words, such as “The boundary curve is not on the wall face” or “The wall face is curved: pick a flat wall”.
- To change a baked window, select it and run
zWindowEdit. See Good to know for the limits.
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 tabs
The ELEVATION card on top is the drawing of the opening, to scale. The open tab decides what a click in the drawing edits:
- FRAME: DIVISION (Add Transom, Add Mullion, Remove Transom, Remove Mullion), ARCH TOP (arched opening only) and DIMENSION (Offset, Width, Depth). The drawing edits the frame bars.
- CELL: OPERATION (Type, Hinge/Slide, Open Amount) and SASH (Width, Depth; a Fixed window follows the Sash, there is no separate bead size). The drawing selects windows.
- MUNTIN: DIVISION (Add Row, Add Column, Remove Row, Remove Column) and DIMENSION (Width, Depth of the glass bars). The drawing edits the glass bars.
- GLASS: DIMENSION (Thickness). Nothing in the drawing is edited on this tab.
FRAME and GLASS are the same for every window. SASH and MUNTIN belong to the window Type named on the right of their title (“For Hung Window”): the cards show the Type of the selected window, or the default Type when none is selected, and every Type keeps its own sizes. A Hung window is drawn as two sashes (upper and lower) and a Sliding window as two (left and right), and Glass Split bars are made in each sash. A new window starts as one undivided window with no glass bars.
The Global / Detail toggle at the right end of the ELEVATION title switches the drawing to Detail: one member cut across (the frame, the sash, a muntin or the glass) with its sizes. Double-click a number there to type a size. The view changes only when you click the toggle.
- Lengths follow the Rhino document unit: a bare number means the document unit, and a unit typed after it always works. Inch fields step by 0.5 in and show two decimals. A member size can not go below 0.01; Offset can be 0.
- Type: how the window opens. Hover its name to see a drawing of the four types.
- Fixed: does not open, and works with any outline. It takes the SASH sizes for its frame around the glass.
- Hung: the lower sash slides up.
- Casement: swings out on a hinge.
- Sliding: the moving sash slides sideways.
- Any outline other than a rectangle or a rectangle with one arched top is locked to Fixed and the list is disabled.
- Hinge/Slide: Sliding only, the side of the moving sash. A Casement has no hinge setting: its sashes hang on the outer edges of the window and open symmetrically. Not used by Hung or Fixed.
- Open Amount: non-Fixed types only, in percent. It shows the open state in the preview and in renders. It does not change the baked structure. Hover its name to see how it works for the current type: how far the lower sash rises (Hung), the swing angle (Casement, 100% means 90 degrees) or the slide distance (Sliding).
Cutting the window
The window is cut in two steps, both made in the drawing. Division (FRAME tab) is the first division: frame-width bars (horizontal and vertical) that cross the opening and cut it into windows. Glass Split (MUNTIN tab) is the second: the thin bars inside the glass of each window. With no division, just pick the Type on the CELL tab.
Division (FRAME tab)
There is no number box for it: the bars are pulled out in the drawing.
- Click near the outer edge of the opening: a frame bar is pulled out of that edge. Near the top or bottom edge it adds a column at that position, near the left or right edge a row. A dashed line shows what the click would add. Bars are moved by dragging, or select one and type a dimension. A bar never crosses its neighbours. An arched head has one bar under the arch, and where you pull it out sets Spring Offset.
- Segments: where bars cross, each bar is cut into segments between the crossings. Click a segment to select it and press Del to remove it (it turns into a dashed line); the two cells next to it merge into one window. Click a dashed segment to bring it back. Only rectangular windows are allowed: a removal that would make an L shape is refused. Double-click a segment, or Shift+click several, to select the whole bar for moving, dimensions or deleting.
- Crossings: at a crossing a vertical bar (mullion) cuts the horizontal one (the transom), so the mullion runs through. Remove one of the two mullion segments at the crossing (select it, Del) and the horizontal bar runs through instead, the mullion stopping against it.
- Remove Transom and Remove Mullion remove the selected bar of that kind. With none selected, the hint under the drawing asks you to click the one to remove.
- Each window has its own Type: select it on the CELL tab and set Type and Hinge/Slide. A merged window counts as one. By default the biggest window follows the default Type (Fixed when you start: every new window is Fixed) and every other window is Fixed; the choice follows the windows as you move bars. Their sash sizes are in the SASH card, per Type.
- Windows made before the frame grid existed (a transom bar with side-by-side windows below it) open translated: the transom bar is a row, the mullions are columns that stop under it, and the windows above the bar are Fixed.
Glass Split (MUNTIN tab)
Glass Split is set per window: pick a window, then divide its glass.
- Add Row and Add Column: each press adds one glass bar to the selected window (to every window when none is selected) and divides its glass equally again, so two presses give three equal rows. A single window is always selected. A new window has no glass bars.
- Remove Row and Remove Column remove the selected glass bar of that kind. With none selected, click the one to remove.
- In the drawing, a click on the window you already selected also adds a bar where you click. Drag a bar or type its dimension to place it by hand; a bar is measured by its center line from the bottom of the glass (rows) or the left edge of its glass (columns) of its own window, so the numbers do not include the frame, the bead or the Division bars. Del removes the selected bar.
- Round window: a circular opening adds a Style row: Straight (rows and columns, as above) or Radial (glass bars from the center out, set with Spokes, and concentric Rings). Radial needs an undivided window (no transom or mullion).
ARCH TOP (FRAME tab, shown only with a semicircular arched head)
The arched window above the bar, under the arch. Greyed while there is no bar under the arch.
- Spring Offset (no field: drag the bar in the drawing): the distance of the bar below the true spring line of the arc (where the arc starts). 0 puts the bar exactly at the spring line. Double-click the upper number next to the bar to type it: it is measured from the spring line, the lower number from the bottom edge.
- Style: how the arched top is built.
- Bead: ordinary flat glazing.
- Fan: radiating bars around a small half ring. The arch and the straight part below it are always one pane (no horizontal bar at the springline), and with a Spring Offset above 0 the two ends of the half ring continue straight down to the bar as muntins.
- Radial: the radiating bars meet at one point, no ring. The point sits on the bar, straight below the center of the arc, so it follows the bar down when the Spring Offset grows.
- Ray Count: Fan only. 1 to 12 bars, spread evenly over the angle of the arc.
- Hub Radius: Fan only. The radius of the small half ring; it starts at a third of the arch radius.
The arched window is one plain pane (no Glass Split bars). Mullions of an arched head stop under the bar; their segments are not edited there, and windows have no per-window Fixed setting.
ELEVATION drawing
The ELEVATION card holds a drawing of the opening to scale, in the real shape of your outline (an arched head, a circle, a triangle): the frame, the Division bars with their segments, the Fan spokes of an arched head and the Glass Split bars inside every window. The frame and the Division bars are drawn with the FRAME width, the glass bars with the MUNTIN width, so thick and thin parts read at a glance. This drawing is where the bars are placed and measured; there are no lists.
- The open tab decides what you can edit in the drawing; each tab edits only its own thing. The drawing opens on the FRAME tab.
- FRAME: click anywhere to add a Division bar (near a horizontal member a column, elsewhere a row; Shift flips it), or pull one out of the outer edge. Select, move, measure and cut frame bar segments. Add Transom adds a horizontal bar (the first one 24 in from the top of the opening, later ones in the middle of the tallest window row; an arched head has only the one under the arch) and Add Mullion a vertical bar in the middle of the widest window column.
- CELL: click a window to select it (it fills red); Shift or Ctrl+click selects several. The Type, Hinge/Slide and Open Amount rows then edit the selected windows together. With no window selected they are the default (the biggest window follows it). A single window is always selected.
- Click near the outer edge to pull out a Division bar (see above).
- On the MUNTIN tab, click a window to select it (a dark outline); click again inside it to add a glass bar to that window. Close to the window’s own top or bottom the click adds a column, elsewhere a row; holding Shift gives the other kind for one click. A single window is always selected, so a click adds a bar at once. Each window shows its Type in small letters in its top left corner. Clicking outside the windows clears the selection.
- Click a glass bar to select it (it turns dark), Shift+click to select several, drag it to move it, or press Del to remove it. A Division bar is selected one segment at a time (see Division); double-click it to select the whole bar.
- A selected bar shows its dimensions, as on a drawing, thin red lines outside the opening: a row shows two on the right of the opening (to the bar below it or the bottom, and to the bar above it or the top), a column shows two below the opening. Glass bars are measured to the edges of the glass; Division bars to the outer edge of the opening, so the two dimensions add up to the opening height or width. Double-click a number, type a length (feet-inches, units and simple sums are understood) and press Enter: the bar moves so that the dimension has that value, and the other bars stay where they are. Esc drops the edit.
- With one bar selected, the EQ chip centres it between its neighbours (or the two edges), so both dimensions become equal.
- Select two or more bars of one kind next to each other: their dimensions form a chain with an EQ chip at its end; click it to spread them evenly between the bar before the chain and the bar after it.
- Positions snap to 0.5 in (10 mm) when you drag; typed dimensions take any value.
FRAME, SASH, MUNTIN and GLASS
- FRAME Offset (default 2 in): pushes the whole window into the wall from the wall face. 0 means flush.
- FRAME Width: how far the outer frame is offset inward in the plane of the wall.
- FRAME Depth: how far the frame is extruded along the wall normal.
- SASH Width: the width of the sash, and of the frame around the glass of a Fixed window.
- SASH sizes start at 1 in x 1 in for Fixed (its bead around the glass) and 1.5 in wide x 2 in deep for every other Type.
- SASH Depth: the depth along the wall normal. At most half of the FRAME Depth for Hung and Sliding (two sashes in depth), the FRAME Depth for Casement and Fixed.
- MUNTIN Width / Depth (default 1 in each): the cross-section of the glass bars (Glass Split rows and columns, and the fan spokes). The width is how thick a bar looks in the elevation; the depth runs along the wall normal, and the sash is never shallower than it. Windows made before this card existed open with the size they were built with (twice the glass thickness, at least 1 in).
- GLASS Thickness: the thickness of the glass.
How the settings work together
- If the outline does not support operable types, Type is locked to Fixed. Hung, Casement and Sliding work only when the outline is exactly 4 straight edges (a rectangle) or 3 straight edges plus 1 arc (an arched rectangle). Divisions work for those and for a circle. Ellipses, triangles and other shapes can only be Fixed and undivided, but still get a frame and glass.
- Sliding with an arched outline always keeps the bar under the arch. See ARCH TOP above.
- The ARCH TOP options depend on the outline. Only a true semicircular arched head shows the ARCH TOP card, and only Style = Fan shows Ray Count and Hub Radius.
- The CELL tab rows follow the Type. Hinge/Slide appears only for Sliding, Open Amount for every Type but Fixed.
Good to know
-
The outline curve must be closed. An open curve makes the command stop.
-
The wall face must be planar and not horizontal. A non-planar wall face, or a perfectly horizontal one (no defined “up”), builds nothing. The outline must also be flat and lie in the same plane as the wall face (coplanar or parallel), otherwise nothing is built. Bake then keeps the window open and the warning card shows a red “Nothing to bake” line with the reason (the wall face is curved, the picked face is horizontal, the boundary curve is not flat or not on the wall face, the wall or the curve no longer exists).
-
Bake cuts the opening in the wall automatically, with a Boolean difference using the real shape of your curve (rectangle, arch or any closed shape). The result is written back to the same wall object. The wall must be a solid (a solid Brep or polysurface). If the wall cannot be cut, for example a single open surface, the window is still baked: a warning is printed on the command line and the wall is left as it was. If the cut splits the wall into several pieces, the tool tries to join them back. The wall is cut only while it is hidden or unlocked during the dialog, and if the cut fails the tool falls back to deleting and re-creating the wall while keeping its layer and other properties. Please check the wall after baking.
-
zWindowEditand the wall. Editing recomputes the frame, sash, glass and bars. If you changed the outline curve since the window was made, the wall closes the old opening (found as the hole round the old window) and cuts the new one, and the preview shows the wall that way. This needs a closed (solid) wall and a hole that lies inside the wall face; otherwise the command says so and changes nothing. While the Edit window is open the old window is hidden, so only the preview shows. -
If the wall or the outline curve you picked is deleted later, the window can no longer be edited with
zWindowEdit. The edit command checks that the sources still exist and refuses if they do not. Delete the window by hand and create it again withzWindow. -
Manual changes to the frame, sash, glass or bars are discarded when you run Edit. The edit command rebuilds the whole window from the original settings and deletes the old parts. It does not read your hand-edited geometry.
-
Exploding or splitting parts and then editing may leave leftovers or remove the wrong parts. Exploding does not lose the identity mark of each part (the mark is stored on each part, not on the group), but if some pieces were deleted earlier, the rebuild replaces an incomplete list of old members, which can leave orphaned geometry or remove the wrong pieces.
-
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, and Bake shows “Nothing to bake”.
IN / OUT: a red band along the bottom of the opening marks the OUT side of the wall, with an OUT label and a flip button beside it. Click the flip button to build the window from the face on the other side of the wall (a wall with no flat back face keeps it as it is, and the window says so).