Skip to content

Roofs that stay a level block: 10 of Snowdon Towers' 20, 5% to 133% above Revit's volume, their saved graphics do not decode whole (#1612 follow-up) #1630

Closed

Description

@DrunkOnJava

Follow-up of #1612 (RE-389). On Autodesk's Snowdon Towers Architectural (Revit 2024, with Revit's own IFC4 export, local only: counts and percentages only here), #1612 draws 10 of the 20 roofs from their saved meshes, all within 0.4% of Revit's volume and 0.01 ft of its box. The other 10 stay a level block (BodySource partition_element_record_bbox, ProfileResolved true) and roof_bodies_vs_ifc.py puts their volumes 4.9%, 5.5%, 5.6%, 5.8%, 33%, 40%, 42%, 42%, 74% and 133% above Revit's.

What is not known. Why the other 10 do not take their mesh: attach keeps a block where the saved graphics do not decode whole (RE-224, a non-view diagnostic) or give no triangle, and the export log counts those together for every class. A probe of the roofs' own decode diagnostics on the sample (probe_re224_saved_mesh_status) would name the reason for each.

To do. Name the diagnostic of each of the 10, then either decode what blocks them (as RE-300 and RE-301 did for other classes) or read the roofs' slope from their records as RE-199 does for the roofs the slope readers draw; measure against Revit's export on this model; a roof that stays a block keeps the reason in the export diagnostics.

Done when the 10 roofs are within 1% of Revit's volume, or each stays a block with a measured reason.

Activity

  1. added
    area:geometry
    area:ifc
    priority:P2
    type:feature
    on Nov 9, 2026
  2. DrunkOnJava commented on Nov 11, 2026

    @DrunkOnJava
    OwnerAuthor

    Rows registered before the probe runs. The question the issue leaves open is why 10 of Snowdon Towers Architectural's 20 roofs stay a level block. probe_re389_roof_blocks (on main, written with #1612) lists every IfcRoof the export writes with the saved-scene record attach reads, and has not been run on Measure. Run: -f probe=probe_re389_roof_blocks -f probe_scorer=- -f samples=true -f sample_years="2024 2024" -f base=none -f scorers=none on main at 56821a1 (the 2024 samples; Snowdon Architectural is one of them).

    • R1: the roofs that stay partition_element_record_bbox number 10, and each prints scene=yes partial_saved_graphics with at least one diagnostic or an unbounded face: none is scene=no and none has no triangle.
    • R2: the diagnostics of those 10 are of the kinds the other classes already show (nonrectangular parametric trim, shared curved edge ..., unsupported surface HermiteSurf, multiple cylinder trim loops unsupported, disconnected UV boundary, missing surface pointer target); no kind appears that no other saved-mesh census has. A new kind is the next decoding item and is named.
    • R3: the 10 roofs that take their mesh read unbounded=0 and no diagnostic, so the record separates the two sets exactly; if one block has none or one drawn roof has some, the record does not decide and Roofs that stay a level block: 10 of Snowdon Towers' 20, 5% to 133% above Revit's volume, their saved graphics do not decode whole (#1612 follow-up) #1630 stays on the decoder.

    If R1 and R2 hold, the issue's second step is a count of how many of the 10 one kind blocks (a decoder that reads that kind would draw them, as RE-300 and RE-301 did for other classes) and the measurement against Revit's volume the issue lists (4.9% to 133% above), on the local export that cannot be published.

  3. DrunkOnJava commented on Nov 11, 2026

    @DrunkOnJava
    OwnerAuthor

    Result of the probe, Measure 42941250988 (probe_re389_roof_blocks, main at 56821a1, the 2024 samples), against the rows registered above. Two of the three missed as registered.

    What the probe is: it exports without the saved-mesh pass, so every roof reads partition_element_record_bbox before it, and it prints the scene's own record for each. The roofs the pass keeps as blocks are therefore read from the pass's own rule (saved_meshes.rs: a decoder diagnostic that is not a view filter leaves the mesh partial, an element with no primitive or no triangle keeps its box; the unbounded-face count is not read).

    • R1 missed: not 10 but 6 roofs have a diagnostic, each exactly one, and no primitive: 964559 (multiple cylinder trim loops unsupported), 1916596 (shared curved edge changes its fixed parameter), and 1926040, 1975810, 1985275 and 2112673 (malformed ruled-surface edge is connected to face #). The other 14 roofs have no diagnostic and 12 to 668 triangles. The issue's 10 is from 2026-11-09, before RE-408 (feat(saved-graphics): an instance visible in the normal draw and forbidden the targets 10 is drawn, so 332 bodies of Snowdon Towers Architectural come from their saved meshes and match Revit's export (#1645) (RE-408) #1664) drew the instances forbidden the targets 10 (332 bodies of this model); that is the likely reason four more roofs now have a whole mesh, and I have not shown it (the next run checks the drawn set against Revit's volumes).
    • R2 held for two of the six and missed for four: multiple cylinder trim loops unsupported (RE-407's negative) and shared curved edge changes its fixed parameter (25 elements of this model, the same kind as the railings' KAI-5 and KAI-6) are kinds other classes show. malformed ruled-surface edge is connected to face # is on 4 elements of this model's saved-mesh census (saved_mesh_refusals) and on these four roofs alone: a new kind, raised by ruled_surface_component in native_parametric_mesh.rs where an edge of a ruled-surface component does not resolve to two faces.
    • R3 missed: the record does not separate the sets by unbounded faces. All 14 drawn roofs have 1 to 27 unbounded faces and no diagnostic; the diagnostic, with its empty mesh, is what separates the 6.

    So each block now has its reason (the diagnostic above, which SavedMeshRefusal also carries since #1647), and the one new decoding item is the ruled-surface component check on 4 roofs.

    Registered before the next run (Measure of main with keep_ifc=true on the 2024 samples, then tools/re/roof_bodies_vs_ifc.py locally on that export against the local Snowdon IFC4, counts only here):

  4. DrunkOnJava commented on Nov 11, 2026

    @DrunkOnJava
    OwnerAuthor

    Result of the second run, Measure 42943220826 (main at 6bb0244, keep_ifc=true, the 2024 samples), then tools/re/roof_bodies_vs_ifc.py run locally on rvt-rs's kept export of Snowdon Towers Architectural against the local Revit IFC4 (percentages only here), against the rows registered above.

    • N1 held. The 14 roofs with no diagnostic are saved_graphics_mesh bodies (read from the export's RvtElementRecordGeometry.BodySource) and each reads within 0.061% of Revit's volume at most: 7 of them (759489, 882818, 1916295, 1916467, 1916546, 1916562, 1916578) at 0.0610% to 0.0612% over, which is the cosine of their 2.0 degree slope (RE-415), and the other 7 (754197, 754672, 754785, 1924305, 1924316, 1924325, 1935345) at 6e-7 or less. Every vertex of Revit's body lies within 3.7e-6 ft of rvt-rs's surface on all 14 (1.8e-6 on the seven slope roofs). Not measured, and so not met as registered: the "0.01 ft of its box" clause, which this scorer does not read (its surface test is stricter); and the scorer's vertex-to-vertex line reads differs on 8 of the 14 because Revit's tessellation has more vertices than the mesh Revit saved (32 against 8 on the seven slope roofs).
    • N2 held. The 6 others are partition_element_record_bbox and each carries its diagnostic as SavedMeshRefusal: 964559 multiple cylinder trim loops unsupported, 1916596 shared curved edge changes its fixed parameter, and 1926040, 1975810, 1985275 and 2112673 malformed ruled-surface edge is connected to face #. Their volumes are 74%, 42%, 33%, 40%, 42% and 133% above Revit's: the six largest of the ten the issue listed on 2026-11-09 (the other four, 4.9% to 5.8% over then, are now drawn and read 6e-7 or less over, among the 14).
    • The cause of the difference from the issue's 10 is not shown, only that it is gone: the four roofs now drawn are the ones with 5 to 27 unbounded faces, and RE-408 (feat(saved-graphics): an instance visible in the normal draw and forbidden the targets 10 is drawn, so 332 bodies of Snowdon Towers Architectural come from their saved meshes and match Revit's export (#1645) (RE-408) #1664) landed in between.

    So the issue's done-when is met: the ten are within 1% of Revit's volume (four of them) or each stays a block with a measured reason (six). What is left is the six decoders, which are their own issue; this one closes with that report.

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:geometryarea:ifcpriority:P2type:feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions