Skip to content

fix(elements): a stopping wall's end whose join step names an omitted target stops every layer at the partner's near face, on a wall joined to no roof (#1814) (RE-488) - #2068

Merged
DrunkOnJava merged 4 commits into
mainfrom
fix/1814-omitted-flat-stop
Nov 15, 2026
Merged

DrunkOnJava merged 4 commits into
mainfrom
fix/1814-omitted-flat-stop

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Nov 15, 2026 •

Copy link
Copy Markdown
Owner

Summary

At a layered butt join, rvt-rs drew the end of a wall that stops to the layer reaching furthest into its partner, as Revit cleans such joins layer by layer. Where the end's JoinEndGStep names an omitted target (m_omittedTarget), Revit's export instead ends the whole wall flat at the partner's near face. Such an end now stops there with every layer, on a wall whose record joins no roof or floor.

On the BIM4LCA concrete housing at permit, 8 ends that were 435 or 390 mm long are now Revit's, and nothing else in 120 exports moves. Report: RE-488. Rows: #1814 (comment 6897436699), registered before run 2.

Motivation

#1814. Read from Revit's export of the concrete housing at permit:

  • Layered ends. A layered wall's end is a set of steps, the nested Ls of RE-71, and wall_ends_list compares the layer that runs furthest.
  • Flat ends. At ends where the stopping wall's join step names an omitted target, the end is flat at the partner's near face (probe Measure 43724083677, probe_re252_wall_ends with wall_ends_list).

Changes

  • src/research/native_walls.rs: NativeWall::omitted, the wall that JoinEndGStep.m_omittedTarget names at each curve end. NativeWall::roof_joined says whether the record holds a JoinToRoofGStep.
  • src/research/partition_schema_mvp/wall_joins.rs: wall_lines carries the omitted target by axis end (WallLine::omitted), only on a wall that is not roof-joined.
  • src/research/element_record_wall_joins.rs: at a perpendicular layered butt join where the wall stops and one layer reach already lies at the partner's near face, every layer now reaches the near face.
  • Report RE-488, changelog fragment, the RE-488 row of docs/one-project-rules.md (the BIM4LCA housing goes from 3 to 4) and the Concrete housing at permit: wall ends 1.28 to 1.38 ft short where the box's join trim meets a partner whose join decides no reach #1814 row of docs/contribution-map.md.

Testing

Run 1 (43724665649, 2b10b372, no roof-join condition) did not meet its first row:

  • It fixed 10 ends but broke one exact end. Wall 1550779 is roof-joined, and Revit runs its top 395 mm on, stepped.
  • It did not reach the 11 timber T joints.

Run 2 (43734232355, 653af5fb against 156e2b25, nordic, r2025, samples and holdout) meets all five rows:

  • Exports. 119 of 120 are byte-identical, and diagnostics.json is identical on 102 of 102.
  • Ends. On the concrete housing at permit exactly the 8 registered ends become Revit's to 0.001 ft: walls with an end off go from 71 to 63. 1550779 stays Revit's.
  • Values. No different or values-Revit-does-not-write count changes.
  • Fits. frames_vs_ifc's rotation and wall_heights_vs_ifc's median wall-middle residual (0.0093 to 0.0131 ft) move with the frame fit over every wall.
  • Gates. same-project gates passes.

The commits after 653af5fb are the report and docs (e567395e) and a clean --no-ff merge of main (5d7c2904: the 0.25.0 release, #2070 docs and #2071 tools; no src/ change), so the proof is run 2: --carry-proof 43734232355.

Audit-honesty checklist

Legal and contribution hygiene

  • Apache-2.0. Read from public byte observations and Revit's own IFC exports. No Autodesk SDK source or internals were used.

Breaking changes

None to the stable API. rvt::research::NativeWall and WallLine gain fields; that module sits behind unstable-research, which the semver gate excludes.

https://claude.ai/code/session_01TFTgj3Ddfs7cFGMNAgVAut

… target stops every layer at the partner's near face, as Revit's export draws it (#1814) (RE-488)

At a layered butt join, Revit's export draws the end of a wall that stops
flat at its partner's near face where the end's JoinEndGStep names an
omitted target (m_omittedTarget), instead of cleaning it layer by layer.
rvt-rs drew those ends to the furthest layer reach: 435, 390 or 255 mm
long on the BIM4LCA concrete housing at permit, 28 mm on the timber
housing and 26 mm on the timber office as built, 21 scored ends on four
files, all at the near face in Revit's export (Measure 43724083677).

NativeWall reads the omitted target of each end, WallLine carries it by
axis end, and butt_joins sets every layer's reach to the near face where
one already reaches it. Rows on #1814 (comment 6896106522), before the run.

Claude-Session: https://claude.ai/code/session_01TFTgj3Ddfs7cFGMNAgVAut
…o a roof or floor, where Revit cleaned wall 1550779's top band layer by layer (#1814) (RE-488)

Run 1 (Measure 43724665649) fixed 10 ends of the concrete housing at
permit and broke one exact end: wall 1550779, whose corner matches
1566548's in plan and record, but which Revit runs on stepped over the
top 395 mm its JoinToRoofGStep shapes. NativeWall::roof_joined says
whether the record holds a JoinToRoofGStep, and such a wall's ends are
not read as flat. The rule then reaches 8 ends on the eight BIM4LCA
files. The report gives run 1 and the rows for run 2.

Claude-Session: https://claude.ai/code/session_01TFTgj3Ddfs7cFGMNAgVAut
…te housing at permit become Revit's and nothing else in 120 exports moves (#1814)

The report gives run 2 (Measure 43734232355), corrects section 2's count
of the ends Revit draws flat (1550779 was scored, and not flat), and says
what the narrowed rule gives up. The changelog fragment, the RE-488 row of
docs/one-project-rules.md (the BIM4LCA housing's count 3 to 4) and the
#1814 row of docs/contribution-map.md.

Claude-Session: https://claude.ai/code/session_01TFTgj3Ddfs7cFGMNAgVAut
@DrunkOnJava
DrunkOnJava marked this pull request as ready for review November 15, 2026 16:30
@DrunkOnJava DrunkOnJava changed the title fix(elements): a stopping wall's end whose join step names an omitted target stops every layer at the partner's near face (#1814) (RE-488) fix(elements): a stopping wall's end whose join step names an omitted target stops every layer at the partner's near face, on a wall joined to no roof (#1814) (RE-488) Nov 15, 2026
@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) November 15, 2026 16:53
@DrunkOnJava
DrunkOnJava disabled auto-merge November 15, 2026 17:00
@DrunkOnJava
DrunkOnJava merged commit d3f36f8 into main Nov 15, 2026
38 of 43 checks passed
@DrunkOnJava
DrunkOnJava deleted the fix/1814-omitted-flat-stop branch November 15, 2026 17:00
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