Skip to main content
Add walls to one network and Floorkit resolves each corner, T-junction and crossing.

Import

Example

Notes

  • add registers one wall. Call resolve() after you add a group of walls. addPolyline makes one wall for each segment and resolves them.
  • Read ResolveReport.diagnostics after resolve(). It lists openings that moved and joins that were not possible.
  • After you change a live opening, call commitOpeningCuts() on its wall.
  • The network is not a scene object. Add each wall to your scene.
  • dispose() disposes the walls of the network. Dispose doors and windows separately.
  • Start the geometry kernel before you create this object. See Floorkit.
  • This object is live geometry. To save a building, write it in a building model.

Constructor

number
JoinType
number
boolean

Properties

Map<string, Wall>
Read-only.
Map<string, WallNode>
Read-only.
WallConstraint[]
Read-only.
Map<string, { type?: JoinType; order?: string[]; }>
Read-only.
Event<ResolveReport>
Read-only.
WallNetworkOptions
Read-only.
number | undefined
Metres from every wall beyond which a dragged door or window leaves its wall; undefined keeps it on walls.

Methods

subscribeInvalidation

syncArcConfigEndpoints

Keep a property-edited arc’s free endpoint nodes on the authored circle.

beginEdit

endEdit

atomicModelEdit

invalidateWall

Tell listeners that a wall changed; without diagnostics they get its opening diagnostics.

snapAxisPoint

snapEndPoint

nearestWall

outlineNeighbors

lastResolveReport

The junctions and diagnostics of the last resolve, as they are now, without a new resolve.

junctionsOfWall

The junctions of the last resolve that wallId is a member of.

openingDiagnostics

The current opening diagnostics of the hosted openings: an opening that does not fit where it is has an entry with its fit; one over a T seam has opening-over-junction.

isSplitCrossingWall

tSeamStations

The stations along host where the seam of a T stem lies on a face of host.

openingJunctionDiagnostics

registerOpening

beginHostedOpeningEdit

previewHostedOpeningEdit

commitHostedOpeningEdit

rehostOpening

add

addArc

addPolyline

replaceSavedWalls

Bring the walls and options to the saved runs; no joint, trim or order of before stays, and after a throw the network holds the walls of both states until the next call repairs it.

setJoin

disallowJoin

remove

moveEnd

translateWall

resolve

restoreDetachedFaceTrims

Replace auxiliary face trims atomically without resolving or replacing walls. Throws: {Error} If the trim payload is invalid or refers to a missing wall.

toModel

fromModel

dispose

Types

WallNode

WallConstraint

Event

Simple event handler by Jason Kleban. The package does not export this type by name.
unknown
required
Triggers all the callbacks assigned to this event.

ResolveReport

WallNetworkOptions

WallAxis

XZ

WallEnd

HostedOpening

The package does not export this type by name.

JoinType

WallDetachedFaceTrim

A detached wall-end face trim; source retains the native T/X reconstruction policy.

WallNetworkModel

WallEndRef

WallJoinOverride

Last modified on October 16, 2026