Skip to content

research(saved-graphics): ellipse profiles, curved ruled surfaces and trimmed parametric faces draw the BIM4LCA office's 43 toilets, none of them Revit's body, at 3.7 times the triangles, so the readers stay off main (#1247) (RE-302) - #1264

Merged
DrunkOnJava merged 2 commits into
mainfrom
research/1247-re302-negative
Nov 3, 2026

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Nov 3, 2026 •

Copy link
Copy Markdown
Owner

Summary

A measured negative for #1247, landed the way RE-303's was: the report, its two probes and a reconnaissance addendum, with no reader change. The readers for ellipse profiles, curved ruled surfaces and parametric faces trimmed by any single loop draw the BIM4LCA office's 43 toilets from their saved meshes. None of them is Revit's body, and the office's triangles grow 3.7 times, so the readers stay on research/1247-ellipse-profiles at f4d82ed.

Motivation

After RE-304, the office's census of saved meshes kept as boxes (#255, RE-224) was led by three gaps in the parametric readers: GEllipse profiles, non-rectangular trims and curved ruled profiles. Negative results bind future work, so the measurement and the two mechanisms a next attempt has to address are recorded.

Changes

  • reports/element-framing/RE-302-ellipse-profiles-and-trimmed-parametric-faces.md:
    • the readings;
    • the census at each reader step, 124 kept boxes to 84;
    • the 43 toilets against Revit's export: 1.027 to 1.047 of its volume, up to 0.0218 ft off, two of four shells over;
    • the cost: 568,965 to 2,097,501 triangles and an 82 to 182 MB IFC, over Measure's 120 MB validation limit;
    • the two mechanisms: quadratic slivers from cutting earcut triangles at every knot, and extra surface that is not a second branch of the edge trace.
  • probes/examples/probe_re302_ellipse_profiles.rs: what a GEllipse holds, and what points to it.
  • probes/examples/probe_re302_plane_edges.rs: how far an edge a plane shares with a curved face lies from the plane, at Revit's samples and between them, and how many sign changes each traced point's search sees.
  • docs/format-reconnaissance.md: the dated addendum.

Testing

No reader change. Measured on GitHub's runners:

  • Measure 41585460305: the readers at f4d82ed against main at 30756e9, --saved-meshes, mesh_bodies_vs_ifc and schema. Core Interior and RE1 are byte-identical.
  • The census 41585448251.
  • The probes 41559823434 (the ellipse census, at 6efd70b), 41578601400 and 41587751357 (the plane edges, at 970d1b3 and 827718f).
  • A review read every number against these runs; its corrections (the base commit, the samples that move, the ellipse counts, the probes' commits) are in 8dd8649.

The report's section 5 names each command by commit. tools/ci/api-doc-ids.py passes with 284 reports.

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)
  • 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 and Autodesk's sample projects, and are scored against Revit's own IFC exports of the same files. No Autodesk SDK source, decompiled internals, leaked or NDA material was used.

Breaking changes

None.

… trimmed parametric faces draw the BIM4LCA office's 43 toilets, none of them Revit's body, at 3.7 times the triangles, so the readers stay off main (#1247) (RE-302)
…56e9), the ellipse census run, the three elements counted from 23628b7, the samples that move, and the probes' commits; the addendum counts profiles and single loops (#1247) (RE-302)
@DrunkOnJava
DrunkOnJava marked this pull request as ready for review November 3, 2026 06:23
@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) November 3, 2026 06:23
@DrunkOnJava
DrunkOnJava merged commit 3e36e51 into main Nov 3, 2026
27 checks passed
@DrunkOnJava
DrunkOnJava deleted the research/1247-re302-negative branch November 3, 2026 06:28
DrunkOnJava added a commit that referenced this pull request Nov 3, 2026
…aws 30 more BIM4LCA office fittings, none of them Revit's body, so the change stays off main (#1247) (RE-305) (#1265)

## Summary

A measured negative for #1247, as RE-303's and RE-302's (#1264) are: the
report and a reconnaissance addendum, with no reader change. Meshing a
cylinder face trimmed by several loops draws 30 more BIM4LCA office
bodies from their saved meshes. All are `Stay_Wall_Mounted_:VAR-1`, and
none is Revit's body, so the change stays on
`research/1247-cylinder-holes` at 0f37766.

## Motivation

After RE-304, `multiple cylinder trim loops unsupported` keeps 45 office
elements as boxes, 30 for it alone (#255, RE-224). Negative results bind
future work.

## Changes

- `reports/element-framing/RE-305-cylinder-holes.md`:
  - the reading;
- the 30 fittings against Revit's export: 1.109 to 1.120 of its volume
where the scorer lists them, at most 0.0118 ft off, three of five shells
over;
  - the triangle cost, 568,965 to 822,135;
- what it has in common with RE-302's toilets, with no shared cause
shown.
- `docs/format-reconnaissance.md`: the dated addendum, placed apart from
#1264's so the two land without conflict.

## Testing

No reader change. Measure 41573475107: the change at 0f37766 against
`main` at 8979384, `--saved-meshes`, `mesh_bodies_vs_ifc` and `schema`.
Core Interior, RE1 and the 24 R2025 models are unchanged. A review read
every number against the run; its corrections are in the second commit.
This lands after #1264, whose RE-302 report it cites.
`tools/ci/api-doc-ids.py` passes.

## Audit-honesty checklist

- [x] No capability claim changes; the report states what is not claimed
- [x] No user-visible change, so no changelog fragment
- [x] A dated addendum to `docs/format-reconnaissance.md`; the census
probe is RE-224's `probe_re224_saved_mesh_status`
- [x] No emojis, private paths or internal jargon

## Legal and contribution hygiene

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

## Breaking changes

None.
DrunkOnJava added a commit that referenced this pull request Nov 3, 2026
…RE-305, the measured negatives a contributor to #1144 should read first (#1268)

## Summary

The contribution map's #1144 row (meshing more saved-graphics surface
kinds) now points at RE-302 and RE-305. Those are the measured negatives
on ellipse profiles, curved ruled surfaces, parametric faces trimmed by
any single loop and cylinders with holes. Each drew bodies that are not
Revit's, so the readers stayed off `main`.

## Motivation

#1144 is open to contributors. Without the pointer, someone could
rebuild the RE-302 or RE-305 readers and meet the same results: 1.03 to
1.12 of Revit's volume where the scorer lists them, with the extra
surface in particular shells, and in RE-302's case 3.7 times the
office's triangles. Negative results bind future work.

## Changes

- `docs/contribution-map.md`: one row.

## Testing

Docs only. `tools/ci/api-doc-ids.py` passes, and both reports exist on
`main` (#1264, #1265).

## Audit-honesty checklist

- [x] No capability change, so no fragment
- [x] No emojis, private paths or internal jargon

## Legal and contribution hygiene

- [x] Apache-2.0

## Breaking changes

None.
@DrunkOnJava

Copy link
Copy Markdown
Owner Author

Automated Claude Code review (the maintainer's review agent; it read the report against runs 41585460305, 41559823434 and 41578601400): eight blocking items, all in how RE-302 states its numbers, fixed in 8dd8649. The report names the run's real base (30756e9) and the census run, says 8 of 10 samples move rather than every file, drops a footing figure no run measured, counts profiles and single loops correctly in the addendum, and pins the probes' commits.

DrunkOnJava added a commit that referenced this pull request Nov 4, 2026
…rees 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)

## 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

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

## Legal and contribution hygiene

- [x] Apache-2.0
- [x] 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.
- [x] No fixtures added

## Breaking changes

None.

## Related issues

Refs #1247, #255.
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