@ifc-lite/clash 1.6.0 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -3
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -11,6 +11,14 @@ version-specific **source adapters**.
|
|
|
11
11
|
- Results classify as `hard` (interpenetration), `clearance` (within a gap), or `touch`
|
|
12
12
|
(within tolerance, suppressed by default).
|
|
13
13
|
|
|
14
|
+
## Installation
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npm install @ifc-lite/clash
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Usage
|
|
21
|
+
|
|
14
22
|
```ts
|
|
15
23
|
import { createClashEngine, CLASH_RULE_PRESETS } from '@ifc-lite/clash';
|
|
16
24
|
import { elementsFromStep } from '@ifc-lite/clash/step';
|
|
@@ -26,8 +34,19 @@ console.log(result.summary.total, 'clashes');
|
|
|
26
34
|
|
|
27
35
|
Includes the TypeScript reference engine, a Rust→WASM kernel kept in lockstep by a
|
|
28
36
|
differential test (opt-in via `@ifc-lite/clash/wasm`; `backend: 'auto'` currently
|
|
29
|
-
resolves to the TS engine), STEP and IFC5/USD source adapters, spatial grouping,
|
|
30
|
-
|
|
37
|
+
resolves to the TS engine), STEP and IFC5/USD source adapters, spatial grouping,
|
|
38
|
+
duplicate-element detection, clash review status (open / resolved / accepted) that
|
|
39
|
+
round-trips through BCF, and a *sensible* BCF bridge (grouped
|
|
31
40
|
topics, deterministic GUIDs, optional snapshots). Surfaced through the viewer's
|
|
32
41
|
clash panel, the `ifc-lite clash` CLI, the MCP `clash_check` / `clash_matrix` tools,
|
|
33
|
-
and the SDK `clash` namespace.
|
|
42
|
+
and the SDK `clash` namespace.
|
|
43
|
+
|
|
44
|
+
## Docs
|
|
45
|
+
|
|
46
|
+
See the [ifc-lite docs](https://ltplus-ag.github.io/ifc-lite/) and the design
|
|
47
|
+
rationale in
|
|
48
|
+
[clash-detection-plan.md](https://github.com/LTplus-AG/ifc-lite/blob/main/docs/architecture/clash-detection-plan.md).
|
|
49
|
+
|
|
50
|
+
## License
|
|
51
|
+
|
|
52
|
+
MPL-2.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ifc-lite/clash",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.1",
|
|
4
4
|
"description": "Clash detection for IFC-Lite — representation-agnostic core engine + source adapters",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@ifc-lite/spatial": "^1.14.
|
|
37
|
-
"@ifc-lite/geometry": "^3.1.
|
|
38
|
-
"@ifc-lite/parser": "^3.
|
|
39
|
-
"@ifc-lite/query": "^1.14.
|
|
40
|
-
"@ifc-lite/bcf": "^1.16.
|
|
41
|
-
"@ifc-lite/ifcx": "^2.1
|
|
42
|
-
"@ifc-lite/wasm": "^3.0.
|
|
36
|
+
"@ifc-lite/spatial": "^1.14.11",
|
|
37
|
+
"@ifc-lite/geometry": "^3.1.3",
|
|
38
|
+
"@ifc-lite/parser": "^3.8.1",
|
|
39
|
+
"@ifc-lite/query": "^1.14.12",
|
|
40
|
+
"@ifc-lite/bcf": "^1.16.1",
|
|
41
|
+
"@ifc-lite/ifcx": "^2.2.1",
|
|
42
|
+
"@ifc-lite/wasm": "^3.0.13"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"typescript": "^6.0.3",
|