Repository navigation
fix(ifc): a wall end is kept, and counted, where a wall the end rule does not read stands where it would be drawn (#1583) (RE-337) - #2041
Merged
Conversation
…does not read stands where it would be drawn (#1583) (RE-337) The wall-end rule looked for a wall in a strip only among the walls it reads (followed_walls). A wall drawn as another solid, one whose base join names elements, or one whose ElementId several entities hold was never found, and the end was drawn through it with no marker and no count. decide_ends now also searches those walls, over the plan their drawn body covers and the heights it stands between. A wall whose body cannot be bounded here (a representation map's, or one no mesh is made of) is taken to stand in the strip. Such an end is kept as unread_wall_stands_in_the_added_end, counted in exported.wall_end_refusals and logged as wall_end_extension_refused. Claude-Session: https://claude.ai/code/session_01TFTgj3Ddfs7cFGMNAgVAut
…ad-wall refusal: no export reaches it (#1583) Claude-Session: https://claude.ai/code/session_01TFTgj3Ddfs7cFGMNAgVAut
DrunkOnJava
marked this pull request as ready for review
November 15, 2026 05:44
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
The wall-end rule no longer draws a wall's end through a wall it does not read. Such an end now keeps the end its record gives and is marked with the new reason
unread_wall_stands_in_the_added_end. Before this, those walls were never looked for, so the end was drawn through them with no marker and no count.Motivation
#1583. Before drawing the strips that carry a profile-edited wall's end to the faces of the walls it joins,
in_the_waychecks that no other wall stands in them. It searched onlyfollowed_walls, which leaves out three kinds of wall:RE-337 section 6 listed this gap.
Changes
src/ifc/export_content/wall_tops.rs:unread_wallslists everyIfcWallwith a body thatfollowed_wallsleaves out. For each it records the plan its drawn body covers (plan_outline) and the heights it stands between (frombody_mesh). A wall drawn from a representation map, or whose body gives no mesh, gets no reach, so it counts as standing in every strip (fail closed). A wall with no body is not searched.decide_endschecks those walls after the walls it reads. The strip's rectangle is first drawn in byEND_TOLERANCE_FEETon every side, and the wall is in the way where its plan, clipped to that rectangle, has area left and it stands over more than that tolerance of the strip's heights. Such an end is kept with the new reason.docs/export-diagnostics.md,docs/schemas/export-diagnostics.schema.json,docs/support-matrix.json, thesrc/ifc/mod.rsdoc comment: the new reason added to each list.reports/element-framing/RE-337-wall-ends-at-the-base-wall.md: section 6's bullet is updated, and a new section 7 gives the rule and its measured result.changelog.d/fixed/1583-unread-walls-in-strips.md.Testing
95bb555d(everysrcchange) against its merge basef99403c7, withnordic,r2025,samplesandholdout. Rows, as registered before it was read:ifc.sha256identical. Held: 120 of 120, and 102 of 102diagnostics.json.unread_wall_stands_in_the_added_endon any export. Held. No export reaches the refusal, as the issue expected; RE-337 section 7 says so.95bb555d: pass (check run).c90224f2after the measured head changes only RE-337 section 7 (the run's figures).rustfmt --check, JSON validity of the schema and support matrix, andtools/release/changelog.py checkpass locally. Fast CI is green on95bb555d, clippy and msrv included.Audit-honesty checklist
docs/export-diagnostics.md)changelog.d/fixed/Legal and contribution hygiene
Breaking changes
None. The change adds one value to
exported.wall_end_refusals' reasons.Closes #1583.
https://claude.ai/code/session_01TFTgj3Ddfs7cFGMNAgVAut