Group a clash result into clusters (the unit of a single BCF topic).
by defaults to 'cluster'.
Optionalby: "storey" | "element" | "cluster" | "rule" | "typePair"Run the standard discipline clash matrix (MEP x STR, HVAC x ARCH, ...).
options.mode selects the preset detection mode ('hard' | 'clearance');
remaining options are forwarded to the engine as run settings.
Optionaloptions: ClashMatrixOptionsThe built-in discipline-pair rule presets.
Run a custom set of clash rules over the elements.
Each rule is { id, name, a, b?, mode, tolerance?, clearance?, severity? }
where a/b are IFC-type selectors (omit b for a self-clash within a).
Optionaloptions: ClashSettings
bim.clash - geometric clash detection over caller-provided ClashElement[].
Intentionally thin: it wires the @ifc-lite/clash engine, the standard discipline preset rules, and the grouping/BCF helpers. Geometry meshing (model bytes -> ClashElement[]) is done by the CLI / MCP hosts, not here.