Skip to content

Roofs by extrusion are solids only on Revit 2025: read them on 2024, 2026 and 2027, held to the 2025 save #1479

Closed

Description

@DrunkOnJava

From #1471 and RE-351. Roofs by extrusion are drawn as solids (partition_roof_extrusion, RE-211) only on Revit 2025, because SKETCH_SPLINE_SUPPORTED_REVIT_VERSIONS is [2025]. On 2024, 2026 and 2027 such a roof is its record box: on rac_basic roof 243274 is 430.617 m3 as a box against 35.424 m3 as the 2025 save draws it, and rac_advanced's roof 201262 is 48.766 against 5.332. Griffin's gate counts these as left as boxes.

Done when: the reader's release list is widened where the same-project check holds each roof to the 2025 save per element, anything that differs stays a box and is counted, and the docs say which releases no Revit export checks. Griffin's same-project rule applies, so count how many models exercise it first.

Activity

  1. added
    area:ifc
    priority:P2
    type:feature
    on Nov 5, 2026
  2. DrunkOnJava commented on Nov 13, 2026

    @DrunkOnJava
    OwnerAuthor

    Rows for widening the B-spline reader's release list, registered before the run is dispatched. SKETCH_SPLINE_SUPPORTED_REVIT_VERSIONS is [2025] (RE-211: the layout was measured on 11_RoofByExtrusion of puzzbobb's Revit 2025 models). #1864 found the two roofs this holds back, with the same project's other saves as the check: rac_basic 243274 (partition_roof_extrusion on the 2025 save, the saved mesh on the 2026 save) and rac_advanced 201262 (partition_roof_slope from 134 sketch vertices on the 2025 save, the saved mesh on the 2026 save). The experiment branch experiment/1479-spline-releases (9f97420) lists [2024, 2025, 2026, 2027] and nothing else; probe_1864_body_diff (with the diff's digest fix of #1864) then holds the 2025 samples against their 2024, 2026 and 2027 saves.

    1. The two roofs agree with the 2025 save on every other release. rac_advanced lists no 201262 and rac_basic no 243274 in the pairs 2025 against 2024, 2026 and 2027: the same BodySource, the same profile and the same body digest.
    2. Nothing else changes in those pairs: any other element the probe lists after the change is read before anything else; the roofs that differed only in an undrawn extrusion (167036, 167158, 165755, 724430) are not listed (the digest fix).
    3. The 2025 saves are unchanged (the gate already read them).
    4. A release where a roof differs from the 2025 save stays out of the list, and the list is widened to the releases where every roof agrees; the result says which, and which models exercise it (rac_basic, rac_advanced: 1 roof each per save).
  3. DrunkOnJava commented on Nov 13, 2026

    @DrunkOnJava
    OwnerAuthor

    Results of the first rows (the B-spline list widened to 2024, 2026 and 2027; Measure runs 43465404958, 43465340319 and 43465413771 against their baselines 43468180710, 43471836274 and 43468191067, the same sample ranges and probe, probe_1864_body_diff on f61496f4's digest):

    1. Half held. rac_basic roof 243274 is listed in none of the three pairs after the change and was listed in all three before (2025 save against the 2024, 2026 and 2027 saves). rac_advanced roof 201262 is listed in no 2024 pair before or after, and in both the 2026 and 2027 pairs before and after: the list was never what holds it on those two releases. roof_reads_exact_sketches (RE-341) draws a 2026 or 2027 roof from the record box alone, and the roof is the sloped one (134 sketch vertices on the 2025 save).
    2. Held. No element is listed after the change that was not listed before, in the pairs of 2024 (5 projects), 2026 (5) and 2027 (10 models): 0 new, 0 with other fields.
    3. Not yet read: the 2025 saves' exports, which the unfiltered run of the pull request shows.
    4. As written, row 4 does not apply: it keeps a release out of the list when a roof differs, and 201262 differs on 2026 and 2027 for a reason other than the list. The widening is per element, as the issue's "done when" says (anything that differs stays a box and is counted), so 243274 is read on all four releases and 201262 stays a box on 2026 and 2027 until the hold of RE-341 is lifted, which the second experiment below tests.

    Rows for lifting that hold, registered before it is dispatched (a second experiment commit that makes roof_reads_exact_sketches true for every release, on top of the first):

    1. 201262 agrees with the 2025 save on 2026 and 2027: rac_advanced lists it in neither pair (the same BodySource, profile and digest).
    2. Nothing else changes in those pairs: any other element listed after the change is read before anything else; 243274 stays unlisted; the roofs of the other samples keep agreeing.
    3. A roof that becomes a level block fails the row: if any roof of a sample is listed after the change that was not listed before, the hold stays, and the issue says which roofs agree and which differ.
  4. DrunkOnJava commented on Nov 13, 2026

    @DrunkOnJava
    OwnerAuthor

    Rows for the unfiltered Measure of the pull request (head 99bb949c, base main at 2ecff1de, every flag), registered before it is dispatched. The change widens SKETCH_SPLINE_SUPPORTED_REVIT_VERSIONS to 2024, 2025, 2026 and 2027 and empties ROOFS_NOT_THE_2025_BODY in readers_across_saves.py; the second experiment (the RE-341 hold lifted on 2026 and 2027) changed nothing in the pair runs, so the hold stays.

    1. Only the exports of 2024, 2026 and 2027 saves move. No 2015 to 2023 export and no 2025 export differs.
    2. rac_basic roof 243274 is drawn by partition_roof_extrusion on its 2024, 2026 and 2027 saves, and the cross-save check passes on 2026 and 2027 with the list empty (the census line reads "roofs drawn otherwise as pinned 0 of 0 expected").
    3. Any other roof that moves is named. In a model with a Revit export (Core Interior, the BIM4LCA models, Snowdon Towers Architectural; all Revit 2024) roof_bodies_vs_ifc must not read further from Revit's body than before; in a held-out model, counts only: equal not lower, different not higher.
    4. The walls under the roof stay as they are: the 16 walls of rac_basic on 2026 and 2027 and the 15 on 2024 keep the bodies they have (a roof by extrusion is not a level plate, RE-351).
    5. The same-project gates check run passes on the measured commit.
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:P2type:feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions