Skip to content

RE-26 follow-up: 31 over-trimmed wall ends on 16 walls — join decision has no identified carrier #238

Closed

Description

@DrunkOnJava

RE-26 (PR #237) recovered Revit's wall-end join trims via element_record_wall_joins: each end is cut by half the thickness of the perpendicular recovered wall whose centreline lands on it. 689/720 ends are now correct, but 31 ends across 16 walls are over-trimmed — these walls were accidentally exact untrimmed, and the join rule cuts them anyway. Revit's per-pair join decision (allow/disallow join, butt vs mitre) has no identified carrier in the element records: the trimmed endpoints themselves are not stored (best fixed offset in the 4 KiB after all 638 wall records matches only 29/360).

The 16 walls are named in reports/element-framing/RE-26-world-coordinate-residuals.md. Finding the join-decision carrier (or a disqualifying geometric predicate) would take walls from 336/360 to 352/360 exact.

Measured on 2024_Core_Interior.rvt (sha256 c805df44...). Follow-up from PR #237; see also #30.

Activity

  1. DrunkOnJava commented on Sep 24, 2026

    @DrunkOnJava
    OwnerAuthor

    Measured negative, 2026-09-24: RE-70's join lists do not decide the 9 residual ends either.

    RE-29 §4 left two true L corners on Core Interior, where Revit cuts one wall and leaves the other:

    • 20800 against 20816 at (137.25, 81), on eight storeys;
    • 80747 against 80743 at (102.25, 81).

    The join lists (RE-70, #386) settle which wall runs through at most L joints: the wall that names the other runs through. At these two corners neither wall names the other. examples/probe_re70_wall_join_lists.rs on 2024_Core_Interior.rvt gives 20800 → 20816 false and 20816 → 20800 false, and the same for 80743 and 80747. So the exporter leaves both ends undecided (no JoinStartWallElementId / JoinEndWallElementId there), and RE-26's solver still cuts both sides.

    This rules out the join lists as the carrier for these corners. Core Interior stays at 351 of 360 walls world-exact.

  2. DrunkOnJava commented on Sep 27, 2026

    @DrunkOnJava
    OwnerAuthor

    Interim measurement of the record-box lead from Discussion #112 (jakobhirn-bit, confirmed by STE1200 on 2015/2017/2026 files), on Snowdon Towers (Revit 2024), 2026-09-27.

    Per axis-parallel wall end (1,860 ends of the walls with a centreline), comparing how far the element record's box reaches past the centreline's end with how far Revit's IFC4 body does:

    ends
    box reach equals Revit's (within 0.01 ft) 853
    box reaches further; Revit's body is cut back 674
    box stops short; Revit's body reaches past it 333

    So in this simple form the box is neither Revit's end nor an upper bound on it for Snowdon's walls. The cut-back and reach-past amounts cluster on half wall thicknesses (0.25, 0.5, 0.151, 0.078, 0.385 ft), which is what the lead predicts relative to the neighbour's thickness band, not to the centreline's end. The test the lead actually states (where the box ends inside the neighbour's band: near face, axis, far face) needs the joined wall at every end, including the three-or-more-wall junctions RE-70 leaves undecided. That is the next step here; nothing is changed in the exporter on this evidence.

  3. DrunkOnJava commented on Sep 28, 2026

    @DrunkOnJava
    OwnerAuthor

    Re-measured 2026-09-28 on current main (after RE-70's join lists and RE-74), 2024_Core_Interior.rvt against 2024_Core_Interior_slim.ifc, with tools/re/wall_bodies_vs_ifc.py on the rvt-gltf GLB:

    • faces (across the wall): 360 of 360 within 0.001 ft;
    • ends (along the wall): 351 of 360 within 0.001 ft. This issue's target was 352, from 336.

    The 9 walls still off are all "8" Interior Partition 3 Hour" walls, one end each: 80743 by 0.25 ft, and 20816, 29873, 55754, 59334, 60215, 61096, 61977 and 62858 by 0.333 ft, which is half the wall's thickness. So each is a join end taken the wrong way. What decides those 9 is not read yet.

  4. DrunkOnJava commented on Sep 28, 2026

    @DrunkOnJava
    OwnerAuthor

    Two related results, 2026-09-28:

    • Revit 2023 (RE-120, feat(elements): cut Revit 2023 walls back at their joins with 2024's solver (#421) (RE-120) #494). The same solver runs on 2023 records unchanged, since their reference lists name the joined walls. Exemplo_data's 17 walls now have Revit's box exactly (2 before).
    • An outside check on 2026. STE1200's test vectors (Discussion Set of findings #112) include a Revit 2026 wall (flowbim.ee house, 381170) whose exported body is 245 mm shorter than its box: half the 490 mm thickness of its neighbour. That is RE-26's rule, measured independently on a release we don't hold.

    The 31 over-trimmed ends here remain: nothing read so far carries Revit's per-pair join decision.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions