Before you start
Your building has the roomroom-walls from Draw a wall.
Add the window
The centre of this window is 4.5 metres from the first point of the wall. The bottom of the glass is 0.9 metres above the base of the wall.Rules
offset,width,heightandsillHeightare in metres.sillHeightis the only vertical control of a window. A window has nobaseHeight.windowTypesets the sashes in 3D and the marks in an elevation. A window with nowindowTypeis aCASEMENT. See Window types.- The top of the window, with its frame, must be below the top of the wall.
- The window must not overlap a different opening in the same wall.
Divide the window into lights
divisions puts mullions and transoms in the glass. lights says how each light opens.
- The divisions measure the glass:
widthbyheight, inside the frame. A mullion centre is the distance from the jamb at the wall-start side. A transom centre is the height above the bottom of the glass. - Each mullion and transom is
memberWidthwide, 0.06 metres if you do not give it. It must stay inside the glass (mullion-outside-window,transom-outside-window), and two members must leave a light between them (divisions-overlap). - Mullions run from the sill to the head. A transom stops at each mullion.
- The lights are numbered row by row from the bottom light at the wall-start side. Two mullions and one transom make 6 lights: 0, 1 and 2 at the bottom, 3, 4 and 5 at the top.
columnTransomsgives each column its own transoms, one list per column from the wall-start side (mullions+ 1 lists,column-transoms-count), in place oftransoms(transoms-and-column-transoms). Each list goes up and stays inside the glass (bad-transom); an empty list leaves its column whole. The lights are then numbered column by column from the wall-start side, each column from the bottom:"mullions": [0.4, 0.8], "columnTransoms": [[1.2], [], [1.2]]makes 5 lights, 0 and 1 in the first column, 2 the whole middle column, 3 and 4 in the last.openingisfixed,side-hung,top-hung,bottom-hung,horizontal-slidingorvertical-sliding. A fixed light is glass only. Each other light gets a sash, and a sliding light gets two.hingeis for aside-hunglight only:start(the wall-start side, the default) orend.- A light that is not in
lightsopens aswindowTypesays:CASEMENTis side-hung at the start,AWNINGis top-hung,SLIDINGis horizontal-sliding and the other types are fixed. glazingBarsdivides each fixed light and each sash intocolumnsbyrowspanes, with barsbarWidthwide, 0.02 metres if you do not give it. Bars that leave no pane are refused withglazing-bar-too-wide.- An elevation shows each light’s mark: two lines that meet at the hinged side, or an arrow for a sliding light. The plan symbol shows each mullion.
Give the window a sill
sill puts an external sill under the frame. It stands out past the face of the wall.
projectionis the distance from the wall face to the front of the sill, from 0.001 to 0.3 metres. If you do not give it, it is 0.05 metres.thicknessis the height of the sill, at least 0.001 metres, 0.05 metres if you do not give it. The top of the sill touches the bottom of the frame.extensionis the distance that the sill goes past each side of the frame, from 0 to 0.3 metres, 0.025 metres if you do not give it.faceis the wall face that the sill stands out from:right(the default) orleft, asdoorQuadrantnames the faces.rightis the face that a sash opens to. If the wall is drawn in the other direction, the same value puts the sill on the other side of the building.- On a curved wall, the back of the sill follows the wall face, and the front stays
projectionin front of it. - An elevation and a section show the sill. A plan shows its outline as cut, below or above the cut, from the height of the sill. A plan that cuts the sill but not the window shows only the sill.
- A wrong value is refused with
bad-window-sill. A window withoutsillhas no sill. - A section or an elevation with
settings.openingDetaildraws the frame, mullions and transoms as one band, without the lines where they meet (frameLines: 'outer'), leaves out the inner outline of each sash (sashOutlines: false) and draws the sill as its top line or not at all (sill: 'line'or'none'). See Cut a section. - In a section or an elevation, each seen line and seen region of a window carries its part name:
window-frame,mullion,transom,sash,glazing-bar,glazingorwindow-sill. Cut regions and cut lines carry no part name, and neither does the window of a dormer. A paper style can restyle each part, and fill the glass by phase; see the part names. - A plan view’s
openingSymbolscan draw the frame in the reveal (windowFrame: 'reveal') and the sill with a curved front or not at all (windowSill: 'nosed'or'none'). A paper style can hide or restyle each part of a window symbol (frame,glass,sill, and for a baybay-post,bay-glazing,bay-mouth); see the part names. - A door, window or void that does not fit its wall has no hole, and the build warns
opening-does-not-fit. Plans, elevations and sections draw it at its saved place. A plan view withunfittedOpenings: 'omit', or a section or an elevation withsettings.unfittedOpenings: 'omit', leaves it out.
Make a bay, bow or oriel window
bay makes the window stand out of its wall as one element: facets of glass between corner posts, a sill board under them, a base below the sill and a small roof on top.
shapeiscanted(two angled sides and a front),square(sides at a right angle to the wall) orbow(facetsstraight facets on an arc, 3 to 9, 5 if you do not give it).projectionis the distance from the wall face to the front of the bay, above 0 and at most 2 metres.faceis the wall face that the bay stands out from,leftorright, asdoorQuadrantnames the faces.sideAngleDegis the angle of the sides of acantedbay to the wall, 15 to 75 degrees, 45 if you do not give it.widthstays the hole in the wall, so the window fits the wall as a flat window of the same width does. The facets span the hole.postWidthis the width of the corner posts, 0.1 metres if you do not give it. The glass of each facet runs from post to post.baseiswall(the default): a solid base from the bottom of the wall to the sill.nonemakes an oriel: the bay stands on a corbel under its sill board, 0.1 metres deep at the front of each facet and sloping down at 45 degrees back into the wall face. The corbel stops at the bottom of the wall.baseGroundacts on a base when its host wall hasbaseToGround.wall(the default) runs the base down to the base of the wall, the lowest ground under the whole wall.bayruns it down to the lowest ground under the bay itself; where that ground is above the floor, the base starts at the floor.- The sill board under the facets stands out 0.05 metres past them and runs through the wall to its inner face.
roofislean-to(the default, it slopes down from the wall),hipped(each facet slopes),flatornone. The roof sits on the head and overhangs the facets by 0.1 metres.- Each facet is one column of lights.
transomsandglazingBarsgo across every facet.lightscounts the lights row by row from the bottom, and facet by facet from the wall-start side: light 4 of a canted bay with one transom is the middle facet of the top row. - The posts divide a bay, so a bay takes no
mullionsin itsdivisions(divisions-on-bay); give each facet its own withfacetDivisions. A bay has its own sill board, so it takes nosill(sill-on-bay). - A bay whose facets leave no glass between the posts is refused with
bay-too-narrow, and so is a canted bay whose cants run past the middle of its width. Glazing bars that leave no pane in a facet are refused withglazing-bar-too-wide. - A bay needs a straight host wall: it is refused without a host (
bay-needs-host) and on an arc (bay-on-curved-wall). - A plan, an elevation, a section and the 3D view all draw the bay. Opening marks show on each facet.
- The roof plan draws the roof of a bay, its outline and its hips, below a higher roof: the part under the eave of a higher roof is hidden, and the outer face of the bay joins the dashed outline of the walls.
Give each facet its own lights
bay.facetDivisions gives each facet its own divisions, one entry per facet from the wall-start side. This canted bay has 4 lights and 4 top lights on the front facet, and 1 light and 1 top light on each side.
- A canted or square bay has 3 facets and a bow bay
facetsfacets;facetDivisionsneeds one entry for each (facet-divisions-count). - Each entry is checked as the
divisionsof a window whose width is the glass of its facet, from post to post, at its own path (bay.facetDivisions[1].mullions[0] mullion-outside-window). An entry can also takecolumnTransoms. - With
facetDivisions, the window’sdivisionsgives onlymemberWidthandglazingBars, the default of each facet;mullions,transomsandcolumnTransomsthere are refused withdivisions-with-facet-divisions. lightscounts facet by facet from the wall-start side, each facet in its own order: in this bay, lights 0 and 1 are the first side, 2 to 9 the front (2 to 5 at the bottom, 6 to 9 at the top) and 10 and 11 the other side.- The plan symbol shows the mullions of each facet. An elevation and a section draw each facet’s mullions and transoms, and the IFC export carries them in the window’s body.
Run a bay through two storeys
bay.continuesTo joins a ground-floor bay to the bay of the window above it, on the storey directly above, so that the two build as one bay. Give the lower bay no roof; the upper bay keeps its own.
- The lower bay has no roof. A band of its base fills its outline from its head to the sill of the upper bay, and the upper bay has no base.
continuesTomust name a window with a bay on the storey directly above (bay-continues-to-unknown). The two bays need the sameshape,projection,face,sideAngleDegandfacets(bay-continues-mismatch). Only one bay can continue to a given bay (bay-continues-twice). A lower bay with aroofother thannoneis refused withbay-roof-with-continues.- If the two bays do not stand on the same outline in plan, or the upper sill is below the lower head, the build warns
bay-does-not-continueand builds each bay alone. bay.bandon the lower bay makes the lowest part of the band stand out from the bay, as a tile-hung skirt or a string course:"band": { "projection": 0.1, "depth": 0.5 }puts a course 0.5 m deep, 0.1 m proud of the bay’s outer faces, on top of the lower bay’s head. Adepthgreater than the band fills the whole band. Both numbers must be above 0 (bad-bay-band), and abandneedscontinuesTo(bay-band-without-continues).bay.band.materialnames the material of the whole band by its key in the model’smaterials, such as tile hanging: elevations draw itssurfacePatternon the band and sections hatch its cut with itscutHatch. A key that is not inmaterialsis refused withunknown-material, another value withbad-material. Absent, the band draws plain.- An edit of either window, either wall or the elevation of either storey builds the band again.
- Each plan draws its own window and bay. Each window stays its own window in the IFC export; the band is part of the lower window’s body.
Move or remove the window
A window uses the same commands as a door:move-hosted-opening and remove-hosted-opening. See Add a door.
A hole with no window
To cut a plain hole, write a void in the model. A void is an entry in theopenings of the wall, with kind: 'void', an offset, a width and a height. See Change the document.
Next
Add a floor slab
Put a floor below the walls.
Window API
See each option of a window.