Repository navigation
fix(ifc): a mullion overlapped at its far end does not leave out the mullions at its near end (#1803) - #2024
Merged
Merged
Conversation
…mullions at its near end (#1803)
DrunkOnJava
marked this pull request as ready for review
November 14, 2026 23:41
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
The RE-441 exception that leaves out a mullion beside an overlapped one (an end with no partner, where an overlapped mullion's axis lies on that end's plane, "a vertical standing on the face of a bar") now counts the overlapped mullion only where its end nearest the point is the end that is lain over. The vertical 3027086 of the BIM4LCA timber office at permit is overlapped only at its foot. In its newest frame, which RE-444 keeps, the foot lies 0.164 ft inside the mullion below it, and the trace reads
PAR_INthere. Its top is under the joint of the 0.1 m pieces 3028901 and 3028902. Their chain bends, so neither end has a partner, so RE-441's exception left both out, and they lost theNetSurfaceAreathatmainwrote equal to Revit's before #1799. Closes #1803 if the Measure holds.Motivation
#1803 asked which end test the two pieces fail with 3027086's newest frame. The trace (scorer
mullion_ends_vs_boxeswith a tag trace, branchresearch/1803-mullion-trace, Measure 43650076310,--no-saved-meshesso the boxes are written, timber office at permit on8529bb01) shows:PERP_FACEandPAR_IN, PERP_FACEand is overlapped. End 1, the foot, lies inside 3028434's box.NEAR_FEET), and each is left out as "an end meets one left out or overlapped".doubtful) that applies.With the old frame, 3027086 was not overlapped, and the plain rule (no partner, no centre, both ends kept) gave Revit's value on both pieces.
Changes
src/research/partition_schema_mvp/mullion_ends.rs: the rule records which ends of each overlapped mullion are lain over, anddoubtfultakes an overlapped mullion only by its end nearestp. The module doc says so.changelog.d/fixed/1803-overlapped-end.md.Testing
Measure 43650837777,
d9e44803against8529bb01, unfiltered with samples, nordic, r2025 and holdout:ifc.sha256116 of 120 equal. The four that differ are the BIM4LCA office in concrete and in timber, as built and at permit, all one project.diagnostics.jsonis 102 of 102 equal, andsame-project gatespass (15 samples held). The only scorer lines that move are mullionQto_MemberBaseQuantities.NetSurfaceArea, withdifferent0 before and after on every file:Row 1 holds, and more widely than registered: 4 mullions in each office file, 16 values, not only 3028901 and 3028902. Rows 2 and 3 hold:
differentdoes not rise anywhere, and nothing else moves. The narrowing rests on this one project, which the RE-441 row ofdocs/one-project-rules.mdalready covers.The head after it adds one pure-helper test beside the module's others (a vertical overlapped only at its foot, two bars on its top meeting over its axis with no partner; it fails on the code before this change), and fixes the fragment's count. Neither changes what the export does.
tools/check-local.sh: CI runs itAudit-honesty checklist
Legal and contribution hygiene
Breaking changes
None.