brepjs-bim 0.23.1 → 0.23.2
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 +8 -0
- package/dist/brepjs-bim.cjs +332 -99
- package/dist/brepjs-bim.js +324 -91
- package/dist/import/fromIfc.d.ts +7 -1
- package/dist/import/geometryRead.d.ts +13 -1
- package/dist/import/importedModel.d.ts +17 -8
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -34,6 +34,14 @@ per flight, curtain walls their panels and mullions). When an element is beneath
|
|
|
34
34
|
structure, pass its cumulative frame as `placedSolids(element, { parentFrame })` to obtain world
|
|
35
35
|
coordinates. This is especially important for parent-local Proxy and Earthworks Fill bodies.
|
|
36
36
|
|
|
37
|
+
IFC import reconstructs every supported Body item independently. `ImportedGeometry.solids` owns
|
|
38
|
+
the resulting World-placed handles and `completeness` reports `COMPLETE`, `PARTIAL`, or `NONE`.
|
|
39
|
+
`fidelity` reports the least faithful retained item. Raw mesh siblings are combined in
|
|
40
|
+
`meshVertices` and `meshIndices`. The legacy `.solid` property is a borrowed alias only for a
|
|
41
|
+
complete one-solid Body. Dispose import geometry through `disposeImportedModel()` rather than
|
|
42
|
+
through either property. Complete Bodies also expose aggregate `bounds` and `volumeMm3`; both are
|
|
43
|
+
`null` when aggregate measurement fails or when the Body is partial or missing.
|
|
44
|
+
|
|
37
45
|
- Units default to mm; IFC export emits SI metres.
|
|
38
46
|
- Stable identity: deterministic IFC GUIDs (`deriveIfcGuid`) and local id counters.
|
|
39
47
|
- Shaped geometry: roofs build real shed/gable/hip/dome solids when `pitch` is set (flat slab
|