Skip to content

research(saved-graphics): clipping a trimmed loop to its grid cells frees the office's toilets at 1.006 of Revit's volume, and what is left is Revit's faceting, so the readers stay off main (#1247) (RE-302) - #1321

Merged
DrunkOnJava merged 3 commits into
mainfrom
docs/re302-per-cell-clip-result
Nov 4, 2026

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Summary

A second attempt at #1247's RE-302 readers, recorded as a measured negative like the first (#1264): the report gains section 6, the toilet-faces probe and its scorer land, and the readers stay on re/1247-per-cell-clip (reader code at b5d5546, tip d5d26fb). No reader change on main.

Motivation

The first attempt left two mechanisms open: the office's triangles grew 3.7 times, and the 43 freed toilets were 1.027 to 1.047 of Revit's volume with "extra surface in two of four shells". Negative results bind future work, so what the second attempt measured is recorded.

Changes

  • reports/element-framing/RE-302-ellipse-profiles-and-trimmed-parametric-faces.md: Result and the first attempt's two conclusions corrected in place; section 6:
    • clipping each trimmed loop to the grid cells it covers (Sutherland–Hodgman, a fan or an earcut per piece, the pieces' corners shared): the office goes from 2,097,501 to 1,191,138 triangles (568,885 on main) and from 181.8 to 104.6 MB, so IfcOpenShell validates it again; three grid variants measured (1,354,151 / 110.4 MB, 1,187,075 / 104.4 MB, 1,191,138 / 104.6 MB);
    • the 43 toilets are within 1% of Revit's volume (1.0059 to 1.0060, constant across instances), their area 0.5% above Revit's: the extra surface was not there;
    • per face against Revit's mesh: the 0.022 ft is Revit's faceting of four surfaces of revolution (Revit's vertices there are on our surface); 66 of Revit's 808 vertices lie 0.003 to 0.005 ft off ours where two of our faces meet, which this run cannot assign to Revit or to our boundary;
    • what a next attempt needs.
  • probes/examples/probe_re302_toilet_faces.rs: every decoded face of a few toilets, in document feet (run it at d5d26fb).
  • tools/re/toilet_faces_vs_ifc.py: scores each face against Revit's mesh of the toilet, places Revit's off-surface vertices and measures Revit's sag.
  • docs/format-reconnaissance.md: the RE-302 addendum updated.

Testing

No reader change. Measured on GitHub's runners (section 5 names each command by commit):

  • Measure 41765801884 (per-cell clip with every trim vertex a knot, 301c209, against main at 8b8f1fe), 41765805196 (406e4b5) and 41766414367 (b5d5546, the branch's): the office pair, --saved-meshes, mesh_bodies_vs_ifc and schema.
  • Probe runs 41766357243 (5380e8b) and 41767705968 (d5d26fb): the toilet faces against Revit's export of the office (development data, not held out).
  • Not measured: Core Interior, RE1, the Revit 2025 models and the 2024 samples with the second attempt, since its readers do not land (stated in the report).
  • tools/ci/api-doc-ids.py passes with 300 reports.

The report states one decision for the maintainers: whether the toilets are kept on "ref on ours" as RE1's elbows were (#1280). They fail it (0 of 43), so it does not arise until the 66 vertices are settled.

Audit-honesty checklist

  • No capability claim changes; the report states what is not claimed
  • No user-visible change, so no changelog fragment (as RE-303 and the first RE-302 report)
  • A reproducible probe under probes/examples/ and a dated addendum to docs/format-reconnaissance.md
  • No emojis, private paths or internal jargon

Legal and contribution hygiene

  • Apache-2.0
  • Contributor declaration (CLEANROOM.md): the findings come from public byte observations of the saved graphics of the BIM4LCA office, scored against Revit's own IFC export of the same file. No Autodesk SDK source, decompiled internals, leaked or NDA material was used.
  • No fixtures added

Breaking changes

None.

Related issues

Refs #1247, #255.

…rees the office's toilets at 1.006 of Revit's volume and 2.1 times main's triangles, and what is left is Revit's faceting, so the readers stay off main (#1247) (RE-302)
…ed face by face, and its figures, runs and archive ref match the artifacts (#1247) (RE-302)
@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) November 4, 2026 04:11
@DrunkOnJava
DrunkOnJava merged commit ddc215f into main Nov 4, 2026
27 checks passed
@DrunkOnJava
DrunkOnJava deleted the docs/re302-per-cell-clip-result branch November 4, 2026 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant