Skip to content

W7: coverings' GrossArea: the BIM4LCA housing's 10 roof vents of several parts, where Revit's value is one solid's (RE-484), and the ceiling written as IfcSlab (#2074) #1209

Open

Description

@DrunkOnJava

Part of W7 (#1016). Evidence: reports/element-framing/RE-297-ceiling-gross-area.md.

Written

A compound ceiling's Qto_CoveringBaseQuantities.GrossArea where it is drawn as one extrusion of its sketch and its native record holds no CutPairGStep (RE-297): on the BIM4LCA office 57 of 90 as built and 45 of 75 at building permit, none different.

(Edited 2026-11-14: this section also listed the covering Width values of RE-250 and RE-297, 99 of 111 and 75 of 75. RE-294 (#1225) withdrew them: Revit's exporters disagree on a covering's Width, so rvt-rs leaves it out.)

Not written

  • GrossArea of 19 ceilings of several pieces (20 at permit): Revit gives the area of one piece, and which one is not the largest or the first (ceiling 2095436: pieces of 5.520, 3.910 and 3.244 m2 give 3.244; ceiling 2095364: 1.455, 4.639 and 1.467 give 4.639).
  • GrossArea of the ceilings Revit cuts (2 as built, 10 at permit, each holding a CutPairGStep): Revit's value is the area of what is left, 0.7 to 1.1 percent below the sketch's. The cut itself is not read.
  • The 12 roofing coverings of the office as built (ventilation units of the type Ilmanvaihtokoneet, specialty equipment Revit's export writes as IfcCovering ROOFING): their GrossArea is rvt-rs's box's area and their Width its X side on all 12, but the box is the instance's record box, the family's footprint is not read, and 11 of the 12 are squares, so which side Revit's Width is is tested by one unit.

What would close it

Which piece of a ceiling in pieces Revit's analysis takes; the cut a join makes in a ceiling; the footprint of a family instance.

Activity

  1. added
    area:ifc
    priority:P1
    type:feature
    on Oct 30, 2026
  2. DrunkOnJava commented on Nov 14, 2026

    @DrunkOnJava
    OwnerAuthor

    A count for the first "not written" item, the GrossArea of a ceiling in pieces. The scorer tools/re/ceiling_pieces_vs_ifc.py (branch research/1209-ceiling-pieces at 7907b917) reads each body extrusion of rvt-rs's IfcCovering as one piece (PIECES_IN_BODY_CLASSES, #331), takes its plan area as volume over depth, and sets it beside Revit's Qto_CoveringBaseQuantities.GrossArea. Measure 43552644831 ran it on main ede53b7f on the BIM4LCA concrete office:

    ceilings in pieces Revit's GrossArea is one piece's area that piece is the first the largest the last the smallest
    as built 19 19 11 11 3 3
    building permit 20 20 12 12 4 5
    • rvt-rs's pieces are right. On every ceiling, Revit's GrossArea equals one piece's area to 0.1%: the area of one loop of the sketch, as RE-297 found.
    • Neither order nor size picks the piece. Ceilings 2095436 and 2897135 have the same three pieces (5.520, 3.910 and 3.24 m²). Revit's value is the third for 2095436 and the first for 2897135. On 2097832 it is the second of eight, neither the largest nor the first.
    • The placement test says nothing. No Revit covering's placement origin lies inside any of its pieces, on either file, so the origin does not mark the piece. It is probably placed at its Level's origin; not checked.

    Next: whether the piece is the loop that holds the first curve of the ceiling's Sketch in its stored curve list (scan_sketch_curve_lists, RE-97), which rvt-rs's piece order need not follow. Nothing is written until a rule picks Revit's piece on every one of the 39.

    Reproduce: gh workflow run measure.yml --ref research/1209-ceiling-pieces -f ref=ede53b7f529d87400ea2d148d9ec4ce728121901 -f base=none -f nordic=true -f models="nordic-office-as-built nordic-office-permit" -f scorers=ceiling_pieces_vs_ifc

  3. DrunkOnJava commented on Nov 14, 2026

    @DrunkOnJava
    OwnerAuthor

    A ceiling in pieces: Revit's GrossArea is the piece holding its lowest-ElementId sketch line, on 68 of the 75 ceilings scored on the BIM4LCA offices. The 3 misses are one ceiling, 2094020, and the timber permit file adds 4 ceilings no piece matches.

    Probe probe_1209_ceiling_piece_lines and scorer ceiling_piece_lines_vs_ifc (branch research/1209-ceiling-pieces at e1510a1f). For each ceiling whose sketch is several loops, they set four rules beside Revit's Qto_CoveringBaseQuantities.GrossArea: the piece holding the first and the last curve of the Sketch's stored list (RE-97), and the one holding the lowest and the highest sketch-line ElementId (RE-355 found Revit starts a void at the lowest, the first drawn). Measure 43560550178:

    file ceilings in pieces GrossArea is one piece's area first listed = lowest id last listed = highest id
    concrete office, as built 16 16 15 2
    concrete office, permit 20 20 19 2
    timber office, as built 19 19 18 3
    timber office, permit 20 16 16 1
    • The first listed curve and the lowest ElementId pick the same piece on every ceiling: the list is in drawing order.
    • This settles the cases order and size could not. Ceilings 2095436 and 2897135, with the same three pieces, are the third and the first: their lowest line lies there. 2097832, 2103288 and 2105195 are a middle piece of five to nine.
    • The one miss on three files is 2094020. Its two pieces differ by under 1% (4.328 and 4.300 m² as built), and Revit's is the other one: the larger on the concrete files, the smaller on the timber as built.
    • The timber permit file's 4 are a different problem. On 2094020, 2094444, 2636549 and 3191264, none of rvt-rs's pieces has Revit's area, so the pieces themselves are off there. The rules are not at fault.

    Nothing is written yet: the rule is wrong on 2094020. Next:

    1. 2094020's lines: which piece its lowest line lies on, and whether one line lies on both pieces (a shared edge would put its centre on either loop).
    2. The 4 timber-permit ceilings whose pieces do not match.
  4. 21 remaining items

  5. DrunkOnJava commented on Nov 15, 2026

    @DrunkOnJava
    OwnerAuthor

    Status after #2056 and #2060: what main now writes, and what is left.

    Left:

    1. The 13 office ceilings in pieces RE-465 leaves out (their two lowest lines lie on two pieces), and the 5 cut ceilings in several pieces. revit-ifc 24.2's BodyExporter.ExportBody (CLEANROOM.md source 5, Exporter/BodyExporter.cs at e5caa9b81d; cited, not copied) sets the body's ScaledArea from each extrusion it creates in turn, so on a body of several pieces the last one created would set GrossArea. I'm testing that on Revit's own export first: does GrossArea match the piece whose IfcExtrudedAreaSolid has the highest STEP id (tools/re/ceiling_piece_order_vs_ifc.py, branch research/1209-ceiling-piece-order, Measure 43713821158)? If it does, the question becomes which order Revit creates the pieces in, and whether the file records it.
    2. One missing value on the timber housing as built. It is neither a ceiling nor a family instance that the per-Tag census pairs. It was missing before fix(ifc): a family instance Revit writes as a covering takes the area of its saved mesh's face where the mesh is one part with one-piece faces, as Revit's export gives it (#1209) #2060 and is missing after, and has not been read yet.
  6. DrunkOnJava commented on Nov 15, 2026

    @DrunkOnJava
    OwnerAuthor

    Ceilings in pieces: which piece Revit names, and rows registered for a rule before it runs.

    Revit's export. On all 78 ceilings in pieces of the four BIM4LCA office files (73 uncut and 5 cut: Revit writes the cut ones as plain pieces too), Revit's GrossArea is the area of the piece whose IfcExtrudedAreaSolid has the highest STEP id: 19, 20, 19 and 20 of 19, 20, 19 and 20. That is the last body item listed. The largest piece is Revit's on 45. Source: tools/re/ceiling_piece_order_vs_ifc.py, branch research/1209-ceiling-piece-order at 0049be01, Measure 43713821158. This is revit-ifc 24.2's BodyExporter.ExportBody (CLEANROOM.md source 5, Exporter/BodyExporter.cs at e5caa9b81d; cited, not copied), which sets the body's ScaledArea from each extrusion as it creates it. A layered ceiling gets one item per piece per layer, and the piece order differs between layers: 2094020 lists A, B and then B, A. So the piece named is the last layer's last.

    The saved mesh. A ceiling's saved mesh stores the slab one face per primitive, with the pieces as connected parts of each face. The part of the first primitive (the top face) that holds its first triangle is Revit's piece:

    • on 78 of the 78 ceilings above (probe_1209_ceiling_mesh_order at 31bca2a8, Measure 43714434788);
    • and, read again for the 5 cut ones among them, against the per-ceiling values of Measure 43701677731: 5 of 5.

    The first part of the bottom face is right on 74 of the 78, and the largest piece on 45.

    The rule, RE-486. In the saved-mesh pass, a ceiling still without GrossArea whose face is not one piece qualifies when:

    • its mesh decodes whole;
    • the mesh's first primitive is one horizontal face (outward normal vertical, one height) in more than one part;
    • a horizontal face facing the other way holds a part of the same area to 0.1%.

    It then takes the area of the part that holds the first triangle. Nothing a ceiling already holds is replaced, so RE-465's 62 stay as they are.

    Rows, before the run (full Measure: nordic, r2025, samples, held-out):

    1. The office. Every ceiling the rule gives a GrossArea equals Revit's (expected: the uncut ones RE-465 leaves out and the 5 cut ones in pieces). different and "values Revit does not write" are unchanged on every file.
    2. The other files with a Revit export (the housing, the Revit 2025 models, Core Interior, RE1): no value moves, or each new one equals Revit's.
    3. The samples. Ceilings that gain a value are counted per release, with the same value on every save of one project. same-project gates passes.
    4. Held-out. Counts only, reported.
    5. No value is replaced. RE-465's and RE-480's values are unchanged.

    Edited 2026-11-15: the 78 are every ceiling in pieces on the four files, 73 uncut and 5 cut; the 5 cut ones are among them, not in addition, as an earlier version said.

  7. changed the title [-]W7: coverings' GrossArea on ceilings in pieces and cut ceilings, and the roofing coverings (RE-297)[/-] [+]W7: coverings' GrossArea: the BIM4LCA housing's 10 roof vents of several parts, where Revit's value is one solid's (RE-484), and the ceiling written as IfcSlab (#2074)[/+] on Nov 15, 2026
  8. DrunkOnJava commented on Nov 15, 2026

    @DrunkOnJava
    OwnerAuthor

    Status after #2063 (RE-486): the office is done; two remainders on the housing, now in the title.

    Written. A covering's Qto_CoveringBaseQuantities.GrossArea comes from five rules:

    Measured. In Measure 43733137320 (120 exports):

    • The office. On all four files, every covering Revit gives a GrossArea now has Revit's: 90, 75, 88 and 74 equal, with 0 different and 0 missing.
    • Snowdon. One ceiling of Autodesk's 2024 Snowdon sample gains one. No Revit export in CI checks it. Against the body of Revit's local export, it is the area of the piece created last, to 8e-9 relative.

    Left. 11 coverings on the four large housing files (missing 2, 3, 3 and 3):

    The downpipe casings Revit gives no value are not missing, and the coverings' Width stays out on purpose (RE-294, #1225).

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:ifcpriority:P1type:feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions