Repository navigation
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
Conversation
… 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
marked this pull request as ready for review
November 15, 2026 16:30
DrunkOnJava
enabled auto-merge (squash)
November 15, 2026 16:53
DrunkOnJava
disabled auto-merge
November 15, 2026 17:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
JoinEndGStepnames 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:
wall_ends_listcompares the layer that runs furthest.probe_re252_wall_endswithwall_ends_list).Changes
src/research/native_walls.rs:NativeWall::omitted, the wall thatJoinEndGStep.m_omittedTargetnames at each curve end.NativeWall::roof_joinedsays whether the record holds aJoinToRoofGStep.src/research/partition_schema_mvp/wall_joins.rs:wall_linescarries 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.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 ofdocs/contribution-map.md.Testing
Run 1 (43724665649,
2b10b372, no roof-join condition) did not meet its first row:Run 2 (43734232355,
653af5fbagainst156e2b25, nordic, r2025, samples and holdout) meets all five rows:diagnostics.jsonis identical on 102 of 102.differentor values-Revit-does-not-write count changes.frames_vs_ifc's rotation andwall_heights_vs_ifc's median wall-middle residual (0.0093 to 0.0131 ft) move with the frame fit over every wall.same-project gatespasses.The commits after
653af5fbare the report and docs (e567395e) and a clean--no-ffmerge ofmain(5d7c2904: the 0.25.0 release, #2070 docs and #2071 tools; nosrc/change), so the proof is run 2:--carry-proof 43734232355.Audit-honesty checklist
Legal and contribution hygiene
Breaking changes
None to the stable API.
rvt::research::NativeWallandWallLinegain fields; that module sits behindunstable-research, which the semver gate excludes.https://claude.ai/code/session_01TFTgj3Ddfs7cFGMNAgVAut