Repository navigation
feat(elements): cut Revit 2023 walls back at their joins with 2024's solver (#421) (RE-120) - #494
Merged
Merged
Conversation
DrunkOnJava
enabled auto-merge (squash)
September 28, 2026 14:38
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_df00e5e4-2252-4af6-9eb9-4548a85660f8) |
…solver (#421) (RE-120)
DrunkOnJava
force-pushed
the
feat/wall-joins-2023
branch
from
September 28, 2026 14:40
b914163 to
bce5bd5
Compare
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
A Revit 2023 wall's record box is the untrimmed wall, as on 2024. At an L or T joint it runs to the other wall's centreline, where Revit's export stops it at that wall's face.
A 2023 record's reference list names the walls it joins, as a 2024 record's does. So 2024's join solver (
element_record_wall_joins::join_trims, RE-26 and RE-29) now runs on the 2023 wall records unchanged. No new threshold or rule is added.Measured
tools/re/wall_bodies_vs_ifc.py, Exemplo_data's wall ends go from 2 of 17 within 0.001 ft (worst 0.328 ft) to 17 of 17.reports/element-framing/RE-120-wall-joins-2023.md.Checks
verify-real-files.sh.Clean-room declaration
This finding comes from public byte observations of the corpus files and Revit's own IFC exports only. No Autodesk SDK source, disassembly or NDA material was used.
Note
Medium Risk
Changes exported wall body geometry for Revit 2023 only, but reuses the existing join solver with a scoped code path and measured parity against Revit exports.
Overview
Revit 2023 wall geometry now matches Revit's export at L/T joints by reusing the existing 2024 join solver instead of emitting each wall's untrimmed record bounding box.
After
recover_2023_recordsbuilds wall instances, the change gathers the underlying 2023 partition records, runselement_record_wall_joins::join_trims, and applies each trim viaapply_wall_join_trim—the same path as 2024/2025, with no new thresholds or rules. The assumption is that 2023 reference lists name joined walls like 2024's do.Measured on two 2023 projects with Revit IFC4 exports, wall boxes go from 2/17 and 4/4 matching Revit to 17/17 and 4/4; docs, changelog, support matrix, and
reports/element-framing/RE-120-wall-joins-2023.mdrecord the evidence. 2024 and 2025 exports are unchanged (logic lives only in the 2023 branch).Reviewed by Cursor Bugbot for commit b914163a890695a696f03997e83419c5821166c6. Configure here.