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
BIM4LCA office: wall 1348326's GLB layers start 0.49 ft from Revit's end, held there by a short-edge corner #1870
In the GLB of the BIM4LCA office, as built and at building permit, wall 1348326's start is 0.4921 ft (0.15 m) from where Revit's export ends the wall. It is the only end of either file that #1825 row 5's variant moved, and the IFC does not move at all: this is the glTF's layer drawing. wall_ends_cv_vs_ifc scores each wall layer's ends in the GLB against Revit's export:
on main, 1,111 of the office's ends are within 0.001 ft as built, and 998 at permit;
A scale-free census of the same test (run 43346045072, #1825 comment) shows the vertex is not nearly straight. Its sine is above 1e-6, so its cross product is small because its edges are short. So the gain came from dropping a short-edge corner of a layer outline, not from a tolerance, and no threshold change can be justified from it.
To find out
The short edge in wall 1348326's layer outline: where it comes from (a join, a cut, the layer's own sketch), and whether Revit's body has it.
Whether other walls carry such a corner that no scorer sees, since wall_ends_cv_vs_ifc scores only walls on a model axis.
Done when
The corner is read for what it is, and the wall's GLB layers end where Revit's body ends, or the difference is stated as a measured negative.
Read: what wall 1348326's start is in the GLB, against Revit's body. A trace in wall_ends_cv_vs_ifc (branch research/1870-wall-layer-trace, d5093832, not to land) prints each GLB layer's extent along and across the wall and its plan outline's corners. Run on main (e6201f4c): Measure 43664409886, both office files, the same on each at the start. Along the wall, in internal feet:
starts at
across
Revit's body
-340.3172
-76.0663 to -74.6391 (the whole thickness)
layer 0 (exterior face, 30 mm)
-341.6460
-76.0663 to -75.9678
layer 1 (50 mm)
-341.4819
-75.9678 to -75.8038
layer 2 (30 mm)
-341.3835
-75.8038 to -75.7054
layer 3 (175 mm)
-340.8093
-75.7054 to -75.1312
layer 4 (interior, 150 mm)
-340.8093 on its outer edge, -340.3172 on its inner face
-75.1312 to -74.6391
Layer 4 is mitred at 45 degrees: its outline's start corners turn with sine 0.7071, and the mitre's edge is 0.6959 ft (0.4921 ft times the square root of 2). Revit's start is that mitre's inner corner, to 0.0000 ft. So Revit ends this wall where the innermost layer's mitre meets the interior face, and its body holds none of the four outer layers that rvt-rs carries 0.49 to 1.33 ft further on, round the corner.
This answers the first "To find out". No short edge in a layer's outline makes the difference: every corner of the five outlines has edges of at least 0.0984 ft, and the extra points in each layer's mesh lie on the hull's edges. The difference is how the layers wrap the corner: RE-71 nests rvt-rs's layers, and here Revit gives the corner to the joined wall. The 0.4921 ft the scorer reports is min(1.3288, 0.4921). Its "nearest" end is the farthest point of the nearest layer (-340.8093, layer 4's outer edge), which misses the mitre's inner corner by exactly the layer's width. The #1825 variant that dropped a vertex must have moved that farthest point, which is why it looked like a fix. Done-when: the corner is read, and the GLB's outer layers here end beyond Revit's body. That is the layer-wrap question at a corner, which a rule would read from the joined wall's layers (#1814 found the same kind of question at wall ends).
Activity
DrunkOnJava commentedon Nov 15, 2026
Read: what wall 1348326's start is in the GLB, against Revit's body. A trace in
wall_ends_cv_vs_ifc(branchresearch/1870-wall-layer-trace,d5093832, not to land) prints each GLB layer's extent along and across the wall and its plan outline's corners. Run onmain(e6201f4c): Measure 43664409886, both office files, the same on each at the start. Along the wall, in internal feet:Layer 4 is mitred at 45 degrees: its outline's start corners turn with sine 0.7071, and the mitre's edge is 0.6959 ft (0.4921 ft times the square root of 2). Revit's start is that mitre's inner corner, to 0.0000 ft. So Revit ends this wall where the innermost layer's mitre meets the interior face, and its body holds none of the four outer layers that rvt-rs carries 0.49 to 1.33 ft further on, round the corner.
This answers the first "To find out". No short edge in a layer's outline makes the difference: every corner of the five outlines has edges of at least 0.0984 ft, and the extra points in each layer's mesh lie on the hull's edges. The difference is how the layers wrap the corner: RE-71 nests rvt-rs's layers, and here Revit gives the corner to the joined wall. The 0.4921 ft the scorer reports is
min(1.3288, 0.4921). Its "nearest" end is the farthest point of the nearest layer (-340.8093, layer 4's outer edge), which misses the mitre's inner corner by exactly the layer's width. The #1825 variant that dropped a vertex must have moved that farthest point, which is why it looked like a fix. Done-when: the corner is read, and the GLB's outer layers here end beyond Revit's body. That is the layer-wrap question at a corner, which a rule would read from the joined wall's layers (#1814 found the same kind of question at wall ends).