OptionalboundaryOptionaldebugWhen true, every stage of the pipeline (wall extraction →
detection) emits console.debug messages so the viewer's
Room tool Auto "no regions detected" failure mode can be diagnosed
from devtools without touching the algorithm. The result also
carries detection stats unconditionally.
OptionaldryWhen true, runs detection but doesn't emit any IfcSpace.
OptionalextraAdditional element types to treat as space dividers (passed to the wall extractor verbatim — case-insensitive). The defaults already cover walls, curtain walls, virtual elements, plates, members, and railings.
OptionalguidOptional seeded randomness for the emitted GlobalIds (spaces + rels),
forwarded to the builders via SpatialAnchor.guidRandom. Omit for the
default platform CSPRNG.
OptionalheightIfcSpace extrusion height (m). Default 3.
OptionallongOptional override for IfcSpace.LongName (single value, all spaces).
OptionalminDrop detected regions below this area in m². Default 0.5 m².
OptionalnameNaming pattern for emitted spaces. {n} is replaced with a 1-based
index. Default 'Space {n}'.
OptionalpredefinedOptional IfcSpacePredefinedType (defaults to INTERNAL).
OptionalskipFootprint polygons (same metre frame as the detected rooms) of existing spaces on this storey. A detected room whose centroid falls inside one is an overlap with an already-present space and is skipped — so re-running (or filling a partly-spaced floor) doesn't duplicate spaces. Per-space, not per-storey: non-overlapping rooms are still emitted.
OptionalsnapSnap tolerance for wall-end vertex merge in METRES. Default 0.1 m.
Where the space boundary sits relative to its walls. Default 'inner'.