Skip to content

Commit 6fa0d31

Browse files
committed
chore(changeset): bump @ifc-lite/wasm (carries the Rust fix), not @ifc-lite/geometry
The unit-resolution fix is Rust compiled into @ifc-lite/wasm; bumping only @ifc-lite/geometry would leave the wasm binary unpublished for npm consumers (Codex P1). Matches the prior Rust-fix convention (#1342/#1351): wasm patch cascades 'Updated dependencies' to geometry/cli/parser/clash/viewer.
1 parent 56b9d57 commit 6fa0d31

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
"@ifc-lite/geometry": patch
2+
"@ifc-lite/wasm": patch
33
---
44

55
Fix arched (degree-trimmed arc) openings rendering as full circles on Revit/EDM exports (#1367). These exporters write entity records with a space after the `=` (`#1593796= IFCPROJECT(`) and place `IFCPROJECT` plus the unit chain near the file tail. The streaming meta resolver's `find_ifcproject_id` searched for the literal `=IFCPROJECT(` (no space), so it found no project and the unit assignment silently defaulted (length → metres on a millimetre model, plane-angle → radians on a degree model). With the angle treated as radians, an `IfcTrimmedCurve` arc trimmed at `65.91°`/`114.08°` swept ~48 radians (~7.6 full turns), so an arched window opening cut a full-circle "void sphere" through the wall. The project scan now tolerates whitespace around `=`, and the plane-angle resolver reports an unresolved partial-index chain as "retry on a full index" (mirroring the length resolver) instead of masking it as the radian default, so a degree unit whose `IFCMEASUREWITHUNIT` lands past the streaming gate still resolves.

0 commit comments

Comments
 (0)