Skip to content

BIM4LCA office: roof 2991742's four hatch openings are not cut (face-hosted hatches; their symbol's cut geometry is unread) #824

Closed

Description

@DrunkOnJava

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 1994321, 1994605, 1994706, 1994714, 2057322, 2057673, 2058504, 2070694
Slightly larger 20 18.96 against 18.90 ft² (or 19.11 against 19.04), +0.35%, outline 0.18 ft off, the same shape repeated 2859208, 2859212, 2861138, 2861142, 2862243, 2862247, 2863245, 2863249, 2867926, 2867930, 2869613, 2869617, 2870922, 2870926, 2871738, 2871742, 2872558, 2872562, 2897997, 2898001
Holes missing 1 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.

Activity

  1. added
    area:elements
    area:geometry
    priority:P2
    type:bug
    on Oct 19, 2026
  2. DrunkOnJava commented on Oct 20, 2026

    @DrunkOnJava
    OwnerAuthor

    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.

  3. DrunkOnJava commented on Oct 20, 2026

    @DrunkOnJava
    OwnerAuthor

    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.

  4. DrunkOnJava commented on Oct 20, 2026

    @DrunkOnJava
    OwnerAuthor

    #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.

  5. DrunkOnJava commented on Oct 24, 2026

    @DrunkOnJava
    OwnerAuthor

    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.

  6. 110 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:elementsarea:geometrypriority:P2type:bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions