Skip to content

fix(elements): a curtain mullion that lies over another one, or meets a short one, is read like the others, 926 more NetSurfaceArea values on the office (#1046) (RE-400) - #1651

Merged
DrunkOnJava merged 5 commits into
mainfrom
fix/1046-mullion-ends-overlap
Nov 10, 2026
Merged

DrunkOnJava merged 5 commits into
mainfrom
fix/1046-mullion-ends-overlap

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

Summary

RE-268 left 1,189 of the BIM4LCA office's 7,795 mullions out of its NetSurfaceArea rule (1,187 of 7,823 at permit) and its own table said its reading would have been Revit's on 1,182 and wrong on 7 of them. Split by what the neighbour is, 159 mullions with another lying over an end and 767 that meet only a mullion shorter than their section are Revit's on every one. They are now read: 926 more values as built (924 at permit), none different where Revit writes the value (the office's export writes it on every mullion). The 263 that still get 7 wrong stay out. Unfiltered Measure 42889843144 read: 7 exports move (the two office files and 5 Autodesk samples that have no Revit NetSurfaceArea to score), 111 are byte-identical, census regressions 0, same-project gates pass.

Motivation

Qto_MemberBaseQuantities.NetSurfaceArea is the largest bucket of the W7 census still missing on the office (3,397 of 6,572 missing as built). RE-268's cascade was the conservative reading of 7 wrong cases among 1,189; the data in RE-400 says which of the 1,189 can be claimed without a wrong one. #1046, #1016.

Changes

  • src/research/partition_schema_mvp/mullion_ends.rs: kept_ends reads a mullion with another lying over an end on its own (it still keeps its neighbours out), and a mullion shorter than its section is no longer a reason to leave a neighbour out. The short-margin constant goes.
  • tools/re/mullion_ends_vs_boxes.py: mirrors the rule and prints the mullions written by what the rule read, with the curtain walls they stand on.
  • reports/element-framing/RE-400-mullion-ends-overlap.md, changelog.d/added/400-mullion-ends-overlap.md, docs/status.md.

Testing

No unit tests. Measured end to end on the office as built and at permit (Revit 2024, CC BY-SA 4.0, fetched by Measure):

  • the split of RE-268's cascade: run 42885661997 (scratch scorer commit 0b106c9fb353, kept under refs/archive/2026-11-10/cited/);
  • this change's scorer and census, saved meshes off so the scorer reads the extruded boxes: run 42886890399: NetSurfaceArea equal 6,604 to 7,530 of 7,795 as built and 6,634 to 7,558 of 7,823 at permit, different 0, on 106 curtain walls (short neighbour) and 40 (overlapped); the census reads 7,532 of 10,003 and 7,560 of 10,031 equal, different 0;
  • unfiltered, this change at f1eb3dae against its parent 38dff86c (-f nordic -f r2025 -f samples -f racadv -f bimcollab -f holdout): run 42889843144: the office's NetSurfaceArea equal 6,606 to 7,532 of 10,003 as built and 6,636 to 7,560 of 10,031 at permit, different 0; whole census equal 33,181 to 34,107 and 33,509 to 34,433, different 1 and 1 (RE-243's mullion Length, unchanged); 7 exports move (the office pair and 5 Autodesk samples), the other 111 byte-identical (my first dispatch used base=main after fix(ifc): an IfcPlateType is written with no Tag, since Revit's is a plate's ElementId in an order no record gives (#1594) #1641 landed and was confounded by it, so it was cancelled).

The rule rests on the office, the one model whose Revit export writes a mullion's NetSurfaceArea (Snowdon Towers Architectural's local export holds 1,625 mullions and no Qto_MemberBaseQuantities; RE1 Architecture's export was made with base quantities off). The report says so.

  • tools/check-local.sh: not run locally (no local builds here); CI builds it
  • Verified end to end on real Revit files, against Revit's own export: the runs above

Audit-honesty checklist

  • Docs state only what ships: the criteria page entry is added when the unfiltered run reads
  • Changelog fragment under changelog.d/added/
  • Limitations in the report: one project, the 263 left out, the 2,208 mullions Revit does not draw as an extrusion
  • No emojis, no private paths

Legal and contribution hygiene

  • Apache-2.0; no Autodesk source (the rule is read from the file's own boxes; revit-ifc is not read again)

Breaking changes

None.

… a short one, is read like the others (#1046) (RE-400)

RE-268 left out a mullion with an end another mullion lies over (159 of 159 right on the office) and every neighbour of a mullion shorter than its section (767 of 767 right). The overlapped mullion is read on its own and still keeps its neighbours out; a short mullion is no reason to leave a neighbour out.
…, and the widened rule's NetSurfaceArea on the office (#1046) (RE-400)
@DrunkOnJava
DrunkOnJava marked this pull request as ready for review November 10, 2026 20:23
@DrunkOnJava
DrunkOnJava merged commit 0bb8067 into main Nov 10, 2026
64 checks passed
@DrunkOnJava
DrunkOnJava deleted the fix/1046-mullion-ends-overlap branch November 10, 2026 20:39
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.

1 participant