Skip to content

Report: Revit 2024 MEP model, 2,120 bodies stay record boxes (GHermiteSpline profiles, edge sample mismatches, no saved mesh) #2082

Open

Description

@yuriyu-webiya

Your work

Software developer (BIM viewer in a construction SaaS; rvt-rs converts uploaded RVT files to IFC, then to fragments).

rvt-rs version

0.25.0 (aarch64-apple-darwin release binary). The same model was also run on 0.12.0.

Models

Revit 2024 (build 20260709_1515), electrical / MEP (cable trays, lighting, electrical fixtures and equipment, generic models), 270 MB.

What you ran

  • Installed it (release archive, checked against SHA256SUMS)
  • Exported IFC
  • Compared the IFC with Revit's own IFC export of the same model
  • Opened the IFC in other software (That Open Components / web-ifc)

Against Revit's own export

No Revit export is available.

What worked and what did not

What worked: 0.25.0 is a large step from 0.12.0 on this model. It exports 8,052 building elements, up from 3,776 (4,276 cable carrier segments and fittings are new), and 5,884 bodies come from saved graphics, up from 1,216. Raising every walker limit (--max-walker-*) or adding --diagnostic-proxies changes no body.

What did not: 2,120 bodies stay their element record's bounding box (body_is_record_box). The command was:

rvt-ifc model.rvt -o model.ifc --diagnostics d.json --large-model --revit-property-sets --saved-meshes --family-extrusions --export-decisions

saved_mesh_not_used breakdown from --export-decisions (2,168 entries: the 2,120 record boxes and 48 turned boxes):

detail elements
no_saved_mesh 1,476
partial: … (one element can list several reasons) 692

The reasons inside those 692 partial meshes:

reason count
unsupported parametric profile curve GHermiteSpline 424
shared edge surface samples disagree 338
boundary sample was discarded by triangulation 227
unsupported faceted topology 85
missing current symbol graphics 62
scaled instance mode is not qualified 51
degenerate boundary 34
multiple cylinder trim loops unsupported 2

By class, the 692 partial meshes are 609 IFCBUILDINGELEMENTPROXY, 65 IFCCABLECARRIERSEGMENT, 17 IFCLIGHTFIXTURE and 1 IFCCABLECARRIERFITTING.

The partial meshes look like the most tractable part of W6 (#1191, related #1144) on MEP content: GHermiteSpline profiles alone keep 424 elements as boxes on this model.

Also reported:

  • 2,406 GenericModel records are skipped as element_record_without_volume.
  • 1,128 elements are unsupported_geometry_missing_level.

The --family-extrusions stats: 135 of 5,884 saved-mesh bodies are drawn from extrusions. 61 families were found and 49 rebuilt; 4,163 instances had no rebuilt family, 72 had a mesh too large to compare, and the extrusions did not reproduce the mesh of 1,514.

The model cannot be shared. I can attach the --anonymize diagnostics with export decisions (ElementIds, stream offsets) if that helps.

May we count this as a practitioner report for the 1.0 criteria?

Yes

Activity

  1. added
    type:research
    area:product
    priority:P2
    on Nov 19, 2026
  2. DrunkOnJava commented on Nov 19, 2026

    @DrunkOnJava
    Owner

    Thank you, @yuriyu-webiya, and welcome. A 270 MB MEP model run on two releases, with the reasons counted, is exactly what the 1.0 work needs. Yes, we will count this as a practitioner report.

    What I take from your numbers

    • From 0.12.0 to 0.25.0 the elements roughly doubled (3,776 to 8,052) and the bodies drawn from saved graphics went from 1,216 to 5,884. Good to see that hold on a model this size.
    • Of the 2,168 bodies not drawn from a saved mesh, 1,476 have no saved mesh at all and 692 have a partial one that is not used. You are right that the 692 are the tractable part.

    What happens next

    1. GHermiteSpline profile curves (424 elements) are the largest single reason on your model, so they go first. I am counting the same reason on the open MEP models we measure, so there is a file anyone can check a reader against, and I will post what I find here.
    2. Shared-edge samples that disagree (338) and boundary samples discarded by triangulation (227) come next, in that order.
    3. It is tracked under W6: draw family instances from their saved meshes by default (decode the remaining saved-graphics faces) #1191 (W6).

    Your offer of the anonymized diagnostics: yes, please. The --anonymize output with export decisions lets me rank the reasons by class, and see whether the 1,476 with no saved mesh share a category, without the model leaving your machine. Attach it here whenever it suits you.

    I will also look at the two other counts you list (2,406 GenericModel records skipped as element_record_without_volume, and 1,128 elements as unsupported_geometry_missing_level) once I can see them by category in that file.

  3. DrunkOnJava commented on Nov 19, 2026

    @DrunkOnJava
    Owner

    @yuriyu-webiya, the count I said I would post. On the open models we measure, exported with 0.25.0's defaults, these are the bodies left as a box where the reason names a GHermiteSpline profile curve:

    Model Licence Revit Bodies
    BIM4LCA office, 4 files CC BY-SA 4.0 2024 19 in each
    BIM4LCA housing, 4 files CC BY-SA 4.0 2024 6 in each
    BIM4LCA office terrain, 2 files CC BY-SA 4.0 2024 2 in each
    RE1 Electrical MIT 2025 2
    RE1 Architecture, Mechanical and Plumbing MIT 2025 0

    So the reason is on files anyone can fetch, each with Revit's own export beside it to check a reader against. The office's 19 are where I will start, and RE1 Electrical's 2 are the building-services case.

    None of the open building-services models has it at your scale (424), so your model will be the real test. Once a reader is on main I will ask you for the count before and after. The work is under #1191.

  4. DrunkOnJava commented on Nov 19, 2026

    @DrunkOnJava
    Owner

    @yuriyu-webiya, the reader is on main: #2094, merged as 69ac3a26. A ruled surface or a surface of revolution whose profile is a GHermiteSpline is now read, and a body refused for that curve alone is drawn from its saved graphics.

    A build to run. Run 44568266057 built the release archives from 69ac3a26, for the same five targets as 0.25.0's, with their SHA256SUMS.

    • The one for your machine is rvt-rs-aarch64-apple-darwin, holding rvt-rs-g69ac3a2-aarch64-apple-darwin.tar.gz (SHA-256 b6964d5580f2080d5f885c368016303550a7796c0d3c77b9b67258ff2a0e5693).
    • I checked that checksum and ran its rvt-ifc on a Revit file before posting this. Its --version still prints 0.25.0, since it is built from main, not a release.
    • The run's files stay up until 2027-02-17, and downloading them needs a GitHub sign-in.

    What it does on the open models. This was measured at the pull request's 115d224a (Measure 44536807887), whose exports its merged head keeps. Of the bodies left as a box for a GHermiteSpline profile on main before it, 25 of 130 are now drawn. The four rows I posted earlier:

    Model Bodies Now
    BIM4LCA office, 4 files 19 in each On the two timber files, 2 are the stair flights, now drawn: every vertex of Revit's body within 0.000109 ft of ours, volume 112.116 ft³ against Revit's 112.115. The other 17 there, and all 19 on the other two files, are washbasins that now stop at a malformed ruled-surface edge.
    BIM4LCA housing, 4 files 6 in each Toilets that now stop at a GNurbSpline profile.
    BIM4LCA office terrain, 2 files 2 in each A ramp and its ramp flight, now drawn, within 0.00088 ft of Revit's.
    RE1 Electrical 2 Two panels that now stop at a GNurbSpline profile, one also at a malformed ruled-surface edge.

    The other drawn bodies are on Autodesk's sample projects, which have no Revit export: a beam on each rac_advanced save of 2023 to 2027, and 12 on Snowdon Towers Architectural.

    A body is drawn only when every part of it reads. On the one open building-services file, RE1 Electrical, none is drawn. So some of your 424 may be drawn and some move on to their next reason, and your count is the test. The report is RE-492 (reports/element-framing/RE-492-hermite-spline-profiles-drawn.md).

    The count before and after. Could you run your same command with this build and post two things?

    • the saved_mesh_not_used breakdown from --export-decisions;
    • the number of bodies drawn from saved graphics.

    Only #2094 has changed the saved-graphics readers since 0.25.0. So the GHermiteSpline line is the one this change moves, while the total drawn can also move with the rest of main. One --anonymize diagnostics file from this build, the one you offered, would answer both.

    Against your 0.25.0 figures that shows how many of the 424 are drawn now, and what the rest stop at next. That decides what comes after: shared-edge samples that disagree (338) and boundary samples discarded by triangulation (227), as in my first reply, or whatever the 424 now stop at, if it is larger.

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:productpriority:P2type:research

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions