Skip to content

fix(ifc): a mullion overlapped at its far end does not leave out the mullions at its near end (#1803) - #2024

Merged
DrunkOnJava merged 2 commits into
mainfrom
fix/1803-overlapped-end
Nov 15, 2026
Merged

DrunkOnJava merged 2 commits into
mainfrom
fix/1803-overlapped-end

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Nov 14, 2026 •

Copy link
Copy Markdown
Owner

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_IN there. 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 the NetSurfaceArea that main wrote 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_boxes with a tag trace, branch research/1803-mullion-trace, Measure 43650076310, --no-saved-meshes so the boxes are written, timber office at permit on 8529bb01) shows:

  • 3027086 has labels PERP_FACE and PAR_IN, PERP_FACE and is overlapped. End 1, the foot, lies inside 3028434's box.
  • 3028901 and 3028902 have empty end labels, so no partner and nothing hides an end. Each has 3027086 at 0.08202 ft from an end (within NEAR_FEET), and each is left out as "an end meets one left out or overlapped".
  • The scorer's own left-out step is the older RE-268 form. The export follows the Rust rule, where it is RE-441's second exception (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, and doubtful takes an overlapped mullion only by its end nearest p. The module doc says so.
  • changelog.d/fixed/1803-overlapped-end.md.

Testing

Measure 43650837777, d9e44803 against 8529bb01, unfiltered with samples, nordic, r2025 and holdout: ifc.sha256 116 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.json is 102 of 102 equal, and same-project gates pass (15 samples held). The only scorer lines that move are mullion Qto_MemberBaseQuantities.NetSurfaceArea, with different 0 before and after on every file:

file equal missing
concrete as built 9,892 to 9,896 111 to 107
concrete at permit 9,920 to 9,924 111 to 107
timber as built 7,755 to 7,759 121 to 117
timber at permit 7,751 to 7,755 121 to 117

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: different does not rise anywhere, and nothing else moves. The narrowing rests on this one project, which the RE-441 row of docs/one-project-rules.md already 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 it
  • End to end: Measure

Audit-honesty checklist

  • Changelog fragment (its wording is settled once the Measure reads)
  • No emojis, private paths or jargon

Legal and contribution hygiene

  • Apache-2.0; no Autodesk proprietary source; no fixtures

Breaking changes

None.

@DrunkOnJava
DrunkOnJava marked this pull request as ready for review November 14, 2026 23:41
@DrunkOnJava
DrunkOnJava merged commit 8c08305 into main Nov 15, 2026
65 checks passed
@DrunkOnJava
DrunkOnJava deleted the fix/1803-overlapped-end branch November 15, 2026 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Timber office at permit: mullions 3028901 and 3028902 lose their NetSurfaceArea once a neighbour keeps its newest frame (RE-444)

1 participant