Repository navigation
feat(ifc): a mullion with two mitred ends and both kept gets the whole surface as its NetSurfaceArea, which is Revit's on the bent-joint mullions of the BIM4LCA offices (#1746) (RE-433) - #1747
Merged
Conversation
…end face, so the 8 NetSurfaceArea values one end short on the BIM4LCA office are Revit's (#1735) (RE-432)
…es are equal on both concrete office files, 7 of 9 and 5 of 11 on the timber office, 30 values change and nothing else (#1735) (RE-432)
# Conflicts: # docs/status.md
…e surface as its NetSurfaceArea, which is Revit's on the bent-joint mullions of the BIM4LCA offices (#1746) (RE-433)
…eArea across the four office files, each Revit's, none different (#1746) (RE-433)
DrunkOnJava
marked this pull request as ready for review
November 11, 2026 17:50
…left out by RE-268, 18 with no record axis and 2 with no saved mesh (#1746) (RE-433)
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 prism with two mitred end faces now gets the area of the faces along it plus both end faces as its
NetSurfaceAreawhere RE-268 keeps both ends (kept2), and none wherekeptis 0 or 1 (which contradicts that a mitred end always counts).mullion_surface_areareturned none for two mitred ends, which a bent joint at each end makes, so the 131 mullions of the BIM4LCA concrete office as built (131 at permit, 134 and 132 on the timber office) that have a bent partner, a knownkeptand a Revit value got none even after RE-432 counts their ends right; Revit's own solid leaves out no end face of any of them. They now read equal to Revit's: 528 moreNetSurfaceAreavalues across the four office files, none different. 4 of 126 exports move and 122 are byte-identical; the only elements that change are 528 mullions that gain the value.Motivation
#1746. A debug build of RE-432's head that prints each mullion's refusal stage (Measure run 43062004581) said all 131 are refused at
mullion_surface_areawithkept2. Rows registered on #1636 before the run was read: #1636 (comment).Changes
src/ifc/mesh_volume.rs:mullion_surface_areaaccepts two mitred ends wherekeptis 2; a pure-helper test of it (none forkept0 and 1, the whole surface for 2).reports/element-framing/RE-433-mullion-two-mitred-ends.md,docs/release-1.0-criteria.md(the offices' totals re-read after the change),changelog.d/added/1746-mullion-two-mitred-ends.md.Testing
Unit tests are banned in this repository except a few failure-first tests of pure helpers: one, for
mullion_surface_area(two mitred ends withkept0 and 1 are none, with 2 the whole surface). Verified end to end on real files:full / CI passedon the final head4e83ba2e, every flag,keep_ifc(43063558746, head46db8574, kept underrefs/archive/2026-11-11/cited/46db857440d4):Qto_MemberBaseQuantities.NetSurfaceArea: +131, +131, +134 and +132, the counts the debug build predicted; different 0, 0, 2 and 6 before and after.tools/re/ifc_element_diff.py) no element is added or removed and 528 elements differ, each a mullion that gainsNetSurfaceAreain the set it holds, nothing removed or changed; the only entity count that moves isIfcQuantityArea, by 528.same-project gatespass on the measured head.keptis none (RE-268 leaves them out; 18 of them have a bent partner), 18 whose record names no axis and 2 with no saved mesh (read on the debug build's log, run 43062004581).04524fc4, kept underrefs/archive/2026-11-11/cited/04524fc48c8f): the refusal stage of every mullion of the office as built and the timber office as built.Audit-honesty checklist
changelog.d/added/.docs/release-1.0-criteria.mdstates the offices' quantities after the change.Legal and contribution hygiene
Breaking changes
None.
Related issues
Fixes #1746. Refs #1046, #1636, #1735.