Repository navigation
fix(ifc): the wall end rule reads a wall drawn along its location line, its join reach taken as its trim (#1474) - #2038
Closed
DrunkOnJava wants to merge 1 commit into
Closed
DrunkOnJava wants to merge 1 commit into
DrunkOnJava wants to merge 1 commit into
Conversation
…e, its join reach taken as its trim (#1474) Claude-Session: https://claude.ai/code/session_01TFTgj3Ddfs7cFGMNAgVAut
Owner
Author
|
Closing unmerged as a measured negative. The tip is archived as The change does what it says: the end rule now reads the two centreline walls. But what it reads is not Revit's end, so it would label a guess as read.
What differs from the permit file, where #2029 got these walls exactly: 1493966 is type |
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 (RE-348,
decide_endsinwall_tops.rs) now reads a wall drawn along its location line (BodySourcepartition_wall_centreline). It finds each end whose joins the record lists by matching the location curve's end againstbox_end, the body's end less its join trim (JoinTrimStart/JoinTrimEnd). Only a record-box wall has a trim. A wall drawn along its line has trims of 0, and its body's ends sit at the curve's ends plus the join reach (JoinReachStart/JoinReachEnd, RE-70, RE-73), so no curve end matched, and every end was skipped with no marker.centreline_trimsgives such a wall a trim of-reachat each end a join decided, after checking that the body's end lies there, so the curve's end is found as on a box wall. Box walls are unchanged. The as-built half of #1474.Motivation
#1474, as-built half. In the BIM4LCA office as built, walls 2056705 and 2056770 take the centreline path, where at permit they take the join-trimmed box. Their kept export (Measure 43667090229,
main5ff85692):BodySourcepartition_wall_centreline,JoinReachStart−0.2375 andJoinReachEnd0.125 (2056705; 2056770 the reverse),JoinTrimStart/JoinTrimEnd0, and noBodyEndSourceorBodyEndRefusal. So the rule never ran on them, and they stay 15 of 100 plan points taller than Revit with nothing counting them.Changes
src/ifc/export_content/wall_tops.rs:centreline_trims, used bydecide_endsbeforejoin_trims.changelog.d/fixed/1474-centreline-wall-ends.md.Testing
tools/check-local.sh: CI runs itmain, nordic, r2025, samples, holdout) pending; rows registered before it is readRows registered before the run:
wall_top_cover_vs_ifc,wall_quantities_vs_ifc), as fix(ifc): a wall end a joined wall's face lies inside is cut back over that height, as Revit cuts it (#1474) #2029 did for the permit file. Or each says why not (BodyEndRefusal).BodyEndSourceorBodyEndRefusal) and what its scorers say.same-project gatespass.Audit-honesty checklist
Legal and contribution hygiene
Breaking changes
None.
https://claude.ai/code/session_01TFTgj3Ddfs7cFGMNAgVAut