You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Concrete housing at permit: wall ends 1.28 to 1.38 ft short where the box's join trim meets a partner whose join decides no reach #1814
On the BIM4LCA concrete housing at permit, a wall drawn from its record box ends 1.28 to 1.38 ft short of Revit's export at an end whose join partner is a wall the reader places but whose join lists decide no reach: the box was trimmed by the record's JoinTrimStart/JoinTrimEnd (0.27 or 0.285 m, half the partner's thickness), where Revit's wall runs past the location line's end instead.
The box trims 0.935 or 0.886 ft off the line's end; Revit's end lies 0.35 to 0.44 ft past it. So neither the box nor the line is Revit's end there; the line is nearer.
At the ends whose partner the reader gives no line (1347019's end at 1347018, 1347016's start at 1347017, both "start": null in the wall probe), the box is exact and the line is 0.89 to 0.94 ft off. #1806's fix keeps those.
Leads
Which joins these are (L, T, the partner's join type in its own record), and where Revit's end sits relative to the partner's faces: 0.35 to 0.44 ft past the line is not half of either wall's thickness.
Whether join_trims (src/research/element_record_wall_joins.rs) should extend rather than trim at such an end, and what the join lists hold there that attach_wall_butt_joins does not resolve to a reach.
Done when
The ends above are read: either a rule that puts them within 0.001 ft of Revit's export and moves no end that is within it now, measured on the six BIM4LCA files and the held-out pairs, or a measured negative in a report.
Found while reading #1806 (RE-447): a Tendrils worker's analysis named the per-end difference, checked against the exports by rvtDevelop.
RE-447 (#1822) measured the ends this issue covers on a wall whose line drifts off an axis. It adds acceptance rows here, from #1806, which this issue now carries:
Same file, wall 1347016's start: Revit ends at 1347017's far face. main is 0.886 ft short; the box's end is exact.
What RE-447 found about where Revit's ends lie, over the 21 ends of four BIM4LCA models where the box and the line differ:
At the 9 ends where the line is nearer, Revit's end lies within 0.0001 ft of a layer plane inside a joined wall's faces: 0.049, 0.262, 0.492 or 0.590 ft in. The planes the probe prints hold that plane. The box always ends on a face, so it can't reach it.
At 4 of the 12 ends where the box is nearer, Revit's end is a joined wall's face. The other 8 name walls the reader gives no line.
So an end rule has to choose among the joined walls' planes, faces and layer boundaries both. The record doesn't say which, because its planes carry no layer function or priority.
The clue worth testing here: take the box's end where the end's own JoinEndGStep is non-empty (a weak index, an omitted wall or an exposed face), and the line's end where it is empty. On RE-447's 21 ends that picks right at 19 and is never worse than the line. But it was fitted on those ends. Its real test is the axis-parallel walls of this issue, whose ends main always draws from the box. Score it there before it ships.
Tested: "Revit's end is the partner's far face less the partner's outermost layer on that side". Right on the concrete housing, a fit there and not a rule.
The type layers come from a new probe, probe_1814_wall_type_layers (branch research/1814-type-layers, 5972015). It prints each wall's type and that type's layers with their functions (1 structure, 3 thermal, 4 finish 1, 5 finish 2, 100 membrane). Run: Measure 43650035061 on main8529bb01, both housing files at permit, with probe_re252_wall_ends and wall_ends_list.
Concrete housing at permit. RE-447's 0.4921 ft is a 150 mm layer, and on this file the depth is always the partner's outermost layer on the far side, whatever its function:
end
partner
far-side layer
Revit's end, in from the partner's far face
1347019 start
1347020 (150/4; 65/3; 175/3; 180/1)
finish, 150 mm
150.0 mm
1347016 end
1346715 (135/4; 50/3; 30/3; 175/3; 150/1)
structure, 150 mm
150.0 mm
1426918 end
1347020
structure, 180 mm
180.0 mm
Over the file's off ends drawn from the line, that plane is Revit's end within 0.001 ft on 4 of 6. The 2 others are #1806's ends at 1347018 and 1347017, where the box is already exact.
Timber housing at permit: 5 of 16. Revit's end is often the partner's far face itself (0 mm, through the whole partner). That happens at 1347022's start, through 2201086, whose far layer is an 80 mm finish (80/4; 20/3; 175/3; 150/1), and at 1347020's start through 1426918. On the concrete file a 150 mm finish layer was where the end stopped. Three walls end 183 mm inside a partner whose layers from that face are 15/5; 13/4; 173/1; ..., which is no layer boundary of the partner alone.
What follows. Where Revit's end lies depends on the joining wall's own layers as well as the partner's, which is the layer-priority join RE-447 named. A rule has to match the two walls' layers by function (which layer of each meets which) and choose the corner's wrap, not read one plane off the partner. The layers and their functions are now readable from the probe for that work. Nothing ships from this test. The ends in the issue body stay as they are.
Wall ends whose join step names an omitted target: a rule (RE-488), with rows registered before the run.
What Revit's export draws. Revit's export of the concrete housing at permit draws a layered wall's end as steps. Each layer ends at a boundary of the partner's matching layer, the nested Ls of RE-71. wall_ends_list compares the layer that runs furthest. That explains this issue's earlier fit ("the partner's far face less its outermost far-side layer"), at the issue's four ends where three to six walls meet.
Where it is flat.JoinEndGStep holds, per end, a weak index, an omitted target (m_omittedTarget) and the exposed-face map. On the eight BIM4LCA office and housing files (Measure 43724083677, main at 156e2b25, probe_re252_wall_ends with wall_ends_list), take every end where:
the wall stops rather than runs through;
its layer reaches (layer_reaches) spread, the nearest being the partner's near face;
and its JoinEndGStep names an omitted target.
On all 21 such ends that are scored, Revit's end is flat at the partner's near face. rvt-rs draws the wall to its furthest reach, so it is long by 435, 390 or 255 mm on the concrete housing at permit (10 ends), 28 mm on each timber housing file (5 each) and 26 mm on the timber office as built (1). In Revit's export, every layer of wall 1566542 ends at its partner 1566543's near face.
The omitted target is enough for a flat end but not needed: 9 concrete-office ends are at the nearest reach with no target named. Those, and wall 1567716 (whose reaches do not spread), are left as they are.
The rule. In butt_joins, at such an end every layer reaches the partner's near face. The target is read from the wall's native record (NativeWall::omitted).
Rows, before the run (full Measure: base=main, nordic, r2025, samples, held-out):
BIM4LCA housing and office. The 21 scored ends become Revit's to 0.001 ft, and no other wall end on these files moves.
The other files with a Revit export (Core Interior, RE1, the Revit 2025 models, the BIM4LCA terrain files). No wall end moves, or each one that moves becomes Revit's.
Every scorer.different and the values Revit does not write do not rise on any file.
The samples. Walls that move are counted per release, and same-project gates passes.
Held-out. Counts only, reported.
This issue's six ends are not among the 21. The four at junctions of three to six walls have no layer reaches, since the reader decides no join there. The two whose partner the reader gives no line (1347022, 1347021) are also left. They stay open here.
RE-488, run 1 against the rows above: row 1 not met. A narrowed rule, with rows for run 2 registered before it runs.
Run 1 (43724665649, 2b10b372 against main156e2b25, 120 exports):
Only the concrete housing at permit moves. On it, 10 of the 21 ends become Revit's.
One exact end breaks: wall 1550779's end goes 435 mm short. My earlier note listed it as not scored, but wall_ends_list lists only walls with an end off, and this one was not.
The timber housing's 10 ends and the timber office's 1 do not move. They are T joints, read by tee_join, which the rule does not reach (diagnostic build 7f9d484b, 43733229564).
Why 1550779. In Revit's export, 1550779 and 1566548 make the same corner in plan, with the same record data. 1566548 (Level_04, 2705 mm) is flat at the partner's near face over its whole height. 1550779 (Level_03, 3100 mm) is flat there up to 2705 mm, and over its top 395 mm it runs on, stepped, to the furthest reach; its partner is cut back 405 mm over that band. The walls of that corner each hold two JoinToRoofGStep, where the Level_04 walls hold none.
The narrowed rule. No flat stop on a wall whose record holds a JoinToRoofGStep. That leaves out 12 ends Revit does draw flat (1550777, 1567742 and the 11 T joints are all roof-joined) and 1550779. What separates 1550779 from those 12 is not read. On the eight files the rule then reaches 8 ends.
Rows for run 2 (653af5fb against 156e2b25, nordic, r2025, samples and holdout):
Concrete housing at permit. These 8 ends become Revit's to 0.001 ft: 1346762's start, 1346792's end, 1437589's start, 1437595's end, 1550773's start, 1566542's start, 1566546's start and 1566548's end. 1550779 stays Revit's, and no other end on the file moves.
Every other export is byte-identical to main's.
Every scorer.different and the values Revit does not write do not rise.
The samples. No sample export moves, and same-project gates passes.
Activity
fix(ifc): take the box's extent at the line's own angle for a wall th…
DrunkOnJava commentedon Nov 12, 2026
RE-447 (#1822) measured the ends this issue covers on a wall whose line drifts off an axis. It adds acceptance rows here, from #1806, which this issue now carries:
mainis 0.935 ft long there since fix(elements): a wall, floor, ceiling or roof type edited since an earlier save takes its current partition's layers on Revit 2024 and later (#1802) (RE-446) #1807; the record box's end is exact.mainis 0.886 ft short; the box's end is exact.What RE-447 found about where Revit's ends lie, over the 21 ends of four BIM4LCA models where the box and the line differ:
planesthe probe prints hold that plane. The box always ends on a face, so it can't reach it.So an end rule has to choose among the joined walls' planes, faces and layer boundaries both. The record doesn't say which, because its planes carry no layer function or priority.
The clue worth testing here: take the box's end where the end's own
JoinEndGStepis non-empty (a weak index, an omitted wall or an exposed face), and the line's end where it is empty. On RE-447's 21 ends that picks right at 19 and is never worse than the line. But it was fitted on those ends. Its real test is the axis-parallel walls of this issue, whose endsmainalways draws from the box. Score it there before it ships.docs(re): RE-447 finds neither the record box's nor the line's ends r…
DrunkOnJava commentedon Nov 14, 2026
Tested: "Revit's end is the partner's far face less the partner's outermost layer on that side". Right on the concrete housing, a fit there and not a rule.
The type layers come from a new probe,
probe_1814_wall_type_layers(branchresearch/1814-type-layers, 5972015). It prints each wall's type and that type's layers with their functions (1 structure, 3 thermal, 4 finish 1, 5 finish 2, 100 membrane). Run: Measure 43650035061 onmain8529bb01, both housing files at permit, withprobe_re252_wall_endsandwall_ends_list.Concrete housing at permit. RE-447's 0.4921 ft is a 150 mm layer, and on this file the depth is always the partner's outermost layer on the far side, whatever its function:
150/4; 65/3; 175/3; 180/1)135/4; 50/3; 30/3; 175/3; 150/1)Over the file's off ends drawn from the line, that plane is Revit's end within 0.001 ft on 4 of 6. The 2 others are #1806's ends at 1347018 and 1347017, where the box is already exact.
Timber housing at permit: 5 of 16. Revit's end is often the partner's far face itself (0 mm, through the whole partner). That happens at 1347022's start, through 2201086, whose far layer is an 80 mm finish (
80/4; 20/3; 175/3; 150/1), and at 1347020's start through 1426918. On the concrete file a 150 mm finish layer was where the end stopped. Three walls end 183 mm inside a partner whose layers from that face are15/5; 13/4; 173/1; ..., which is no layer boundary of the partner alone.What follows. Where Revit's end lies depends on the joining wall's own layers as well as the partner's, which is the layer-priority join RE-447 named. A rule has to match the two walls' layers by function (which layer of each meets which) and choose the corner's wrap, not read one plane off the partner. The layers and their functions are now readable from the probe for that work. Nothing ships from this test. The ends in the issue body stay as they are.
DrunkOnJava commentedon Nov 15, 2026
Wall ends whose join step names an omitted target: a rule (RE-488), with rows registered before the run.
What Revit's export draws. Revit's export of the concrete housing at permit draws a layered wall's end as steps. Each layer ends at a boundary of the partner's matching layer, the nested Ls of RE-71.
wall_ends_listcompares the layer that runs furthest. That explains this issue's earlier fit ("the partner's far face less its outermost far-side layer"), at the issue's four ends where three to six walls meet.Where it is flat.
JoinEndGStepholds, per end, a weak index, an omitted target (m_omittedTarget) and the exposed-face map. On the eight BIM4LCA office and housing files (Measure 43724083677,mainat156e2b25,probe_re252_wall_endswithwall_ends_list), take every end where:layer_reaches) spread, the nearest being the partner's near face;JoinEndGStepnames an omitted target.On all 21 such ends that are scored, Revit's end is flat at the partner's near face. rvt-rs draws the wall to its furthest reach, so it is long by 435, 390 or 255 mm on the concrete housing at permit (10 ends), 28 mm on each timber housing file (5 each) and 26 mm on the timber office as built (1). In Revit's export, every layer of wall 1566542 ends at its partner 1566543's near face.
The omitted target is enough for a flat end but not needed: 9 concrete-office ends are at the nearest reach with no target named. Those, and wall 1567716 (whose reaches do not spread), are left as they are.
The rule. In
butt_joins, at such an end every layer reaches the partner's near face. The target is read from the wall's native record (NativeWall::omitted).Rows, before the run (full Measure:
base=main, nordic, r2025, samples, held-out):differentand the values Revit does not write do not rise on any file.same-project gatespasses.This issue's six ends are not among the 21. The four at junctions of three to six walls have no layer reaches, since the reader decides no join there. The two whose partner the reader gives no line (1347022, 1347021) are also left. They stay open here.
fix(elements): RE-488 reads no flat stop on a wall the record joins t…
DrunkOnJava commentedon Nov 15, 2026
RE-488, run 1 against the rows above: row 1 not met. A narrowed rule, with rows for run 2 registered before it runs.
Run 1 (43724665649,
2b10b372againstmain156e2b25, 120 exports):wall_ends_listlists only walls with an end off, and this one was not.tee_join, which the rule does not reach (diagnostic build7f9d484b, 43733229564).Why 1550779. In Revit's export, 1550779 and 1566548 make the same corner in plan, with the same record data. 1566548 (Level_04, 2705 mm) is flat at the partner's near face over its whole height. 1550779 (Level_03, 3100 mm) is flat there up to 2705 mm, and over its top 395 mm it runs on, stepped, to the furthest reach; its partner is cut back 405 mm over that band. The walls of that corner each hold two
JoinToRoofGStep, where the Level_04 walls hold none.The narrowed rule. No flat stop on a wall whose record holds a
JoinToRoofGStep. That leaves out 12 ends Revit does draw flat (1550777, 1567742 and the 11 T joints are all roof-joined) and 1550779. What separates 1550779 from those 12 is not read. On the eight files the rule then reaches 8 ends.Rows for run 2 (
653af5fbagainst156e2b25, nordic, r2025, samples and holdout):main's.differentand the values Revit does not write do not rise.same-project gatespasses.docs(reports): RE-488 run 2 meets its five rows: 8 ends of the concre…
fix(elements): a stopping wall's end whose join step names an omitted…
docs(release): v0.25.0 is the latest release, with what each channel …