Skip to content

Stair runs drawn from their sketch keep it where Revit's saved mesh exists: same box, 2.55% more volume on rac_advanced 2024 #1856

Open

Description

@DrunkOnJava

A stair run that its sketch draws (partition_stair_run_sketch) never takes its saved mesh, which replaces only record boxes. On rac_advanced 2024 the two bodies differ:

Open questions:

  • Which body Revit's own IFC export gives such a run. The held-out model's export answers it for one run.
  • Whether a run should take its saved mesh where both exist, keeping the sketch for its quantities.

Count every sketch-drawn run with a saved mesh across the corpus, and the volume gap of each, before choosing.

Activity

  1. DrunkOnJava commented on Nov 13, 2026

    @DrunkOnJava
    OwnerAuthor

    The count this issue asked for, read on run 43421822007 (probe_1856_sketch_runs_mesh, PR #1909): 102 models, Autodesk's 2015 to 2027 samples, the BIM4LCA files and puzzbobb's Revit 2025 models; the held-out models print nothing to a probe.

    The row registered before the run holds. On rac_advanced 2024 the probe reproduces the five runs of this issue to four digits on both volumes (sketch 8.2973 and 11.8273 ft³, saved mesh 8.0906 and 11.5327), and gives the other five runs, the second of each stair, which were always drawn from their sketch: sketch 8.2973 and 11.8273, mesh 8.1041 and 11.5520 (2.38%).

    The count.

    • 240 runs in 27 models are drawn from their sketch, and every one has a saved mesh.
    • 84 of the 240 saved scenes decode whole; 156 are partial (145 in the BIM4LCA offices and housing, 7 in rac_basic 2024 to 2027, 3 in Snowdon Towers Architectural, 1 monolithic Revit 2025 test run). A partial mesh is a fraction of Revit's body, so nothing is compared for those.
    • Of the 84 whole ones, the sketch's volume is equal to the mesh's (to 0.05%) on 39; 1% to 3% larger on 44 (the 40 runs of rac_advanced 2024 to 2027, 2.38% to 2.55%, and 4 in Snowdon at 2.3% to 3.0%); 3.19% larger on 1. None is smaller.

    Which body Revit's export gives is not settled by what Measure holds. Snowdon's Revit export (local only, no licence) writes no quantity set for its flights, so I compared Revit's own IfcStairFlight body (IfcOpenShell, same Tag) with both volumes. 44 flights of Revit's export carry the Tag of one of the 38 Snowdon runs (six Tags are on two flights). On the 39 of them where sketch and mesh are equal (3 on partial scenes), both differ from Revit's flight by a median 3.1% (from 13.4% below to 12.4% above; 10 of the 39 by more than 5%), so that comparison cannot see a difference of 2% to 3%. On the 5 where they differ, the mesh is nearer Revit's in 4. rac_advanced has no Revit export. Percentages only here, no Revit-side volumes.

    What the data does say. The mesh is the smaller wherever the two differ, by a ratio that is the same on every run of a kind (2.55% on a stair's first run, 400 triangles; 2.38% on its second, 396), and #357 records that nosing profiles are not drawn. A nosing that cuts a tread takes volume from the mesh and not from the sketch. That is a reading, not a measurement: nothing here has isolated a nosing.

    What would settle it: a Revit export that carries Qto_StairFlightBaseQuantities.NetVolume for a stair whose runs have a nosing (counts and percentages are enough). Until then the body stays the sketch where one is drawn, and a run's NetVolume stays the sketch's, which the BIM4LCA offices' exports confirm. HWT-25's Revit 2027 structural model has flights (#1842): its export would answer it if it holds base quantities.

  2. added
    type:bug
    area:ifc
    priority:P3
    on Nov 14, 2026
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:P3type:bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions