Repository navigation
fix(ifc): a curtain mullion or panel drawn as its oriented box is offered the saved mesh Revit kept for it, and says why where it keeps the box (#1689) (RE-421) - #1696
Merged
Conversation
Owner
Author
|
Second read, the cost of the pass this change sends more bodies through: Measure's timing job, run 42968376230, this PR's head
So the change costs nothing measurable beyond the 0.18.0 figures, and the cost bullet of the next release notes needs no new line for it. Approving the head |
This was referenced Nov 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A curtain mullion or panel that RE-106 draws as the box along its own axes (
BodySourcepartition_family_instance_oriented_box) was never offered the saved-mesh pass and never carried aSavedMeshRefusal:saved_meshes::is_replaceable_boxlisted the record box, a beam's box and a turned box, not this one. It now takes it. On Revit 2023 to 2027 the body becomes the mesh Revit saved where all of the mesh decodes; where it does not, or on any other release, the element keeps its box and says why.On the BIM4LCA office the 325 (concrete) and 327 (timber) oriented boxes go to 2 and 1,
Qto_MemberBaseQuantities.NetVolumereads equal to Revit's on 323 and 326 more mullions of each office (10,001 of 10,003 and 7,875 of 7,876 as built), none different, and the boxes left carrypartial: disconnected UV boundary. Autodesk'srac_advancedof 2023 to 2027 draws all 148 of its oriented boxes from their meshes and Snowdon Towers Architectural all 1,019; on Revit 2015 to 2022 the boxes stay boxes and now saynot_offered: release_outside_2023_to_2027.Closes #1689.
Motivation
#1689 (the gap), #1645 (every box says why, which 0.18.0 stated as true of every box but this one), #1636 (second-project measurement); follows RE-106 (oriented curtain boxes), RE-403 (a mullion's box is not its solid), RE-404 and RE-418 (what the mesh gives a mullion). The row was registered on #1636 before any run was read: #1636 (comment).
Changes
src/ifc/saved_meshes.rs:is_replaceable_boxalso takesINSTANCE_ORIENTED_BODY_SOURCE.docs/export-diagnostics.md: the sentence that said an oriented box "has none yet" now lists it with the other boxes that stay boxes with a reason.changelog.d/changed/1689-oriented-box-mullions-offered-saved-mesh.mdand report RE-421.Testing
Measured end to end on the Measure runner (no local builds here; CI builds the change), and read against the rows registered on #1636 above:
unfiltered run 42961457553 (head
f2e6cb11, kept underrefs/archive/2026-11-11/cited/f2e6cb11c016, against979ec428, every flag, 126 models each side): 102 exports byte-identical and 24 move, the office's four files, the sixracadvmodels of 2015 to 2020 and 14 Autodesk samples. The housing's files, Core Interior, Einhoven, RE1 and the 18 held-out models are unchanged (none holds an oriented box; the registered row expected some of them to). No line ofqtos_vs_ifcorpsets_vs_ifcof any model gains adifferent.same-project gatespassed;run 42964821937,
tools/re/mullion_profiles_vs_ifc.py: 132 of the concrete office's 166 mullions and 142 of the timber one's 173 whose body was not Revit's now read "body Revit's"; none that was written with Revit's body is not any more (the 7,560 and 5,292 fully equal stay so). The 34 and 31 that still differ include 32 and 29 whose mesh is Revit's body to within 1.2e-5, past the scorer's 1e-5;run 42964819358 kept both sides' exports of the 58 samples;
tools/re/ifc_element_diff.pyover the 14 that move finds only the oriented-boxIfcMemberandIfcPlatechanging (SavedMeshRefusaladded on 2015 to 2022,BodySourceandNetVolumeon 2023 to 2027), no element added or removed.tools/check-local.sh: not run locally (no local builds here); CI builds and tests itVerified end to end on real Revit files: the runs above
If this touches the IFC exporter: the runs above, and the report states what it does not touch (Revit 2015 to 2022, which keep the boxes with a reason)
Audit-honesty checklist
docs/export-diagnostics.md, the fragment and the report describe this change)changelog.d/changed/Legal and contribution hygiene
Breaking changes
None: no public type or signature changes; an oriented-box mullion or panel of Revit 2023 to 2027 is drawn as a mesh, and every one that is not says why.