Skip to content

Mullions and panels drawn as their oriented box (RE-106) are never offered the saved-mesh pass and carry no SavedMeshRefusal: 327 on the BIM4LCA timber office at permit, 325 on the concrete one #1689

Closed

Description

@DrunkOnJava

Found by rvtDevelop while reading #1682 against the measurement on #1645: the saved-mesh pass is never offered a curtain mullion or panel that rvt-rs draws as its oriented box.

What happens. BodySource partition_family_instance_oriented_box (INSTANCE_ORIENTED_BODY_SOURCE, RE-106: a mullion or panel turned or tilted off the model's axes) is not one of the three sources saved_meshes::is_replaceable_box takes (the record's box, a beam's box, a turned box). So the pass is not offered the element, exported.bounding_box_bodies does not count it, and it has no SavedMeshRefusal at all.

How many. On the BIM4LCA timber office at permit 327 mullions carry that source (the 7,545 others are saved_graphics_mesh, one is a record box with no_saved_mesh); the concrete office at permit has 325. They are the mullions whose NetVolume is missing (325 and 327 in qtos_vs_ifc), the 166 and 173 whose body is not Revit's: Revit's solid for them has mitred ends and rvt-rs's oriented box is a prism with two flat ends (e.g. 3024611, area 0.02517 against 0.02500).

What it breaks. "Every box has a reason on every release", which #1682 closed #1645 on, holds for record boxes, beam boxes and turned boxes only. My row 4 on #1645 counted bounding_box_bodies, which has the same three sources, so the run could not show the gap. The 0.18.0 notes and the diagnostics reference say so.

Candidate fix. Add the source to is_replaceable_box and measure: the pass then draws these from their meshes where they decode whole and refuses with a reason where they do not. Expected gain on each office file: about 325 to 327 NetVolume values, their Length and NetSurfaceArea, and bodies that are Revit's. rvtDevelop takes it (RE-421); its measurement is the first thing to read on it.

Activity

  1. added
    area:geometry
    area:ifc
    priority:P2
    type:bug
    on Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:geometryarea:ifcpriority:P2type:bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions