Repository navigation
Honest IFC/viewer wiring for partition Level/Floor/Material + opening ElemTable joins - #141
Conversation
Wire Level/Floor/Room/Material recovers into IFC export (storeys, boundary slabs, spaces, IfcMaterial) without PROXY Material rows. Confirm 2024 ArcWallRectOpening related ids against ElemTable without inventing Door/Window. Surface production class counts in inspect + viewer File Status; split unsupported-feature diagnostics for remaining gaps. Co-authored-by: DrunkOnJava <[email protected]>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
Bugbot Autofix is ON, but it could not run because the branch was deleted or merged before autofix could start.
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 1010523. Configure here.
| statusPanelEl.appendChild( | ||
| statusRow('Typed MVP', 'ok', classBits.join(' · ')), | ||
| ); | ||
| } |
There was a problem hiding this comment.
File Status mislabels envelope recovers
Low Severity
The new File Status row titles production class counts as Typed MVP while listing ArcWall, ArcWallRectOpening, and other partition envelope recovers. Those hits are not decode_typed successes and openings are not typed Door/Window, so the label overstates what was recovered.
Triggered by learned rule: Partition schema MVP: Level/Floor/Material, not Door/Window
Reviewed by Cursor Bugbot for commit 1010523. Configure here.
## Summary Corpus-evidenced **negative result** for the hard gaps left after #141 — fail-closed, no invented Door/Window/Wall types. ### Research (magnetar Einhoven 2023 + Core Interior 2024) - **#32 Door/Window:** Opening-index mid-body bytes are not a Door vs Window enum; `related_b≈related_a+1` dual-id handles; ElemTable payloads are id echoes only; UTF-16 door/window strings do **not** co-locate with related ids (`OST_Doors`/`OST_Windows` = 0); `VWallRectOpening` has essentially no door/window dim pairs; schema lacks `Door`/`Window`. - **#30 / #23 Wall:** Literal `Wall` ABSENT in schema; 2024 `ArcWall` tag `0x019c` has **0** `SCHEMA_FAMILY_MARKER@+4` and **0** variant `0x07fa` — 2023 decoder must stay gated off; VWall not recoverable on these partitions. ### Landed - `reports/element-framing/RE-19-door-window-wall-negative.md` - Probes: `probe_door_window_wall_research`, `probe_door_window_wall_followup` - Regression locks: `tests/re19_door_window_wall_negative.rs` + strengthened `iter_elements_typed` (0 Door/Window/Wall on Core Interior; openings stay `ArcWallRectOpening`) - ROADMAP / `docs/status.md` updated ### Explicitly not claimed - No typed Door/Window IFC voids/fills - No 2024 ArcWall geometry decoder - Issues **stay open** pending a *new* wire join (family-symbol params / true 2024 envelope) Refs: #30 #32 #23 Co-authored-by: Cursor Agent <[email protected]> Co-authored-by: DrunkOnJava <[email protected]>
… ElemTable joins (#141) ## Summary Advances #30–#33 after partition schema MVP (#140) by wiring recovers into IFC/viewer honestly and tightening opening provenance. ### Newly recovers / wires - **Materials** no longer emit as `IFCBUILDINGELEMENTPROXY`; partition display names → `IfcMaterial` (Einhoven 41, Core Interior 92). - **Levels** → IFC storeys even when elevation-unresolved (2024: 12 name-only storeys). - **Floors** → boundary-annotated `IFCSLAB` (no invented thickness); geometry gaps use `floor_boundary_annotation_only`. - **Rooms** → `IFCSPACE`. - **2024 ArcWallRectOpening**: related_id_a/b cross-checked against `Global/ElemTable` (≥1997/2000 confirmed under test caps); still **not** typed Door/Window. - **Inspect + viewer File Status**: production class counts + storey/material totals; unsupported features split honestly. ### Still open (AC not met — issues stay open) - Schema-field `Wall` instances / 2024 ArcWall envelope (#23) - Door vs Window discrimination + host IFC voids/fills - Floor↔ElemTable ElementId binding + slab extrusion thickness - Opening index → `IfcOpeningElement` host join (deferred to avoid flooding STEP) ### Tests - Tier1 honesty + `iter_elements_typed` corpus (Einhoven / Core Interior) - `project_count_fixtures`, `walker_to_ifc_integration`, clippy `-D warnings` Refs: #30 #31 #32 #33 <!-- CURSOR_SUMMARY --> --- > [!NOTE] > <sup>[Cursor Bugbot](https://cursor.com/bugbot) is generating a summary for commit 1a0d86337dfb01b1cb70cb9f6aed898f9c958633. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY --> Co-authored-by: Cursor Agent <[email protected]> Co-authored-by: DrunkOnJava <[email protected]>
## Summary Corpus-evidenced **negative result** for the hard gaps left after #141 — fail-closed, no invented Door/Window/Wall types. ### Research (magnetar Einhoven 2023 + Core Interior 2024) - **#32 Door/Window:** Opening-index mid-body bytes are not a Door vs Window enum; `related_b≈related_a+1` dual-id handles; ElemTable payloads are id echoes only; UTF-16 door/window strings do **not** co-locate with related ids (`OST_Doors`/`OST_Windows` = 0); `VWallRectOpening` has essentially no door/window dim pairs; schema lacks `Door`/`Window`. - **#30 / #23 Wall:** Literal `Wall` ABSENT in schema; 2024 `ArcWall` tag `0x019c` has **0** `SCHEMA_FAMILY_MARKER@+4` and **0** variant `0x07fa` — 2023 decoder must stay gated off; VWall not recoverable on these partitions. ### Landed - `reports/element-framing/RE-19-door-window-wall-negative.md` - Probes: `probe_door_window_wall_research`, `probe_door_window_wall_followup` - Regression locks: `tests/re19_door_window_wall_negative.rs` + strengthened `iter_elements_typed` (0 Door/Window/Wall on Core Interior; openings stay `ArcWallRectOpening`) - ROADMAP / `docs/status.md` updated ### Explicitly not claimed - No typed Door/Window IFC voids/fills - No 2024 ArcWall geometry decoder - Issues **stay open** pending a *new* wire join (family-symbol params / true 2024 envelope) Refs: #30 #32 #23 Co-authored-by: Cursor Agent <[email protected]> Co-authored-by: DrunkOnJava <[email protected]>


Summary
Advances #30–#33 after partition schema MVP (#140) by wiring recovers into IFC/viewer honestly and tightening opening provenance.
Newly recovers / wires
IFCBUILDINGELEMENTPROXY; partition display names →IfcMaterial(Einhoven 41, Core Interior 92).IFCSLAB(no invented thickness); geometry gaps usefloor_boundary_annotation_only.IFCSPACE.Global/ElemTable(≥1997/2000 confirmed under test caps); still not typed Door/Window.Still open (AC not met — issues stay open)
Wallinstances / 2024 ArcWall envelope (M3-02: Reverse-engineer Revit 2024 ArcWall records #23)IfcOpeningElementhost join (deferred to avoid flooding STEP)Tests
iter_elements_typedcorpus (Einhoven / Core Interior)project_count_fixtures,walker_to_ifc_integration, clippy-D warningsRefs: #30 #31 #32 #33
Note
Medium Risk
Changes real-file IFC output and export diagnostics semantics (materials, storeys, no opening stubs); behavior is corpus-tested but affects user-visible export counts and unsupported-feature reporting.
Overview
Wires partition MVP recoveries into production IFC and diagnostics without overstating Door/Window or geometry coverage.
IFC export now treats Material as
IfcMaterial(not building proxies), Level as storeys (including name-only / elevation-unresolved at 0.0), Floor as boundary-annotatedIFCSLABvia property sets only, and Room asIFCSPACE. Scaffold mode stops inventingIFCBUILDINGELEMENTPROXYfor unmapped classes;ArcWallRectOpeningstays in the walker for counts but is skipped in STEP until host-wall joins exist. Export diagnostics gainproduction_class_counts, refined geometry-gap buckets, and a more granularunsupported_featureslist.Partition opening index rows cross-check
related_id_a/bagainstGlobal/ElemTableand attach provenance fields (still not typed Door/Window).rvt-inspectand the browser File Status surface production class histograms plus storey/material totals. Docs, roadmap, and 2024 Core Interior count fixtures are updated to match the honest baseline.Reviewed by Cursor Bugbot for commit 1010523. Configure here.