Skip to content

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
DrunkOnJava merged 10 commits into
mainfrom
fix/1746-two-mitred-ends
Nov 11, 2026

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Nov 11, 2026 •

Copy link
Copy Markdown
Owner

Summary

A prism with two mitred end faces now gets the area of the faces along it plus both end faces as its NetSurfaceArea where RE-268 keeps both ends (kept 2), and none where kept is 0 or 1 (which contradicts that a mitred end always counts). mullion_surface_area returned 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 known kept and 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 more NetSurfaceArea values 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_area with kept 2. Rows registered on #1636 before the run was read: #1636 (comment).

Changes

  • src/ifc/mesh_volume.rs: mullion_surface_area accepts two mitred ends where kept is 2; a pure-helper test of it (none for kept 0 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 with kept 0 and 1 are none, with 2 the whole surface). Verified end to end on real files:

  • full / CI passed on the final head
  • Unfiltered Measure of the change against RE-432's head 4e83ba2e, every flag, keep_ifc (43063558746, head 46db8574, kept under refs/archive/2026-11-11/cited/46db857440d4):
    • Quantity census, the 42 models with a Revit export: Revit's quantities 173,840 each side; equal 154,623 to 155,151 (+528); missing 19,184 to 18,656; different 33 to 33; the property census does not move. Concrete office as built 36,329 to 36,460 of 39,754 equal, 1 different; at permit 36,688 to 36,819 of 40,006, 1; timber office as built 30,703 to 30,837 of 33,800, 3; at permit 30,297 to 30,429 of 33,663, 23. All of it is Qto_MemberBaseQuantities.NetSurfaceArea: +131, +131, +134 and +132, the counts the debug build predicted; different 0, 0, 2 and 6 before and after.
    • 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 528 elements differ, each a mullion that gains NetSurfaceArea in the set it holds, nothing removed or changed; the only entity count that moves is IfcQuantityArea, by 528.
    • same-project gates pass on the measured head.
    • Left out, counted: the 615 mullions of the concrete office as built that still have no value stay without: 595 whose kept is 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).
  • The debug build (Measure 43062004581, commit 04524fc4, kept under refs/archive/2026-11-11/cited/04524fc48c8f): the refusal stage of every mullion of the office as built and the timber office as built.
  • Not timed: no new read; one branch added to a helper.

Audit-honesty checklist

  • A user-visible change has its entry as a fragment under changelog.d/added/.
  • docs/release-1.0-criteria.md states the offices' quantities after the change.
  • No emojis, no private paths in committed files.
  • Reverse-engineering finding: a dated report is 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 #1746. Refs #1046, #1636, #1735.

…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)
…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
DrunkOnJava merged commit 3982642 into main Nov 11, 2026
36 checks passed
@DrunkOnJava
DrunkOnJava deleted the fix/1746-two-mitred-ends branch November 11, 2026 18:17
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: 151 mullions with a partner bent off the axis have Revit's value and none from rvt-rs

1 participant