You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
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
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 (BodySourcepartition_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.
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.
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.
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).
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):
N2: the 6 others keep partition_element_record_bbox and carry the refusal text above.
If a roof of the four fails N1, its mesh is whole but not Revit's body and the pass must not draw it: that is a finding on RE-389's roof gate, reported here.
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).
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.
Activity
feat(ifc): a roof drawn as the level block of its sketch outline is d…
docs(ifc): the GGTag comment cites RE-401, the number this finding ta…
feat(ifc): a GGTag is walked as a group of one point, so the roofs it…
research(roofs): probes of why each roof stays a level block and of t…
docs(ifc): the GGTag comment cites RE-401, the number this finding ta…
docs(re): RE-401 reports that a GGTag is a group of one point and tha…
docs(re): RE-401 records the pre-registered second-project reading: n…
feat(ifc): a GGTag is walked as a group of one point, so the roofs it…
DrunkOnJava commentedon Nov 11, 2026
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(onmain, written with #1612) lists everyIfcRoofthe export writes with the saved-scene recordattachreads, 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=noneonmainat 56821a1 (the 2024 samples; Snowdon Architectural is one of them).partition_element_record_bboxnumber 10, and each printsscene=yes partial_saved_graphicswith at least one diagnostic or an unbounded face: none isscene=noand none has no triangle.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.unbounded=0and 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.
DrunkOnJava commentedon Nov 11, 2026
Result of the probe, Measure 42941250988 (
probe_re389_roof_blocks,mainat 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_bboxbefore 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).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).multiple cylinder trim loops unsupported(RE-407's negative) andshared 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 byruled_surface_componentinnative_parametric_mesh.rswhere an edge of a ruled-surface component does not resolve to two faces.So each block now has its reason (the diagnostic above, which
SavedMeshRefusalalso 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
mainwithkeep_ifc=trueon the 2024 samples, thentools/re/roof_bodies_vs_ifc.pylocally on that export against the local Snowdon IFC4, counts only here):saved_graphics_meshbodies, and each reads within 1% of Revit's volume and 0.01 ft of its box (the 10 of Revit 2023 to 2025: roofs drawn as their sketch outline's level block are not drawn from their saved meshes, so one project's saves disagree #1612 at 0.4%, and the four it did not draw).partition_element_record_bboxand carry the refusal text above.DrunkOnJava commentedon Nov 11, 2026
Result of the second run, Measure 42943220826 (
mainat 6bb0244,keep_ifc=true, the 2024 samples), thentools/re/roof_bodies_vs_ifc.pyrun locally on rvt-rs's kept export of Snowdon Towers Architectural against the local Revit IFC4 (percentages only here), against the rows registered above.saved_graphics_meshbodies (read from the export'sRvtElementRecordGeometry.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 readsdifferson 8 of the 14 because Revit's tessellation has more vertices than the mesh Revit saved (32 against 8 on the seven slope roofs).partition_element_record_bboxand each carries its diagnostic asSavedMeshRefusal: 964559multiple cylinder trim loops unsupported, 1916596shared curved edge changes its fixed parameter, and 1926040, 1975810, 1985275 and 2112673malformed 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).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.
docs(re): RE-420 finds why 6 of Snowdon Towers Architectural's roofs …