Skip to content

feat(ifc): the mullions beside an overlapped mullion are read like any other, but for those with a mullion across centred on an end or an overlapped axis on the plane of a free end, and the offices gain 353 and 320 values equal to Revit's (#1794) (RE-441) - #1795

Merged
DrunkOnJava merged 16 commits into
mainfrom
feat/1794-overlapped-neighbours
Nov 12, 2026

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Nov 11, 2026 •

Copy link
Copy Markdown
Owner

Summary

RE-400 left a curtain mullion out whenever an end lay within 6 cm of the box of a mullion that was left out or overlapped (another lies over it). Read offline from the second debug build of RE-438, the 314 mullions of the BIM4LCA concrete office as built and the 280 of the timber office whose only unread neighbours are overlapped ones get Revit's kept count from the rule on 312 and 272, Revit giving the other 2 and 1 no value (3029185 and 3029301); the rule is wrong on 7 of the timber office's, of two kinds: a mullion across centred on an end (3 of 28), and an end with no partner where an overlapped vertical standing on the bar has its axis on the plane of the end (4 of 4, none of the 216 chain ends without one). The mullions beside an overlapped mullion are now read like any other except those two kinds; the neighbours of a mullion left out stay unread.

What moves (Measure 43115049478, unfiltered with keep_ifc and the held-out pairs, eb0fcdb1 against #1791's head 4c2bb990; the same-project gates pass): 126 exports, 109 identical and 17 differ, by Qto_MemberBaseQuantities.NetSurfaceArea of an IfcMember alone, added and never changed, no element added or removed.

NetSurfaceArea of the offices: equal, different, missing #1791 this change
concrete office as built 9,530, 0, 473 9,883, 0, 120
concrete office at permit 9,558, 0, 473 9,911, 0, 120
timber office as built 7,429, 0, 447 7,749, 0, 127
timber office at permit 7,313, 1, 558 7,629, 1, 242

The quantity census's equal rises by 1,342 (155,876 to 157,218) with different unchanged at 26 and rvt-rs values Revit does not write unchanged at 29; the property census does not move. The offline count (279 and 242 on the offices as built) is written in full, and 74 and 78 more, equal to Revit's too: the released mullions of #1791's 36 that lie beside overlapped mullions only, and the neighbours of the mullions RE-438 released. Thirteen exports with no Revit export to meet gain 562 values of the same rule: rac_advanced 122 a save, rme_advanced and rme_basic 3 a save, Snowdon Towers Architectural 50.

Motivation

#1794 (the neighbours of overlapped mullions were most of the 473 and 447 mullions of the two offices that still had no NetSurfaceArea, the largest single gap of either quantity census) and #1046 (W7).

Changes

  • src/research/partition_schema_mvp/mullion_ends.rs: kept_ends_with_partners reads a mullion beside an overlapped mullion unless a mullion across is centred on one of its ends or an end with no partner has the axis of an overlapped mullion on its plane (centred_on_end_plane); three failure-first tests of the pure function (a stub beside an overlapped pair is read when the pair's axes lie at its side face and left out when one is centred on the plane of its free end; a mullion with a bar centred on an end is read alone and left out beside the pair; a mullion beside one left out is still not read).
  • reports/element-framing/RE-441-mullions-beside-overlapped-mullions.md, the reconnaissance addendum, the criteria entry, docs/status.md and changelog.d/fixed/1794-mullions-beside-overlapped-mullions.md.

Testing

Not done

  • 120 (concrete) and 127 (timber) mullions of the offices as built still have no value: the 19 and 23 with a lone inside end, the 18 with no axis, the mullions with a mullion across centred on an end (29 and 28, 3 of them wrong), 4 and 8 free ends under an overlapped axis, those beside a mullion still left out, and 17 of the concrete office that the rule leaves unread for a reason the offline search does not find.
  • A test of the end face rather than its centre point is not tried (RE-268's 3 mm test of the point does not see a mullion standing on a bar's face).

Related issues

Refs #1794, #1790, #1767, #1046, #1636.

…ut, a partner with a mullion across inside is read, and a joint centred under a mullion across is hidden (#1767) (RE-438)
…and tabulates what Revit does at each end (#1767) (RE-438)
… exports move, the offices gain 107 to 108 NetSurfaceArea values, 3 of the 4 different at permit are Revit's (#1767) (RE-438)
… one, so a continuation the boxes missed at an end they kept with none is refused whatever lies at the other (#1790) (RE-439)

The count rule subtracted the kept ends the boxes saw a partner at from the partner ends the mesh finds, so a partner the mesh missed at one end and a continuation on another wall it found at the other cancelled. The boxes now say which of the two ends is kept with a partner (the -axis end first), the mesh's two ends, which come in the order their planes were found, are told by the side of the record axis each lies on, and only a mesh partner at an end the boxes did not see one at is missed. Ends with no length between them are not told apart and count as missed.
# Conflicts:
#	src/research/partition_schema_mvp/mullion_ends.rs
…y other, but for those with a mullion across centred on an end or an overlapped axis on the plane of a free end (#1794) (RE-441)

RE-400 left a mullion out whenever an end lay within 61 mm of the box of a mullion that was left out or overlapped. Read offline, the rule gives Revit's kept count on 312 of the 314 mullions of the concrete office as built whose only unread neighbours are overlapped ones and on 272 of the timber office's 280, the rest having no value or being of two kinds: a mullion across centred on an end, and an end with no partner where an overlapped vertical standing on the bar has its axis on the plane of the end. Those two stay unread, as do the neighbours of a mullion left out. Failure-first tests of kept_ends_with_partners.
…rtner end is kept, none different, and the other 36 and 36 lie beside unread mullions (#1790) (RE-439)

Measure 43110403389, 4c2bb99 against main 6439e62: 5 of 126 exports move, only mullions' NetSurfaceArea. Corrects RE-438's report, criteria entry, reconnaissance addendum and fragment, which took the mesh path for the refusal of all 70 and 69.
… values beside overlapped mullions, none different (#1794) (RE-441)

Measure 43115049478, eb0fcdb against 4c2bb99: 17 of 126 exports move, only mullions' NetSurfaceArea; the offline count (279 and 242) is written in full with 74 and 78 more, equal to Revit's too.
@DrunkOnJava DrunkOnJava changed the title feat(ifc): the mullions beside an overlapped mullion are read like any other, but for those with a mullion across centred on an end or an overlapped axis on the plane of a free end (#1794) (RE-441) feat(ifc): the mullions beside an overlapped mullion are read like any other, but for those with a mullion across centred on an end or an overlapped axis on the plane of a free end, and the offices gain 353 and 320 values equal to Revit's (#1794) (RE-441) Nov 11, 2026
DrunkOnJava added a commit that referenced this pull request Nov 12, 2026
…partner end the boxes keep, and the offices gain 34 and 33 values equal to Revit's (#1790) (RE-439) (#1791)

## Summary

RE-404 draws a curtain mullion's
`Qto_MemberBaseQuantities.NetSurfaceArea` from its saved mesh and
refused every mullion with a kept count of 2 and a partner end, as it
could not tell a partner the boxes of the wall saw and kept (RE-438:
Revit counts a partner end where an oblique mullion or a mullion across
inside lies at it) from a continuation on another curtain wall that they
missed. The boxes now say which of a mullion's two ends is kept with a
partner (`KeptEnds`, the end at the box's `-axis` side first), the
mesh's two ends, which `prism_along` lists in the order the triangles
first meet them and not along the axis, are told by the side of the
record axis each lies on, and a mullion is refused only for a mesh
partner at an end the boxes did not keep with a partner. A subtraction
of counts would let a partner the mesh missed at one end and a
continuation it found at the other cancel (rvtReview's read of the first
commit), so the ends are told apart.

What moves (Measure 43110403389, unfiltered with `keep_ifc` and the
held-out pairs, `4c2bb990` against `main` at `6439e62f`; the
same-project gates and the semantic check pass): 126 exports, 121
identical and 5 differ, by `Qto_MemberBaseQuantities.NetSurfaceArea` of
an `IfcMember` alone, added and never changed, no element added or
removed.

| `NetSurfaceArea` of the offices: equal, different, missing | `main` |
this change |
|---|---|---|
| concrete office as built | 9,496, 0, 507 | 9,530, 0, 473 |
| concrete office at permit | 9,524, 0, 507 | 9,558, 0, 473 |
| timber office as built | 7,396, 0, 480 | 7,429, 0, 447 |
| timber office at permit | 7,280, 1, 591 | 7,313, 1, 558 |

The quantity census's equal rises by 134 (155,742 to 155,876) with
different unchanged at 26; the property census does not move;
`rac_advanced` does not move and Snowdon Towers Architectural gains 4
values (no Revit value to meet). Of the 70 (concrete) and 69 (timber)
mullions the rule releases with a kept partner end, 34 and 33 are
written, each equal to Revit's. The other 36 and 36 each lie beside a
mullion the rule leaves unread (28 and 28 beside overlapped mullions
only), which RE-438's report had taken for the mesh path's refusals:
#1794.

## Motivation

#1790 (found reading RE-438's Measure) and #1046 (W7).

## Changes

- `src/research/partition_schema_mvp/mullion_ends.rs`: `KeptEnds` and
`kept_ends_with_partners`; one failure-first test of the pure function
(the joint of two pieces is hidden and counts no kept end with a
partner, an oblique brace keeps it and each piece counts one, in the
`-axis`, `+axis` order).
- `src/ifc/mesh_volume.rs`: `partners_the_boxes_missed`, which tells the
mesh's ends by the side of the record axis and counts the partners not
at an end the boxes kept with one; three failure-first tests of the pure
function (the cancellation case, the mesh's ends listed against the axis
and the axis turned over, ends with no length between them).
- `src/research/partition_schema_mvp/curtain.rs`, `src/reader.rs`,
`src/ifc/saved_meshes.rs`: carry the kept ends with a partner to the
check.
- `reports/element-framing/RE-439-mesh-path-kept-partner-ends.md`, the
reconnaissance addendum, the criteria entry, `docs/status.md` and
`changelog.d/fixed/1790-mesh-path-kept-partner-ends.md`; RE-438's
report, entry, addendum and fragment, which took all 70 and 69 for the
mesh path's refusals, are corrected.

## Testing

- Unfiltered Measure 43110403389 read against the four rows registered
on #1636 ([comment
6807805750](#1636 (comment)),
read in [comment
6809106303](#1636 (comment))):
all hold, the first with a shortfall that the mesh path does not
explain.
- `4c2bb990` is archived as
`refs/archive/2026-11-11/cited/4c2bb990bf10`; the commits after it are
the report and docs, a doc comment and a merge of `main` (other pull
requests, each measured on its own); this change's source is as
measured. The change adds no read, so it is not timed.
- `full / CI passed` on the final head.

## Not done

- The 36 and 36 beside unread mullions and the 399 and 369 left out for
a neighbour: #1794 (RE-441, #1795).
- A slack the per-end check leaves and the first check had (a mullion
with one kept end and no partner the boxes saw, whose mesh misses the
boxes' partner at the hidden end and finds a cross-wall continuation at
the kept end): no value of the run is different, so none of the 67
written is in it.

## Related issues

Refs #1790, #1767, #1046, #1636, #1794.
…read are measured on the BIM4LCA offices (#1794) (RE-441)
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