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: roof 2991742's four hatch openings are not cut (face-hosted hatches; their symbol's cut geometry is unread) #824
On the BIM4LCA office, 31 of the 63 slabs both exports hold have a top surface that differs from Revit's (32 of 63 on the building-permit file), in tools/re/plan_profiles_vs_ifc.py's comparison. Core Interior's 80 slabs and RE1 Architecture's 2 all match. The office's differences fall into separate groups, which suggests separate causes.
Measured with Measure run 39240535083 (a listing variant of the scorer that also counts each top surface's polygons and holes, research branch re/office-slab-profiles). As built:
Group
Slabs
rvt-rs against Revit
ElementIds
Twice the area
8
top area exactly 2× Revit's, one polygon each, vertices 0.27 to 5 ft off
no holes where Revit's top surface has 4 (6,617.53 against 6,602.03 ft²)
2991742
Other
2
1.87% and 0.55% off
1461758, 3058084
The building-permit file shows the same groups, and one more: slab 1384047 has none of the 6 holes Revit's top surface has there (11,911.66 against 10,921.97 ft²), where on the as-built file rvt-rs and Revit both give it 7.
What would close this: for each group, find what rvt-rs reads differently from the slab's record (its sketch, its layers' top, its openings or shafts) against Revit's export, fix it, or record a measured negative. The doubled area may be two coincident top faces rather than a larger outline: the scorer takes every upward face at the slab's highest level.
Measured what each group is (Measure run 39368114405, research branch re/824-slab-tops). The listing variant of plan_profiles_vs_ifc.py now prints both top-surface outlines, in model feet, for each slab whose area is off. It also prints the union area and each body's item count. The union areas match the summed ones, so a doubled area is a larger outline, not two coincident faces.
Twice the area (8): Revit's top surface is a right triangle; rvt-rs's is the rectangle around it. 1994714: Revit (319.976 3.889, 319.976 4.155, 341.466 4.155), rvt-rs those three corners plus 341.466 3.889. 2057673 is the same, at 5.085 × 4.963 ft.
+0.35% (20): Revit's rectangle has a notch, 0.180 × 0.361 ft, cut from one corner; rvt-rs's is the full rectangle. 2867930: Revit (315.235 50.213, 315.055 50.213, 315.055 54.298, 319.320 54.298, 319.320 49.852, 315.235 49.852), rvt-rs 315.055..319.320 × 49.852..54.298.
1461758 (1.87%): Revit's two near corners are arcs (a fillet of about 2 ft radius, 18 points each); rvt-rs's are straight chamfers between the same end points.
3058084 (0.55%): Revit's rectangle has a small arc cut into one corner; rvt-rs's is the plain rectangle.
So on 30 of the 31 slabs rvt-rs reads too little of the sketch. On 29 it draws the record box or ignores a notch: the triangles, the notches and 3058084's corner. On 1461758 it reads the arcs' ends but not the arcs. The remaining slab, 2991742, has no holes. The next step is a probe of these slabs' sketch line lists (RE-95, RE-96): which lines the plan profile reads, and why it falls back to the box.
A correction to my last comment, from the sketch-line probe (examples/probe_824_slab_sketches.rs on re/824-slab-tops, Measure run 39369367015). It prints what production makes of each slab, the sketch lines naming it (RE-25), its sketch's curve list (RE-97) and whether the lines close.
The 8 at twice the area are sloped floors, not triangles. Each is a Floor whose sketch is 4 lines that close as the rectangle rvt-rs writes, e.g. 1994714: (319.976,3.889) (341.466,3.889) (341.466,4.155) (319.976,4.155). Revit's export draws that rectangle tilted. plan_profiles_vs_ifc keeps the upward faces at the body's highest level, which on a tilted rectangle is one of its two triangles, so it saw a triangle at half the area. The difference is the slope, which rvt-rs does not read. The outline is right.
The 20 at +0.35%, and 3058084, are StairsLanding elements, not floors. No sketch line names them and no curve list holds them, so they are drawn as their record box. Revit's landing outline has the notch, or 3058084's arc, where the stair meets it.
1461758 is a Roof. Its 10 sketch lines close, and two of them (2271169, 2271206) are Revit's corner arcs. Each has a 9.596 × 9.596 ft box, which a quarter arc and its chord share, so the box rule (RE-96, an unmarked arc) reads them as straight lines.
2991742 is a Roof. Its 8 sketch lines close with no inner loop; Revit's 4 holes are roof openings, not sketch loops.
1384047 (permit file): 37 sketch lines name it and do not close, so it has no plan profile there. On the as-built file, 41 lines name it and do not close either; its profile comes from the curve list.
So this issue is four separate gaps: a floor's slope (8), a landing's outline (21), an arc whose box equals its chord's (1), roof openings (1), plus 1384047's sketch. I'll keep them here until each has a fix or a measured negative.
#866 merged: plan_profiles_vs_ifc now takes a top surface's area as the plan union of its upward faces, so the 8 sloped floors no longer read as twice Revit's area. Slabs whose area is off fall from 31 to 23 as built and from 32 to 24 on the permit file. Core Interior and RE1 are unchanged (Measure run 39370597357). Those 8 floors' slope is still not read, and the scorer does not compare it. Left here: the 21 landing outlines, 1461758's two arcs, 2991742's roof openings and 1384047's sketch on the permit file.
Re-measured 2026-10-24 on main at 9d114d04 (Measure run 40121636312, -f nordic=true; the BIM4LCA host answers again, through its CDN). plan_profiles_vs_ifc, slabs paired by Tag:
area within 0.1%
outline within 0.01 ft
vertices within 0.01 ft
as built
40 of 63
40
34
building permit
39 of 63
38
32
23 and 24 slabs still differ, against this issue's 31. The research branches re/824-slab-tops and re/824-landings can now run their probes on the office again.
Activity
chore(maintainer): the audit's branch check gives research branches 1…
research: the plan-profile listing prints both top-surface outlines o…
DrunkOnJava commentedon Oct 20, 2026
Measured what each group is (Measure run 39368114405, research branch
re/824-slab-tops). The listing variant ofplan_profiles_vs_ifc.pynow prints both top-surface outlines, in model feet, for each slab whose area is off. It also prints the union area and each body's item count. The union areas match the summed ones, so a doubled area is a larger outline, not two coincident faces.(319.976 3.889, 319.976 4.155, 341.466 4.155), rvt-rs those three corners plus341.466 3.889. 2057673 is the same, at 5.085 × 4.963 ft.(315.235 50.213, 315.055 50.213, 315.055 54.298, 319.320 54.298, 319.320 49.852, 315.235 49.852), rvt-rs315.055..319.320 × 49.852..54.298.So on 30 of the 31 slabs rvt-rs reads too little of the sketch. On 29 it draws the record box or ignores a notch: the triangles, the notches and 3058084's corner. On 1461758 it reads the arcs' ends but not the arcs. The remaining slab, 2991742, has no holes. The next step is a probe of these slabs' sketch line lists (RE-95, RE-96): which lines the plan profile reads, and why it falls back to the box.
research(elements): a probe lists the sketch lines, curve lists and p…
DrunkOnJava commentedon Oct 20, 2026
A correction to my last comment, from the sketch-line probe (
examples/probe_824_slab_sketches.rsonre/824-slab-tops, Measure run 39369367015). It prints what production makes of each slab, the sketch lines naming it (RE-25), its sketch's curve list (RE-97) and whether the lines close.Floorwhose sketch is 4 lines that close as the rectangle rvt-rs writes, e.g. 1994714:(319.976,3.889) (341.466,3.889) (341.466,4.155) (319.976,4.155). Revit's export draws that rectangle tilted.plan_profiles_vs_ifckeeps the upward faces at the body's highest level, which on a tilted rectangle is one of its two triangles, so it saw a triangle at half the area. The difference is the slope, which rvt-rs does not read. The outline is right.StairsLandingelements, not floors. No sketch line names them and no curve list holds them, so they are drawn as their record box. Revit's landing outline has the notch, or 3058084's arc, where the stair meets it.Roof. Its 10 sketch lines close, and two of them (2271169, 2271206) are Revit's corner arcs. Each has a 9.596 × 9.596 ft box, which a quarter arc and its chord share, so the box rule (RE-96, an unmarked arc) reads them as straight lines.Roof. Its 8 sketch lines close with no inner loop; Revit's 4 holes are roof openings, not sketch loops.So this issue is four separate gaps: a floor's slope (8), a landing's outline (21), an arc whose box equals its chord's (1), roof openings (1), plus 1384047's sketch. I'll keep them here until each has a fix or a measured negative.
research: the plan-profile scorer takes a top surface's area as the p…
DrunkOnJava commentedon Oct 20, 2026
#866 merged:
plan_profiles_vs_ifcnow takes a top surface's area as the plan union of its upward faces, so the 8 sloped floors no longer read as twice Revit's area. Slabs whose area is off fall from 31 to 23 as built and from 32 to 24 on the permit file. Core Interior and RE1 are unchanged (Measure run 39370597357). Those 8 floors' slope is still not read, and the scorer does not compare it. Left here: the 21 landing outlines, 1461758's two arcs, 2991742's roof openings and 1384047's sketch on the permit file.docs(release): 1.0's requirements as passed, failed or not measured, …
DrunkOnJava commentedon Oct 24, 2026
Re-measured 2026-10-24 on main at
9d114d04(Measure run 40121636312,-f nordic=true; the BIM4LCA host answers again, through its CDN).plan_profiles_vs_ifc, slabs paired by Tag:23 and 24 slabs still differ, against this issue's 31. The research branches
re/824-slab-topsandre/824-landingscan now run their probes on the office again.110 remaining items
research(elements): a scorer listing the openings Revit cuts in roofs…
fix(ifc): a hosted cut's opening is named for its host and its place …
research(elements): a scorer for the key Revit hashes an unfilled ope…
fix(ifc): a host's hosted-cut openings are numbered from the cutting …
research(elements): the opening GlobalId scorer also tries the key of…
feat(ifc): a hosted cut's opening is its own entity and takes Revit's…
docs(ifc): RE-225 reports symbols' cut solids and the openings face-h…
fix(ifc): the hosted cut opening variant goes last in IfcEntity so no…
fix(research): the RE-225 probe walks a vertex's coordinates by itera…
feat(ifc): a face-hosted door or window cuts the opening its symbol's…
feat(ifc): an opening of its host's own geometry carries the host's t…
feat(ifc): Revit 2026 and 2027 beams, stair runs, landings and sketch…
fix(ifc): a beam whose copies in several partitions disagree takes it…