Skip to content

Viewer: the Schedule panel and the info panel take each element's level from the writer's placement (#1417 follow-up) #1422

Closed

Description

@DrunkOnJava

From #1417 (PR #1421).

#1412 made the IFC writer's placement decision public (step_writer::placements, storey_of), and the MCP server, the diagnostics' storey_bound_elements, the schedule's room rows and, with #1421, the elements CSV read it: a stair or railing part is on its whole's storey, an element in a room on the room's storey, an opening on its host's, and a piece folded into another element's body is not a row.

The viewer's Schedule panel (build_schedule, src/ifc/scene_graph.rs) and the element info panel (element_info_panel) still take an element's level from its own storey_index and list folded pieces. So the panel can show a level the IFC does not put the element on, and rows the IFC does not write, while the "Download element schedule (CSV)" button in the same viewer gives the written placement.

Done when: both panels take each element's level from placements/storey_of and leave folded pieces out, as the CSV does; the change is checked in the viewer on the BIM4LCA office (rows whose level moves, rows removed) and on Einhoven, where the Playwright pins stay or move with a dated note; docs/viewer-api.md says what the level is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:viewerpriority:P3type:bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions