Skip to content

Viewer storey grouping + material name File Status (#33/#34) - #143

Merged
DrunkOnJava merged 5 commits into
mainfrom
cursor/viewer-levels-materials-67f9
Aug 29, 2026
Merged

DrunkOnJava merged 5 commits into
mainfrom
cursor/viewer-levels-materials-67f9

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Aug 29, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • M4-05: Recover levels and storey assignment #33 leftover: Viewer scene tree groups under recovered IFCBUILDINGSTOREY nodes with elevation + element counts; File Status Spatial lists storey names (not counts only). Floors/Rooms stay under honest Unassigned until Level ElementId bind.
  • M4-06: Recover materials and compound assemblies #34 partial: File Status Materials lists capped display-name samples; diagnostics gain storey_names / material_names_sample; Einhoven material count fixture becomes a decoder baseline (41±5). Compound assemblies / colors still open.
  • rvt-inspect prints storey names + material samples.

Out of scope (documented on issues)

Test plan

  • Unit: exported_diagnostics_include_storey_and_material_name_samples
  • Corpus: project_count_fixtures with RVT_PROJECT_CORPUS_DIR
  • Manual: Einhoven in viewer — scene tree storeys + File Status Spatial/Materials

Note

Low Risk
Mostly viewer UI, diagnostics JSON fields, and documentation; no changes to decode/export core logic beyond populating diagnostic samples.

Overview
Extends IFC export diagnostics with storey_names and a capped material_names_sample (12 names), wired through the JSON schema, exported_model_diagnostics, rvt-inspect text output, and the viewer’s diagnostics panel.

The browser viewer now surfaces that data in File Status: Spatial lists storey counts plus recovered names; Materials shows display-name samples with an honest “names only; no compound layers” note. The scene tree styles IFCPROJECT / IFCBUILDINGSTOREY rows (elevation, element counts, Unassigned when Level ElementId bind is missing) and aligns the client IfcModel shape with the Rust serializer (building_storeys, materials).

Einhoven gains a corpus decoder baseline for material count (41±5 on diagnostics.exported.material_count). Docs (ROADMAP, status.md) and Playwright regressions were updated to match.

Reviewed by Cursor Bugbot for commit 398dfc0. Configure here.

cursoragent and others added 2 commits August 29, 2026 12:53
…terial names

File Status and diagnostics now list recovered storey names and a capped
material display-name sample (#33 leftover / #34 partial). Scene-tree
storey nodes show elevation and element counts; Floors/Rooms stay under
Unassigned until Level ElementId bind. Einhoven material count fixture
gains a decoder baseline.

Co-authored-by: DrunkOnJava <[email protected]>
When any storey has a non-zero ArcWall elevation, label Level 1 at 0.0 ft
as elev 0.000 rather than elev unresolved/0 (name-only 2024 path).

Co-authored-by: DrunkOnJava <[email protected]>
cursoragent and others added 3 commits August 29, 2026 12:58
Unblocks CI after main landed the probe with ranked.get(0).

Co-authored-by: DrunkOnJava <[email protected]>
Diagnostics previously derived the count from IFC BuildingElement rows
minus ArcWalls, which drifted from Python decoded_elements()/element_counts
once Levels/Materials/Floors entered production iter_elements without all
becoming building elements. Sum production_class_counts instead.

Co-authored-by: DrunkOnJava <[email protected]>
production_walker_elements already includes ArcWalls from iter_elements.
Update regression expectations: missing_level warnings remain for
Unassigned Floor/Room rows until Level ElementId bind.

Co-authored-by: DrunkOnJava <[email protected]>
@DrunkOnJava
DrunkOnJava merged commit 01091e7 into main Aug 29, 2026
24 checks passed
@DrunkOnJava
DrunkOnJava deleted the cursor/viewer-levels-materials-67f9 branch August 29, 2026 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants