Skip to content

fix(ifc): a continuation bent off a mullion's axis does not hide its end face, so the 8 NetSurfaceArea values one end short on the BIM4LCA office are Revit's (#1735) (RE-432) - #1739

Merged
DrunkOnJava merged 5 commits into
mainfrom
fix/1735-mullion-bent-partners
Nov 11, 2026

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Nov 11, 2026 •

Copy link
Copy Markdown
Owner

Summary

A continuation bent off a mullion's axis no longer hides its end face: a partner counts only where it coincides with the end (a cosine above 0.99999, about a quarter of a degree), in RE-268's kept-ends rule on the boxes and in RE-404's partner check on the meshes. The 8 Qto_MemberBaseQuantities.NetSurfaceArea values one end face short on the BIM4LCA office (#1735; the census read 9 different, the criteria page 1) all have one end whose partner is bent off the axis by 1.8 to 2.2 degrees, and Revit's own solid leaves out no end face on any of the 159 office mullions that have a bent partner, so their ends count. The 8 read equal to Revit's on the concrete office as built and at permit (9 different quantities to 1 each, the older Length of mullion 3027671 being the one left), and on the timber office 7 of 9 as built and 5 of 11 at permit; 4 of 126 exports move and 122 are byte-identical, and the only elements that change are 30 mullions' NetSurfaceArea (29 changed, 1 added).

Motivation

#1735: RE-404 (NetSurfaceArea from the saved mesh) was measured against RE-418's head, which holds no RE-421 (oriented-box mullions offered the saved mesh), and RE-421 without RE-404, so the pair landed unmeasured; of the 91 values RE-404 writes on the mullions RE-421 newly meshes, 83 are equal and 8 are one end face short. Rows registered on #1636 before the run was read: #1636 (comment).

Changes

  • src/research/partition_schema_mvp/mullion_ends.rs: COLLINEAR (0.99999); a neighbour that runs the same way with an end at the point and its body beyond is a partner only above it; a pure-helper test of kept_ends for a continuation bent by two degrees, none, and a hundredth of a degree.
  • src/ifc/mesh_volume.rs: PARTNER_COSINE 0.999 to 0.99999; a pure-helper test of partner_ends for the same pair.
  • tools/re/mullion_bent_partners.py, reports/element-framing/RE-432-mullion-bent-partners.md, docs/release-1.0-criteria.md (the office's totals re-read after the change), docs/format-reconnaissance.md, docs/status.md, changelog.d/fixed/1735-mullion-bent-partners.md.

Testing

Unit tests are banned in this repository except a few failure-first tests of pure helpers: two, for partner_ends and kept_ends (a continuation bent by two degrees is no partner, one a hundredth of a degree off is). Verified end to end on real files:

  • full / CI passed on the final head
  • Unfiltered Measure of the change against main dae660b8, every flag, keep_ifc (43054102602, head a614153c, kept under refs/archive/2026-11-11/cited/a614153c142c):
    • Quantity census, the 42 models with a Revit export: Revit's quantities 173,840 each side; equal 154,594 to 154,623 (+29); missing 19,185 to 19,184; different 61 to 33. Concrete office as built 36,321 to 36,329 of 39,754 equal, 9 different to 1; at permit 36,680 to 36,688 of 40,006, 9 to 1; timber office as built 30,696 to 30,703 of 33,800, 10 to 3; at permit 30,291 to 30,297 of 33,663, 28 to 23. All of it is Qto_MemberBaseQuantities.NetSurfaceArea (equal 32,702 to 32,731, different 36 to 8). The property census does not move.
    • What moves: 4 of 126 exports (the four office files); the other 122, the held-out, Revit 2025 and Autodesk models among them, are byte-identical. On the 4 pairs (tools/re/ifc_element_diff.py) no element is added or removed and 30 elements differ, each a mullion whose NetSurfaceArea is changed (29) or added (1); the only entity count that moves is IfcQuantityArea, by 1.
    • same-project gates pass on the measured head.
    • Not fixed here, filed: the 151 other mullions that have a bent partner and a Revit value get none from rvt-rs, as before (Mullion NetSurfaceArea: 151 mullions with a partner bent off the axis have Revit's value and none from rvt-rs #1746); the timber office's 2 as built and 6 at permit one end face short have no bent partner (Mullion NetSurfaceArea: 2 values one end face short on the timber office as built and 6 at permit #1745).
  • The scorer on the office as built exported as boxes (Measure 43049477290): 159 mullions have a partner bent by 1.8 degrees or more (20 with one bent end, 139 with two), no end has a partner between 0.01 and 1 degrees, and Revit leaves out 0 end faces on all 159.
  • Not timed: no new read; two constants change.

Audit-honesty checklist

  • A user-visible change has its entry as a fragment under changelog.d/fixed/.
  • docs/release-1.0-criteria.md states the office's quantities after the change, and docs/status.md the rule.
  • No emojis, no private paths in committed files.
  • Reverse-engineering finding: a scorer and a dated report are included.

Legal and contribution hygiene

  • Apache-2.0. No Autodesk proprietary source, internals or NDA material.
  • No new test fixtures.

Breaking changes

None.

Related issues

Fixes #1735. Refs #1046, #1636, #1745, #1746.

…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)
@DrunkOnJava
DrunkOnJava merged commit 7c756a5 into main Nov 11, 2026
36 checks passed
@DrunkOnJava
DrunkOnJava deleted the fix/1735-mullion-bent-partners branch November 11, 2026 17:03
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.

Mullion NetSurfaceArea: 8 values one end face short where RE-404's rule meets the mullions RE-421 newly meshes

1 participant