Skip to main content
Next release
Site plans with roads, water, ground and maps. More detail for walls, doors, windows, roofs and stairs. Blocks with size rules, a faster plan editor, and richer drawing sheets. Every plan turn is now counter-clockwise, which breaks callers that send turns. Read the first list before you upgrade.

Check these when you upgrade

  • Breaking: every plan turn is counter-clockwise, seen from above. A column’s and a stair’s rotation, a roof’s and a context building’s ridgeDirection, a room label’s, a reference marker’s, a viewport’s and a sheet text’s rotationDeg turned clockwise before. The building model is now version 6, the project version 4 and the paper document version 2. An older file is moved when you open it, with each turn negated, so nothing moves on screen. A host that writes these fields itself writes the new versions with counter-clockwise turns; migratePlanRotations moves a model for you (Coordinates and units).
  • Breaking: negate the yaws and placement turns that you send. The yawDeg of transform-wall, transform-slab, transform-space, transform-roof, transform-stair and of the free-opening commands turns counter-clockwise at every model version, and so does the rotation of startPlacement and placementSnap. A command has no version, so Floorkit cannot tell an old value from a new one. Code that negated a placement turn to match a saved block stops negating it.
  • Install @opengeometry/catalog with Floorkit. It is a new peer package: Floorkit reads and builds each block with its reader. It is not on npm and installs from its private GitHub repository, so the install needs read access (Installation).
  • A wall reshape keeps doors where they are. move-wall-point, move-network-wall-end and translate-network-wall now keep each opening at its place in the world. Send openings: 'keep-station' for the old rule (Move and reshape).
  • A batch is judged on its end state. The model between two commands of a batch may be invalid; the model after the last command gets every check. A batch that failed at a middle command can land now (Editing and history).
  • Refusals name their own fault. A bad window division, light, door lite, pull bar or track panel gives a specific code such as divisions-not-ascending, in place of bad-divisions, bad-lights, bad-leafLites, bad-pullBar and bad-slidingPanels. Update code that matches the old codes.
  • A rail on a stair stands its height above the nosings. It ran one riser lower. Saved files with a hosted rail draw it one riser higher.
  • A stair with no structureDepth stands on a waist, not on a solid mass down to the floor.
  • Joined roofs end at the walls of the higher roof. A roof with trimTo loses the part and the overhang that ran inside the higher roof. An upper plan draws a lower roof that its cut passes through as seen; roofsBelowAcrossCut: 'cut' keeps the old drawing (Join two roofs).
  • Eaves drop by their own overhang. When every eave edge has the same overhang of its own, the eaves sit that overhang below the plate, not the roof’s overhang.
  • Floor area leaves out more. storeyFloorAreas, and the GFA, FAR and coverage of a site, no longer count a deck outside the walls or a demolished slab or wall.
  • Close level heads stack on sections and elevations, with a leader from the true level. settings.levelHeadStacking: 'off' keeps the old placement (Cut a section).
  • The presets graphite, ink-sketch and napkin draw a layered wall in one fill. A wall fill or hatch of a paper style now reaches every layer of a wall.
  • Type changes. Annotation has a new member with no buildingId (a schedule of: 'sheets'). HatchSpec is a union of lines, stud and batt. In getPhysicalParts() a window sash has the role sash and the bottom rail of a door leaf the role rail. The parcel line of a plan has ogType: 'SITE_BOUNDARY'.

Added

Site, maps and zoning
  • Roads, waters and context buildings. A site holds roads and waters, each as a centreline with a width or as an outline, with their own commands (add-site-road, add-site-water, add-context-building and their replace and remove forms). Site and block plans draw them, name them and can fill them (siteFills); the 3D build shows them.
  • Ground and contours. site.surroundingGround is the ground around the plot, site.existingGroundPoints the ground before the works, and contours draws contour lines on a site or block plan. siteGroundMesh, siteContours and surroundingGroundAt read the ground.
  • Maps under a site plan. A project keeps GeoJSON map layers and PNG or JPEG map images on any projected metre grid. A layer names its features (labels) and fills them by a property (style) (Location and block plans).
  • Block plans for a planning application. A block plan draws each building as an outline at 1:1000 and smaller, and takes detailLines, blocks: 'draw', slopeShading, wallsBelow, contextBuildings: 'omit', roads and contextNames. The parcel draws in red and owned land in blue.
  • Zoning and areas for a walled building. evaluateBuildingZoning checks the rules on a building drawn with walls, buildingFootprint measures it to the outer wall faces, and each storeyFloorAreas result names the slabs it counted (Draw a wall).
Walls
  • A wall starts above or below its storey (baseOffset), runs down to the ground (baseToGround), stands on a plinth of another material with gaps, and carries bands of another material.
  • A wall layer closes beside openings and at free ends (closure on a layer of a wall type).
  • Phases at a join. joinsAcrossPhases: false keeps a demolished and a new wall apart; demolishedOpenings: 'closed' draws a demolished wall whole.
  • Curtain walls take a head band under a roof (head), a bar along a raked head (headBar) and plans without mullions. curtainWallRuns gives the stretch the grid is laid on.
  • Read walls without the kernel. resolveWallJoins names every join of a storey and savedWallTop gives the top of a saved wall.
Doors and windows
  • The frame has a place across the wall. framePlace sets the frame depth, the face it stands at and its reveal.
  • Door leaves with detail. Glass lites (leafLites), a pull bar, planked and ribbed leaves, lever and centre handles, a threshold, a bottom rail and a frame head.
  • Sliding doors with panels in tracks. slidingPanels makes 2 to 8 panels, fixed or sliding, and a sliding door takes a leafStyle.
  • Windows. Hinge blocks, mullions joined to the frame, a foot that runs through, and one transom list for each column.
  • Bay windows and dormers. A bay continues into the bay above, has a band and a base to the ground. A dormer hosts doors and takes its own material, fascia, gutter and downpipes.
Roofs
  • An overhang for each edge. set-roof-edge-overhang sets one edge; roofEdgeKinds names each edge as eave, gable or half-hip.
  • Roof detail. A square eave cut (eaveCut), a ridge tile (trim.ridge), materials for trim and edges, gutters on chosen edges, swan-neck downpipes, and a flat roof that falls to one edge (fall).
  • Roofs that meet. join-roofs trims one roof against another and cutBy removes the part inside another roof. A roof inside the rooms above it warns roof-inside-storey.
  • Chimneys and soil stacks. A storey takes chimneys with a stack, breast, pots and cap, and soilStacks (Add a chimney, Add a soil stack).
Stairs and railings
  • Stair layout. A stair can end with a riser (endWithRiser), split its flights unevenly (risersBeforeTurn on L and U stairs), set the gap between U flights (flightGap) and be built of boards (treadThickness).
  • Check a stair against a rule. rules holds limits for rise, going and pitch; STAIR_RULE_SETS.ukPrivate is the UK private stair. A breach warns stair-rule-breach and stairRuleBreaches returns it as data (Add a stair).
  • A slab hole fitted to its stair. fit-stair-slab-hole sizes the hole from the stair outline and a margin.
  • Glass railings. Pane width, gaps round the panes, clamps, base plates and no top rail.
Blocks
  • A block says the sizes it offers. sizing in a definition gives a range, a step or a list; sizeLimits and offeredSize read it, and an edit to another size is refused.
  • Size grips in the plan and in 3D. A drag takes the nearest offered size as one undo step.
  • Read a placed block as a plain definition with instanceDefinition.
Editing
  • Move a whole building with move-building, with an optional turn. Its saved views go with it.
  • Move a set of walls with translate-walls, and add a corner with insert-wall-point (Move and reshape).
  • Check a model for clashes on demand with checkBuildingClashes.
  • Read the model in one state. modelInState(model, 'complete' | 'existing') returns the building as the drawings of that state show it (Existing and proposed).
  • replaceFields reaches more. A roof’s trim, a stair’s layout fields and a railing’s panel fields change in place.
Plan editor
  • Type exact points. Wall, outline and segment drafts read a typed start, length and angle. A point typed off the view brings the view to it.
  • Select several elements with Shift-click or a box, and read them with selection() and onSelectionChange.
  • Pick what you mean. A press picks in drafting order, Tab steps through the elements under the pointer, and one hover mark shows what a press would pick.
  • Draft with tracking. A draft locks on wall ends and edges, snaps to grids and working planes, and takes polar steps (setPolarIncrements).
  • One length format. setLengthFormat sets the unit of every label, readout and typed length.
  • An empty storey opens in the plan editor and draws empty.
Views
  • Hide elements in one view with hiddenElements, and choose the buildings of a section or an elevation with buildingIds.
  • Plan views. Stair symbols (stairSymbol: break line, flight above the cut, walkline, words), more linesAboveCut keys, roofs below the cut with their material pattern, low walls drawn as cut (lowWallsAsCut), headroom lines, opening symbols and tag shapes, and unfittedOpenings: 'omit'.
  • Room labels. Templates for area and ceiling height, a smallest printed height, clearance from lines, and a turn for a label placed by hand.
  • Sections and elevations. Ground line options, room outlines, opening detail (openingDetail), level heads on or off and a plain break line.
  • Roof plans. No roof pattern, ridges as bands, rooflight tags, the site boundary and context, and section markers.
  • Material colours on seen faces. surfaceBackground and surfacePatternColor colour a material in elevations and sections.
Paper styles and sheets
  • Your own font. registerDrawingFont embeds a TrueType family in the PDF and the SVG.
  • Finer paper styles. Pens for each cut material (materials), line role (roles), named part (parts), edge class and phase; hatch: 'material'; the hatches stud and batt; a paper background under text; line opacity.
  • Scale bar and north arrow tools. renderer.setTool('scaleBar') and setTool('northArrow') place the mark with one click; markPlacement says where one can go (Compose a sheet).
  • Fit a plan on its building. A viewport takes centerOn: 'building', and viewportExtent gives the box a viewport is fitted on.
  • A drawing list and a legend. A schedule of: 'sheets' lists every sheet; a legend annotation draws a key from the paper style (Tables and schedules).
  • Titles and marks. A view title has a size and six positions, a title-block field wraps and shrinks inside its box, a leader ends in an arrow, a dot or nothing, and the north arrow has more forms.
  • Images in a drawing. DrawingImage places a PNG or JPEG in a drawing.
3D view
  • Line work. BuildingSession.setOutlineWidth sets the width of 3D lines, an outlined body also draws its silhouette, and refreshDisplay draws again the look that a host gave live bodies.

Fixed

  • Room label lines printed at the wrong spacing at sheet scales other than 1:100.
  • A PDF fill after a text printed in the colour of the text.
  • Touching fills of one colour showed a light seam in SVG, PDF and the sheet on screen.
  • A roof outline a few nanometres off the grid failed to build, or drew stray lines in an elevation.
  • A wall drawn inside the walls it joins stopped the plan. It now builds no body and warns wall-absorbed.
  • Walls whose outer ring meets itself stopped a site plan that prints areas.
  • Outside steps up to their own storey’s floor warned stair-misses-storey.
  • A stair that only touches the edge of its slab hole was reported as a clash.
  • Fan, curved and spiral stairs drew as straight pieces in plan. They draw true arcs.
  • A round gutter, soil stack or chimney pot removed the surface pattern of the face behind it.
  • Plans and sheets held lines of zero length.
  • Title-block text did not take the typography of the sheet style.
  • A dormer exported to IFC without its windows.
  • A roof material that is not known stopped a file from opening. It warns unknown-material, as on a wall.
  • A void refused phase in add-hosted-opening and replace-hosted-opening.
  • A dimension whose wall is gone gave no warning.
  • A drag of the middle grip of a mass, room or flat roof edge saved a row of corners. It saves one true arc.
2026-11-11
Floorkit runs on OpenGeometry 3.0. Curves across the model, one fit rule for doors, windows and holes in walls, drawings that read like construction documents, and in-place edits for each element. This release breaks callers of 1.2.0. Read the first list before you upgrade.

Check these when you upgrade

  • Breaking: Floorkit runs on OpenGeometry 3.0. Install opengeometry@^3.0.0. setupOpenGeometry takes the address of the WebAssembly file, { wasmURL } or { wasmModule }, then the options { workerURL, tessellation }. Serve tessellation-worker.js with opengeometry_bg.wasm and pass its address, or pass { tessellation: 'inline' }. Vite apps add optimizeDeps: { exclude: ['opengeometry'] }. Code of your own that calls the kernel moves to the 3.0 API. See Installation.
  • Breaking: addElementToWorldGraph and addOpenElementToWorldGraph are removed, with their types WorldGraphElement, WorldGraphNodePlacement, ElementWorldGraphReport and OpenElementWorldGraphReport. OpenGeometry 3.0 has no WorldGraph. Build the kernel hierarchy with SystemAssembly (addChild or the parent option) and export it with OpenGeometry.exportStep({ nodes }).
  • Breaking: a model under a moved group does not follow it. A model built with buildFromBuildingModel(model, parent), or a session.root added to a group, keeps its kernel world position. Keep that parent at identity.
  • Breaking: the primitive classes are plain Three.js objects. LinePrimitive, PolylinePrimitive and ArcPrimitive extend a Three.js Line; PolygonPrimitive and RectanglePrimitive extend a flat Three.js Mesh. They keep their names, ogid, propertySet and their own methods. The members inherited from the 2.0 kernel are gone: change the propertySet with setOPConfig.
  • Breaking: the baseOffset of a pitched roof is the wall-plate height at its outline. The eave is overhang × tan(pitch) lower, so a pitched roof sits on its walls. A pitched roof of 1.2.0 that set baseOffset to its eave now sits higher: lower its baseOffset by that amount. FLAT roofs do not change. See Add a roof.
  • Breaking: LineDimension is retired. It is deprecated and warns once. Use a storey dimension annotation (Dimensions on a storey) or a sheet measure (Compose a sheet). createDimension throws for area, diameter, volume and custom.
  • Breaking: a field that Floorkit does not know is refused. validateBuildingModel gives unknown-field at the path of the key, on the model, the site, a building, a storey, a mass and every element, in a file of every version. 1.2.0 kept such a field, such as panel on a railing or ramps on a storey, and built nothing from it. Keep data of your own in the model’s metadata or the propertySets of an element. A thickness, height, width, depth or radius above 100 000 m, or a baseOffset beyond ±10 000 m, is refused before the build. See validateBuildingModel.
  • Breaking: stricter checks, with new refusal codes. A size that cannot build is refused with its path and value. The paper document is checked when a project opens and on apply: a point must be { x, y }. Add these codes to the error handling of your app: opening-does-not-fit, wall-not-buildable, edit-not-available, bad-asset-definition, bad-void-profile, bad-door-quadrant, bad-swing-angle, bad-usage, bad-scale, duplicate-label, zero-length-grid, opening-above-roof, opening-overruns-height, unknown-annotation-kind, unknown-viewport and invalid-annotation. A file with a doorQuadrant outside 1 to 4 or a swingAngleDegrees outside 0 to 180 no longer opens.
  • Breaking: a door that does not fit stays at its saved offset. 1.2.0 drew it at the nearest place that fits. Now the build draws it at its saved offset without a hole and gives the warning opening-does-not-fit with its openingFit numbers. Use openingFit.nearestOffset with move-hosted-opening to repair it. validateBuildingModel no longer reports opening-overruns-segment. See Doors and windows in walls.
  • Breaking: Wall.openingFit replaces Wall.inspectOpeningPlacement. attachOpening and moveOpening place an opening at the station that they get. See Wall.
  • Breaking: resolveViewEditCandidate needs the build. Pass session.currentBuild as the last argument.
  • Breaking: the kernel-free applyBuildingEdit refuses more edits. A move or rehost of a hosted opening, and a move-wall-point in a storey with hosted openings, give resolved-edit-required. Use BuildingSession or applyBuildingEditResolved.
  • Plans look different. A wall outline is one closed polyline per ring, with one poché per group of joined walls. Beams, columns, roofs and low walls use new pens for cut, below and above. A wall with a BRICK, CONCRETE or WOOD material draws its hatch. Sections and elevations of a project with a site draw a ground line, and they draw a level head for each storey in place of the storey labels. Update screenshot and PDF expectations.
  • Round and arched holes in straight walls are facets. STEP export of these holes is faceted.
  • With a ProjectManager, one revision number. A step of the views, sheets or markers also raises manager.session.revision. A revision read before such a step is stale.
  • deleteWall is deprecated. Use deleteElement.
  • Breaking for TypeScript: BmWall.thickness is optional. A wall with a wall type (typeRef) has no thickness of its own, so code that reads it gets number | undefined. Read the thickness of a saved wall with savedWallThickness(wall, model.wallTypes). A wall with no thickness and no typeRef is now refused with missing-thickness in place of bad-thickness. facadeDimensions and facadeDimensionExtent need walls with a thickness: pass walls.map((wall) => ({ ...wall, thickness: savedWallThickness(wall, model.wallTypes) })).
  • Sections and elevations draw curved walls with their doors and windows, and slabs and FLAT roofs with arcs or rounded corners, as true curves. The outline of a curved face is drawn where the face turns away from the view, and a smooth join draws no line. The elevation marks of a door or window on a curved wall are on its frame.
  • Breaking: a section or elevation that meets a curved wall with a round void is refused with unsupported-curved-wall. It was unsupported-element, so a check for error.code === 'unsupported-element' no longer catches it. Set settings.curvedWalls: 'leave-out' to draw the view without those walls and the doors and windows they host, with one warning naming the walls. The check reads only the view’s elementIds and building. See Cut a section.
  • New refusal codes for wall types. Add layer-join-rejected, wall-type-in-use, unknown-wall-type, type-sets-thickness, missing-thickness, empty-wall-type, layer-thickness, layer-join-rank, bad-layer-function, bad-flipped, bad-wall-type-name and bad-wall-types to the error handling of your app.
  • Plain walls of BLOCK, INSULATION or STEEL draw a hatch. Before, they drew the solid poché.
  • Two SDK control defaults changed. When nothing is set, editor readouts have 0.625rem corners (was 9999px) and the wall drawing label uses --op-ui-font (was system-ui). The plan faint ink is #777777 for every element type, column poché is #cccccc, unlisted element types are #555555 (was #333333), the sheet page border is #777777, and the unsnapped sheet snap marker is #777777 (was #888888). Set the variables in the theme table of CONSUMING.md to keep the old look. The licence screen and badge text is #000000 in the system monospace font; a page cannot change it.
  • Walls, slabs, roofs, columns, beams, stairs and railings draw through per-storey batches. These batches are instanced drawables. A 3D hit on them is on the batch: find the element with instancedElementId, not by walking parents. OpenGeometry.resolveHit does not resolve such a hit. A change made in place to a body’s material no longer shows: set the appearance instead, which takes the body out of the batch.

Added

  • Curtain wall colours and checks. curtain.frameColor and curtain.glassColor colour the frame and the glass. Curtain positions are checked on the real wall length, every grid issue is reported, and a bay that would sag off its arc is refused with curtain-bay-off-arc. An arc curtain wall draws its mullions and glazing in plan (Make a curtain wall).
  • Curtain walls at storey lines and corners. A curtain wall on a curtain wall below drops its sill over whole bays, so the storey line shows one member. curtain.cornerMullion builds one mullion at an L corner (Make a curtain wall).
  • Plans of a multi-storey building. A plan draws the storey above dashed, lower elements that cross the cut, and column grid tags; a roof plan draws balconies below the eave (Create a plan view).
  • Curtain walls under a roof. A curtain wall that follows a roof is cut to the roof line, and an inspector can edit its grid through one curtain control (Make a curtain wall).
  • Insert, copy and restack a storey. insert-storey, copy-storey and replace-storey-settings with restack: true move the storeys above (Add a storey).
  • A floor under every stacked part. massToShell puts a Floor slab under a part that stands on another part and an Overhang slab under the piece past it, so the floor area of each storey is its footprint (Model a mass).
  • A plate with holes. A cuboid model object on a vertical working plane is a plate as thick as its height, so a screen with holes is one extrusion.
  • Fan, curved, spiral and winder stairs. StairLayout gains FAN, CURVED, SPIRAL and WINDER, sized by innerRadius, sweepAngle and winderCount. StairStep gains outline, StairFlight.walkline gains path and StairPlanCutPoint gains direction. A stair whose top misses the next storey warns stair-misses-storey unless it sets servesLanding: true, and a stair whose top is not within the slab of its slabHole warns slab-hole-level (Add a stair).
  • Glass railings. A railing takes a glass panel on posts, spigots or clamps in place of its balusters, and on a stair the panels follow the pitch. Path points have grips, replaceFields saves a railing, and GUIEditor.startRailingDrawing draws one in 3D. RailingOptions.hostRiser and a fixing member of PhysicalPartRole are new. A hosted rail draws on the plan above, and a path outside its storey warns path-outside-storey (Add a railing).
  • Cut regions by element. Every drawing primitive carries data-og-type in SVG, and each element owns its part of a section cut. A GLASS wall and curtain glazing draw as two lines with no fill in plan and section, and columns have their own pen (Cut a section).
  • Slab edges. A slab takes an edgeProfile, a nose swept along the outline edges you choose, and edgeMaterial and soffitMaterial beside material. A profiled slab exports to IFC as FREEFORM_ANALYTIC, and a face field on a ceiling is refused with ceiling-face-field (Add a floor slab).
  • A window over a door in plan. A window above the plan cut that stands over a door or opening the cut meets draws dashed. A high window on its own is still left out (Create a plan view).
  • Columns on grids. snapToGrids(building, point, tolerance = 0.3) snaps a point to the nearest grid crossing or grid line. A column’s grid reference comes from its position and is not saved. A column whose height differs from its storey’s warns height-differs-from-storey, and a cut CONCRETE, STEEL or TIMBER column draws its material hatch in plan and section (Add a column).
  • Glass is tagged. Every glass body carries a userData.glazing tag (curtain-pane, window-pane, door-pane, glass-wall or railing-panel), and under class keying the conditioning export masks tagged glass as WINDOW, so curtain glass is no longer masked as WALL.
  • Curved slab and roof edges. Slab and FLAT roof outlines take arcs, a through point per edge as on a wall. They build as true curves, draw as true arcs in plan and count exactly in storey floor area. Sections and elevations draw them as true curves. Arcs on a stair-linked hole, a ceiling, a pitched roof or a roof with an overhang are refused (Add a floor slab).
  • Curves across the model. A slab or a FLAT roof with no overhang takes cornerRadii, and set-corner-radius rounds one corner or a whole ring (Round a slab corner). fillet-walls replaces the corner of two joined walls with a curved wall, and bend-wall bends a straight segment into an arc (Round a wall corner). Rooms, room separation lines, railings, ramps, grid lines, site boundaries, mass footprints and custom column and beam profiles take arcs. The managed wall tool draws arcs in the plan and in 3D, plan snapping finds arc ends, midpoints, quadrants, centres and tangents, and a selection reports the corner, edge or joint that was picked. Storey dimensions of kind radius and arc-length follow their arc, and pickArcEdge finds the arc under a click (Dimensions on a storey).
  • Ramps. A storey takes ramps (BmRamp): a path with a width that rises between two storey-relative elevations, with an optional maxSlope and landings. A turn must sit in a landing, which builds as one mitred corner plate. The plan draws one outline with an arrow to the higher end, dashed above the cut, and sections cut it with ogType RAMP (Ramp).
  • Change an element in place. replace-wall-settings, replace-hosted-opening and replace-free-opening change a wall, a door or a window as one undo step. ProjectManager.replaceFields saves the inspector fields of a wall, opening, room, block, slab, roof, column or beam.
  • More wall edits. split-wall and merge-walls (Move and reshape). A wall can hold arc segments (Add a curved wall). A wall with topFollowsRoof reaches the roof underside.
  • Doors and windows by type. Each door type and window type builds and draws its own way. See Door types and Window types. Grips resize a door or a window. A void can be round or arched.
  • Frames, stairs and railings. Draw beams in the plan editor (Add a beam). Columns, beams and free railings move and turn in both editors, and Delete removes any selected element. A railing can follow its stair (host). A stair can have a waist and a linked slab hole that moves with it (Add a stair).
  • Roofs. GABLE and HIP roofs build on any simple outline. A floor plan draws a roof above the cut as its dashed eave outline. A new roof-plan view shows every roof of a building, with the ridge, hips, valleys, slope arrows and pitch. See Add a roof.
  • Drawings. Plans draw elements by their state against the cut, upper parts of a lower stair, door, window and wall tags, room separation lines, grids and levels. Dimensions, notes and leaders saved on a storey draw on each plan of the storey (Dimensions on a storey). A plan view with no storeyId is a site plan. labelMm prints plan text at one paper size at any scale.
  • Sheets. North arrow, scale bar, revisions, tables and schedules. See Compose a sheet and Schedules.
  • Furniture. A project file keeps the .op text of its blocks, and a block can be mirrored. See Place furniture.
  • Block catalog. Free blocks of furniture, fixtures and equipment come from the public Floorkit block catalog, licensed under CC BY 4.0. Load a block with its loader from a pinned release tag. See Use the block catalog.
  • Zoning. No-build zones, a limit on part of the lot and an envelope plane on one lot edge.
  • Wall types. A wall type is a list of layers, each with a material, a thickness and a function. A wall with typeRef builds one body for each layer, also on arcs; the layers of walls that meet join by rank; plans and sections draw one hatched strip for each layer. Add, change and remove types with add-wall-type, replace-wall-type and remove-wall-type, each one undo step. The plan editor example has a Type select and a Wall types panel. See Use wall types.
  • Storey areas without a mass. storeyFloorAreas measures each storey from its slabs, or inside its outer ring of walls when it has no slab. A site plan prints the area of each storey of a building that has no mass.

Changed

  • One theme for the SDK controls. Every --op-* variable has one default, exported as opThemeDefaults. The sheet snap marker reads --op-snap-color, the sheet page reads the new --op-sheet-page, readouts and inputs read --op-ui-font-size and --op-ui-input-font-size, and the plan inks of site, zoning, MEP and data-centre elements have their own --op-plan-ink-* variables.
  • The examples site has a light and dark mode. It uses stock shadcn components and layout, and in dark mode the drawings go dark too.
  • Plan opening tags number by the storey, as the schedule does.
  • The sheet editor edits text, leader and dimension labels in place, and deletes them.

Fixed

  • A plate with many holes draws its sections and elevations in seconds: a 300-hole perforated plate’s elevation takes about 2 s and its section about 4.5 s, where they took minutes.
  • A window above a door at the same place along a wall no longer counts as an overlap. Two openings overlap only when they overlap along the wall and up it.
  • A -0 in a building command is saved as 0.
  • A wall that joins a split T keeps its far corner mitre.
  • An opening that does not fit no longer blocks new walls of its storey, and a wall edit no longer rewrites an opening that it does not carry.
  • The connected-walls grip of the 3D editor can be pressed on every wall.
2026-10-14
Create and edit site massing with one project and one undo history, through commands and the plan and 3D editors. See Site massing for a worked study.

Check these when you upgrade

  • Breaking: create and edit a Building through a project. Use massBuildingCommand with ProjectManager.apply, then edit through commands or the managed editors. Standalone new Building({ profile, height }), segments without storeys, storeyHeight, Building.setStoreys, Building.addSegment, Building.removeSegment, regenerateStoreys, storeyHeightFor and STOREY_HEIGHT_BY_USE are removed. See Model a mass.
  • Files with showMassing need 1.2.0. Floorkit 1.1.0 refuses that new plan-view field. Files without it still open in both versions. Update custom saved-view validators to accept it.
  • BuildingEditCommand has new members. Add replace-mass, add-building, remove-building and replace-site to exhaustive switches. ProjectFileError also adds building-in-use and site-in-use; storey-in-use can now be reported by a mass edit.
  • Recheck floor area against the site’s grade and area definitions. A storey entirely at or below grade is a basement. Basement, parking, core and mechanical areas do not count toward FAR unless the rules include them. Set BmStorey.areaKind explicitly where needed; pass { grade } to massQuantities or Building.quantities for a site above or below zero.
  • Sections and elevations can draw masses. With showMassing: true on the view, a section cuts each part of a mass with its courtyards and an elevation shows each part; off by default. Both draw the ground line of the site. A view that lists a mass without the switch is refused with unsupported-element.
  • Masses use colours by use when no colour is set. Set color on the mass or pass massColors: {} to keep the previous default. Plan views and sheets can now fill mass parts with their colours; update screenshot or PDF expectations accordingly.
  • The plan editor reports deselection after undo. A select listener must accept undefined when undo removes the selected element. A storey-setting edit in a mass building also reports the changed objects.
  • Custom editable targets can supply activePart. The editors preserve the selected mass part during gestures and after saving or undoing. Hosts with custom EditableTarget implementations can provide its saved part id alongside selectPart.

Added

  • Mass, building and site commands. replace-mass, add-building, remove-building and replace-site work through BuildingSession and ProjectManager, including batches, undo and redo. massBuildingCommand creates a mass from an outline; massSegmentHeightCommand changes a part’s height in whole storeys.
  • Plan and 3D mass editing. Select a part, reshape, move, turn or delete it. Push/pull changes its height in 3D. Each completed gesture saves one command; edits that break a saved view or remove occupied storeys are refused.
  • Draw a building in the plan. ManagedPlanEditor.startMassDrawing draws and saves a new mass as one step. startOutlineDrawing returns an outline for an app’s own creation flow. Escape cancels without saving.
  • Site massing on plans and sheets. showMassing: true draws mass parts, the parcel and the at-grade setback line in plan views, sheets and PDF exports. ProjectManager.setBuildableEnvelope shows the supplied envelope in 3D; it is a display setting, not part of a saved project.
  • Area kinds and colours for mass parts. Save BmStorey.areaKind and optional BmMassSegment.color. GUIEditor.onDrag exposes live figures during supported gestures before the command is saved.

Changed

  • Mass, building and site edits preserve unaffected objects. A storey-setting edit in a mass building rebuilds the affected storey and mass.
  • A rebuilt mass keeps its active part. Height drags keep materials and unchanged parts across geometry writes.

Fixed

  • Setback checks measure clearance edge to edge, including concave parcels.
  • Basement classification uses site grade when calculating floor area ratios.
  • Editor keyboard focus and selection grips recover correctly after mass edits and undo. Plan move/turn feedback works when an app loads another copy of Three.js.
2026-10-11
One object for an open project, commands for each element of a storey, and edits that stay fast in a large building.

Check these when you upgrade

  • The mouse wheel pans the 2D plan and the sheet. In 1.0.0 it zoomed. Call setNavigation(MOUSE_NAVIGATION) on the view to keep the zoom. See createModelRenderer.
  • Install opengeometry@^2.0.18. Floorkit needs 2.0.18 or later.
  • Selection and hover are blue. Set --op-accent: #000000 on the editor container to keep the black look.
  • Drawing text uses Paper Mono. On screen and in SVG, load Paper Mono in your page, or the text shows in Courier. A PDF needs no font. To keep the old look, set fontFamily in the typography of the sheet style and in the dimension styles.
  • Editor readouts use the system monospace font. Set --op-ui-font on the editor container for a different font.
  • TypeScript: two unions are larger. BuildingEditCommand has new kinds, and the kind of a change event can be restore. A switch that must cover each member needs the new cases.
  • onChange reports are more exact. A moved block gives move and an added element gives create. The labels of a door or a window that moves off its wall or to a different wall changed. ogids names only the elements that the step changed.
  • Objects stay the same after an edit. An edit builds again only what changed, so the other objects are not new objects. Do not write position, rotation or scale on a Floorkit object below a storey group: use an edit command. Do not write into a drawing that the plan editor made.
  • The model check is stricter. A column, a beam or a railing with a number that the build cannot use is refused when a file opens. A stair with more than 1,000 risers is refused.

Added

  • ProjectManager. One object holds an open project: the building, the views, the sheets and the markers. It has one undo history, it mounts a plan editor, it connects a 3D editor, and it exports sheets.
  • Commands for the elements of a storey. add-element, replace-element and remove-element change slabs, roofs, spaces, stairs, columns, beams, railings and blocks.
  • Commands for block definitions and for storeys. add-asset, replace-asset, remove-asset, add-storey, remove-storey and replace-storey-settings.
  • A batch command. { kind: 'batch', commands: [...] } applies several commands as one step with one undo. When one command fails, nothing changes.
  • A change event names what changed. The events of BuildingSession.subscribe and ProjectManager.subscribe have an optional changed list of live ids, so your app can refresh only those elements.
  • setNavigation. Set how the wheel and the mouse buttons move the 2D plan and the sheet.
  • A block moves and turns in both editors.

Changed

  • Edits are fast in a large building. An edit builds again only the elements that changed, and the plan editor draws again only those. In a storey of 160 rooms, a slab move takes about 5 ms (before about 2.2 s), and a door move takes about 46 ms (before about 2.2 s).
  • The first plan draw of a large storey is faster. At 160 rooms it takes about 0.24 s. It took about 64 s.
  • More moves of a wall at a corner are accepted.
  • A body up to 1 km from the origin of the model draws in a plan, a section and an elevation.
  • A selected wall in the 2D plan editor shows its outline, with no bounding box and no rotate dot.

Fixed

  • A dragged wall end joins the wall it is released on.
  • The wall outline stays whole after a wall drag.
  • A drag that is refused or cancelled puts the element back, and the 2D plan shows the saved plan again.
  • The undo of a live edit puts the element back exactly.
  • The plan symbol of a door or a window no longer shows in the 3D view.
  • A wall cuts its holes again when only its axis moves.
  • LineDimension prints no debug logs.
  • A door, a window or a wall opening disposes its kernel bodies.
2026-10-06
Floorkit 1.0 launched.
Last modified on December 4, 2026