Skip to content

fix(ifc): a wall profile region that a pocket equals stays that pocket (#1947) - #1954

Merged
DrunkOnJava merged 1 commit into
mainfrom
fix/1947-pocket-region
Nov 13, 2026
Merged

DrunkOnJava merged 1 commit into
mainfrom
fix/1947-pocket-region

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Summary

cut_profiles_from_bodies (wall_profile.rs) treats a region that a pocket equals as that pocket: the wall keeps its box, and the pocket's opening is written (RE-380; Core Interior's 55840 and 4 of Snowdon's 7 walls with pockets). extend_profile_stubs runs first and carries a region on to the wall's end (#1473, RE-358) by rewriting its outline_feet. Once carried, a region that equalled a pocket no longer does, so it was cut into the body, the configuration the module doc says must not be produced. extend_profile_stubs now collects each wall's pocket outlines and does not carry a region one of them equals.

Testing

The unfiltered Measure with the samples is in this PR's comments. It shows whether any measured wall had such a region carried (the stub rule runs on Revit 2024 only).

Refs #1947.

Audit-honesty checklist

  • README / docs reflect the current state after this PR
  • A user-visible change has its entry as a fragment under changelog.d/fixed/

…n to the wall's end, so it stays that pocket (#1947) (RE-380)
@DrunkOnJava

Copy link
Copy Markdown
Owner Author

Measure 43518452526 (unfiltered against main 702fd70, with every model and scorer and the samples; head 97bb0cc):

  • Exports: 4 of 101 move (the timber office as built and at permit, the 2024 rac_basic, Snowdon Towers Architectural), and their 4 diagnostics.json files with them.
  • Timber office, as built: wall_profile_cut_in_body 9 → 8, and carried_level_high 1 → 0. One wall's region now stays its pocket instead of being cut into the body. The wall is drawn in its layers: wall_layers_vs_ifc goes from 592 to 593 walls compared, with layer centres within 0.001 ft on 591 of 592 → 592 of 593. The wall added is within tolerance.
  • Timber office, at permit: cuts in body 10 → 8.
  • 2024 rac_basic: loses the refusal profile_level_cut_between_two_lines. Its region is a pocket now, not a carried level cut.
  • Unchanged: no quantity, opening or wall-body scorer moves.
  • Same-project gates: pass.

@DrunkOnJava
DrunkOnJava marked this pull request as ready for review November 13, 2026 23:29
@DrunkOnJava
DrunkOnJava merged commit 3a37d13 into main Nov 13, 2026
65 checks passed
@DrunkOnJava
DrunkOnJava deleted the fix/1947-pocket-region branch November 13, 2026 23:42
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