Repository navigation
feat(elements): decide the L joints the join lists leave open from the joined-wall lists (#238) (RE-127) - #517
Merged
Merged
Conversation
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_a6debf2c-2cce-4328-b3fd-b79fdde9d034) |
…27 (from Measure run 36494229983)
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.
Closes #238.
Finding
Beside RE-70's join lists, a wall's data holds lists opening
01 00 00 00with the join lists' tag + 2. Each names every wall the wall is joined to, asu64 ElementId · u32 n · n × u32. Naming is symmetric, so presence says nothing about which wall runs through, but the words do. At Core Interior's 244 L-joint ends that RE-70 decides, a wall's entry for its partner is a run of consecutive values at 0 of 122 through ends and at 111 of 122 stopped ones.#238's remaining 9 walls and their partners are one corner of the building's core repeated on eight storeys, plus 80743/80747. Their join lists leave the pair undecided. At all 18 ends, one entry is consecutive and the other is not; Revit stops the consecutive wall at the other's near face and ends the other at the corner.
Change
butt_joinsdecides a perpendicular L joint the join lists leave open from the two joined-wall entries. The entries come from the newpartition_compound_structure::scan_wall_joined_entries.Measured on GitHub's runners (Measure workflow)
Also
examples/probe_re127_joined_wall_lists.rs. Scorer:tools/re/joined_wall_lists_vs_ifc.py. Report:reports/element-framing/RE-127-joined-wall-lists.md.Clean-room
Derived only from public byte observations of the named MIT files and comparison with Revit's own IFC exports; no Autodesk/ODA SDK source, disassembly, leaked or NDA material.
Note
Medium Risk
Changes wall trim geometry logic in
butt_joinswith byte-layout parsing of join metadata; scope is fail-closed (ambiguous pairs still decline) but wrong consecutive detection could mis-trim joins on other models.Overview
RE-127 closes the last nine over-trimmed wall ends at true L corners on Core Interior by reading joined-wall lists in wall element data (alongside RE-70 join lists) and applying a tie-break when both walls name each other in join lists.
The parser adds
scan_wall_joined_entries/wall_joined_entriesfor variable-lengthElementId · n · n×u32frames (tag = join-list tag + 2).butt_joinstakes that map and, for perpendicular L joints join lists leave undecided, usesjoined_stop: if exactly one side’s entry for the partner is a run of consecutiveu32s, that wall stops at the partner’s near face (reach−½ thickness) and the other ends at the joint (reach0).Core Interior IFC vs Revit goes from 351/360 to 360/360 world-exact wall bodies and 711/720 to 720/720 ends; other reference models’ IFC output is unchanged per the report.
Also ships probe
probe_re127_joined_wall_lists, scorerjoined_wall_lists_vs_ifc.py, RE-127 report, doc/changelog/README updates, and Measure CI regenerating Core Interior witness observation JSON.Reviewed by Cursor Bugbot for commit 8b6d870. Configure here.