Repository navigation
fix(saved-graphics): an edge two cylinder faces share takes the points where the two cylinders meet, held by both faces, so the faces meet (#2104) - #2107
Conversation
…etween its saved points, so the two faces meet (#2104)
|
The rows as read: 1 to 4 and 6 hold, 5 fails, so this does not go for review as it is.
Why row 5 fails, read on one toilet. 24 of its vertices are not where What changes. A rule that closes the gap must keep each vertex on its own cylinder, so the strips do not tilt, and bring both faces' boundaries onto the same line along the edge. The straight line between saved points does the second only; The pairs with a surface of revolution, step 2 of #2104, follow this rework rather than the straight-line rule the note on #2104 planned for them. |
…s where the two cylinders meet, refined once and held by both faces, in place of the straight line between its saved points (#2104)
|
Rebuilt at
The list is the ring's. Each face still puts its own strip points between the shared ones, so whether the faces meet within 0.001 ft is measured, not given. Rows, registered before any run of this head is read. The probe is
One thing was seen before these rows: the watcher printed run 44720380479's summary line (9 of 16 exports differ, all 16 Runs, in order. First, cheap ones: the probe on the 2024 samples and one housing file (44720372263), and the 2024 samples' exports kept against What each outcome means.
|
|
The cheap runs of
What is read of row 6's misses, and what is not. On the two bodies read (a toilet and 1135932):
Why those Revit vertices stand off rvt-rs's surface near the new points is not read. Whether this lands with row 6's rise on record, or |
|
The full runs of
Why the toilets fit worse, on either file, is not read. Whether this lands with rows 5 and 6 on record, or waits for that reading, goes to Griffin now, and his answer will be posted here. |
|
Griffin's call: this lands now, with the fit loss on record, and its cause is read next. He chose that over fixing the fit before landing. So, in order:
One correction to that reading: its "12 to 8 of 16" and "16 to 9 of 19" are the scorer's summary lines. Only the four |
|
Read since, on #2111: row 5's toilet leaving the 0.01 ft column was the scorer's 400-vertex sample (#2114), and on the bodies read row 6's count moved with the triangulation; whether that is a worse fit is not shown (the reading, as corrected). RE-495 and its changelog entry are corrected in #2115. |
…rtex sample, and on the bodies read row 6's count moved with the triangulation (#2111) (#2115) ## Summary RE-495, its changelog entry and its reconnaissance addendum recorded #2107's two failed rows as a fit loss. Read since with every vertex ([#2111](#2111 (comment))): row 5's RE1 toilet leaving the 0.01 ft band was `mesh_bodies_vs_ifc`'s 400-vertex sample (#2114), and row 6's rise in Revit vertices beyond 0.001 ft moved, on the bodies read, with the triangulation at a threshold equal to the chord bound, shown neither as a fit loss nor as a finer mesh. This adds a dated §5 to RE-495 and rewrites the two summaries to match; the record of what was measured at landing stays. ## Motivation The entries go out in 0.26.0 and should not call a sampling shift and a moved triangulation a fit loss. ## Changes - `reports/element-framing/RE-495-cylinder-pair-edges.md`: the status line points to a new §5, "Read after landing". - `changelog.d/fixed/2104-cylinder-pair-edges.md`: the cost sentence. - `docs/format-reconnaissance.md`: RE-495's addendum. ## Testing N/A: docs only. `python3 tools/release/changelog.py check` passes. The figures are #2111's reading, whose tools are archived on `refs/archive/2026-11-20/measure-2111-reads`. ## Audit-honesty checklist - [x] What is read and what is not are both stated; the landing-time record is kept. - [x] No private paths. ## Legal and contribution hygiene - [x] Apache-2.0; no Autodesk proprietary content. ## Breaking changes None.
…ound, and the percentages name the files they are read on (#2111)
…alf the faces' chord, not a quarter, for fewer triangles (#2111) (#2116) ## Summary #2111's change for the triangle cost of #2107, which Griffin chose over keeping #2107's finer edge (2026-11-20). #2107 refines an edge two cylinder faces share until the chord between neighbouring points is within `EDGE_SAGITTA` (0.00025 ft), a quarter of the 0.001 ft chord the cylinder faces are meshed to. This refines that edge to half the faces' chord (0.0005 ft); the edges a cylinder shares with a plane keep `EDGE_SAGITTA`. At the faces' whole chord (`42cf34ad`, the first commit), two downpipes on each BIM4LCA housing file reopened past 0.001 ft, so the bound was halved (`ae2d0d91`). The rows and their reading are on #2111: [the rows](#2111 (comment)), [row 8](#2111 (comment)), [the second bound](#2111 (comment)). ## Motivation #2111: #2107 grew the triangle totals of the bodies with such edges by up to 1.35 on the plumbing and HVAC samples (RE-495). [Read since](#2111 (comment)), on the three faces measured, #2107's narrower strips lie nearer the true cylinder. ## Changes - `src/research/native_saved_mesh.rs`: - `EdgeLimits` carries the chord bound (`sagitta`); `bisect_crossing_edge` reads it in place of `EDGE_SAGITTA`. - `refined_cylinder_pair_edge` passes half the cylinder profile's chord; every other caller passes `EDGE_SAGITTA`. - `refined_cylinder_pair_edge`'s doc comment no longer says a refinement error refuses nothing; the cylinder's point budget does refuse. - `reports/element-framing/RE-496-pair-edge-half-chord.md`, `changelog.d/changed/2111-pair-edge-half-chord.md`, `docs/format-reconnaissance.md`, and RE-495's §5: the docs commits, which also correct the code comment's count of downpipes and give #2107's changelog entry its cost at this bound. The same-project gates passed on `ae2d0d91`, which holds every code change; the last commit changes only that comment in `src/`. ## Testing Unit tests are banned in this repository. Every row holds at half the chord ([the reading](#2111 (comment))): the probe ([44801424565](https://github.com/DrunkOnJava/rvt-rs/actions/runs/44801424565)) keeps every boundary vertex between two cylinders within 0.001 ft on the 77 files it reads; over the 1,492 graphs holding a cylinder pair, the cylinder triangles go from 1,682,972 to 1,500,882 (1,385,188 before #2107), counting each graph once. The cost: the farthest standoff rises on 147 graphs, by at most 0.000318 ft, within 0.001 ft. The full Measure ([44807747546](https://github.com/DrunkOnJava/rvt-rs/actions/runs/44807747546)) finds 102 `diagnostics.json` identical, no `psets_vs_ifc` or `qtos_vs_ifc` line moving, only the bodies with a cylinder pair changing, and the same-project gates passing on `ae2d0d91`. ## Audit-honesty checklist - [x] The report (RE-496), the changelog entry and the reconnaissance addendum follow the runs; RE-495's "not read" list carries the which-face reading. ## Legal and contribution hygiene - [x] Apache-2.0; no Autodesk proprietary content (CLEANROOM.md). ## Breaking changes None: research module internals only. **Checked with every vertex before landing (#2114):** none of the 40 bodies that move on RE1 Architecture and Plumbing and two BIM4LCA housing files is worse than with #2107 against Revit's exports (RE-496 §2). Review: rvtReview, the maintainer session, wrote this change and, as rvtDevelop is not running, re-reads its diff and approves it itself on a green head (Griffin, 2026-11-12).
…riangle totals #2107 raised by more than 10 per cent (#2111) (#2117) ## Summary RE-496, its changelog fragment and its reconnaissance addendum said, in these words or close to them, that 48 to 100 per cent of the triangles #2107 added go "on the 13 files where #2107 added the most". Those 13 are the files whose triangle totals #2107 raised by more than 10 per cent, as [the reading on #2111](#2111 (comment)) says. Over every graph, counted once, the figure is 61 per cent (182,090 of 297,784). RE-496 gave it as a count only. The fragment's standoff rise said "at most 0.0003 ft"; the measured figure is 0.000318 ft, now written 0.00032. ## Motivation The phrase went out on #2104 and #2111 too. Those comments are corrected and marked as edited. This brings the files on `main` into line before the next release assembles the fragment. ## Changes - `reports/element-framing/RE-496-pair-edge-half-chord.md`: the Status line names the 13 files by how they were chosen and adds the 61 per cent. The §2 table is introduced the same way. - `changelog.d/changed/2111-pair-edge-half-chord.md`: leads with 61 per cent, counting each graph once, then the range on the 13 files; 0.0003 becomes 0.00032 ft. - `docs/format-reconnaissance.md`: the RE-496 addendum's range names the 13 files the same way. ## Testing Docs only: no code or output changes, and no measured figure changes. `python3 tools/release/changelog.py check` passes. ## Audit-honesty checklist - [x] The figures are RE-496's own: the 61 per cent, the 13 files and the 0.000318 ft come from the probe run [44801424565](https://github.com/DrunkOnJava/rvt-rs/actions/runs/44801424565), with the side before #2107 from [44730930391](https://github.com/DrunkOnJava/rvt-rs/actions/runs/44730930391). - [x] No emojis, private paths or internal jargon. ## Legal and contribution hygiene - [x] Apache-2.0. No Autodesk proprietary content. No fixtures. ## Breaking changes None. Review: rvtReview, the maintainer session, wrote this change. As rvtDevelop is not running, it re-reads the diff and approves the change itself on a green head (Griffin, 2026-11-12).
… body, not a stride of at most 400 (#2114) (#2118) ## Summary `tools/re/mesh_bodies_vs_ifc.py` now tests every distinct vertex of a scored body against the other body's surface, both ways, instead of a stride of at most 400 (#2114). The stride passed a body whose untested vertex failed a column. Because added vertices shifted which 400 were tested, it also moved the 0.01 ft and 0.001 ft columns when a mesh only gained vertices. The distance is the same exact routine as before (`surface_distance`), given more points. On byte-identical exports of the 41 models, with only the scorer changed: - no count or volume column moves; - no distance column rises, as a superset of the tested vertices requires; - six class rows on six files fall. ## Motivation Part of #2114, which stays open for the body stride and `fitting_faces_vs_ifc`. #2114: on RE1 Architecture the toilet left the 0.01 ft column and the shower head entered it with #2107, though neither body's farthest vertex moved. Rows that said "no count of `mesh_bodies_vs_ifc` falls" decided landings while depending on which 400 vertices were tested. ## Changes - **`tools/re/mesh_bodies_vs_ifc.py`:** - `sample` becomes `vertices`: every distinct vertex, sorted as before. - `VERTEX_CAP` is gone. - The docstrings say every vertex is tested. - **`tools/re/family_extrusion_bodies_vs_ifc.py`:** its docstring's "every tested vertex" becomes "every vertex". It runs `mesh_bodies_vs_ifc.main`. - **`tools/re/arc_tessellation_study.py`:** calls `vertices` in place of `sample`. - **`tools/re/saved_mesh_status_vs_ifc.py`:** imports and calls `vertices` in place of `sample`, so it tests every vertex too. Neither Measure nor CI runs it; without this it would fail on import. Not in this change: - The per-class stride of 300 bodies by Tag (`CLASS_CAP`, repeated in `saved_mesh_status_vs_ifc.py`) still shifts which bodies are scored when a change adds bodies. Changing it moves every class row on the large models, so it comes in its own PR, through one shared function. - `fitting_faces_vs_ifc.py`'s stride of 600 vertices per face is its own code and is not fixed here. - The `*_across_saves` scripts the same-project gates run have no such stride. ## Testing Unit tests are banned in this repository: do not add them. - [x] **Run.** Measure [44837755615](https://github.com/DrunkOnJava/rvt-rs/actions/runs/44837755615), scorers from this branch, code `5a8a451a` (`main`), `nordic`, `r2025` and `samples`, `scorers=mesh_bodies_vs_ifc`. - [x] **Baseline.** The head side of [44807747546](https://github.com/DrunkOnJava/rvt-rs/actions/runs/44807747546) (`ae2d0d91`, whose `src` differs from `5a8a451a` only in three comment lines), scored with `main`'s scorer. - [x] **Exports identical.** All 41 models the scorer reads have the same `ifc.sha256` on both sides. - [x] **Rows.** Of the class rows, n and both volume columns are identical on every file. No 0.01 ft, 0.001 ft or "ref on ours" count rises. Six rows fall: | File | Class (n) | 0.01 ft | 0.001 ft | ref on ours | | --- | --- | --- | --- | --- | | Housing terrain, concrete and timber | `IfcGeographicElement` (21) | 12 → 12 | 1 → 1 | 3 → 2 | | Office terrain, concrete and timber | `IfcRampFlight` (5) | 5 → 5 | 5 → 4 | 5 → 5 | | Office timber, as built | `IfcStairFlight` (2) | 2 → 0 | 0 → 0 | 2 → 2 | | Office timber, permit | `IfcStairFlight` (5) | 5 → 3 | 3 → 3 | 5 → 5 | - [x] **Against #2114's every-vertex figures.** On RE1 Architecture, the toilet (359466) reads 0.01299 ft from rvt-rs to Revit, against 0.01212 ft with the stride. The shower head (369643) reads 0.01007 ft on both. #2114 read their farthest of all as 0.012989 and 0.010066 ft on #2107's commits, before #2116. - [x] **Time, scorer run alone.** The step's wall time from each model's `timings.log` in 44837755615: - the office as built, 43 s to 279 s; - the office permit and the timber office, 39 to 71 s to 182 to 192 s; - the housing terrain files, 6 s to 105 s; - the other housing files, 10 to 17 s to 48 to 50 s; - the office terrain files, 3 s to 16 and 17 s; - nothing else over 12 s. - [x] **Time, under full load.** In an unfiltered Measure, [44839463264](https://github.com/DrunkOnJava/rvt-rs/actions/runs/44839463264), every scorer runs beside it. - The exports are byte-identical to the baseline's, and the same six rows move. - The slowest mesh step is the office as built, 104 s, against 43 s at 400 vertices in the baseline's full run. - The other three office files (permit, and the timber office as built and at permit) and the two terrain housing files take 63 to 81 s; every other file takes 26 s or less. - The step's limit is 2,400 s. - The step adds about a minute to a shard (up to four at the filtered run's figures). Between the two runs shard totals moved both ways, and the slowest shard in both was Autodesk's 2024 to 2027 samples (19 and 26 minutes). That shard has no Revit export, so this scorer does not run there, and the full run's wall time did not grow in this run. - All 41 outputs end in `exit 0`, and none reports a worker dying. The filtered run was slower than this one on every file, by 1.7 to 2.8 times (279 s against 104 s on the office as built, 105 against 63 on the terrain housing). Both run one job per CPU (`MEASURE_JOBS`); the cause is not read. - [x] **The fine tessellation**, timed once each with the scorer alone on the BIM4LCA office as built: [44844099459](https://github.com/DrunkOnJava/rvt-rs/actions/runs/44844099459) and [44844102778](https://github.com/DrunkOnJava/rvt-rs/actions/runs/44844102778). - The step takes 352 s, against 269 s with the stride. The two ran on different processors, so the difference is not a measured cost, and neither was timed under full load. - Of the `fine` class rows, only `IfcWasteTerminal` moves: 0.001 ft and "ref on ours" 59 → 56. None rises. - Both end in `exit 0`. - **Not run:** `slab_bodies_vs_ifc`, `shading_bodies_vs_ifc` and `changed_bodies_vs_ifc`, which inherit the change through `main` or `score_all` and are not in Measure's default set; and `saved_mesh_status_vs_ifc`. - [x] Python only: `python3 -m py_compile` on the three files. No Rust changes. ## Audit-honesty checklist - [x] Docs reflect the change: the scorer's docstrings. The figures quoted in older reports and in `docs/support-matrix.json` record what the scorer measured then, and are left as they were. - [x] No changelog fragment: a measurement tool, nothing a user of the crate sees. - [x] No emojis, private paths or internal jargon. ## Legal and contribution hygiene - [x] Apache-2.0. - [x] No Autodesk proprietary content. - [x] No fixtures. ## Breaking changes None. `sample` is renamed `vertices`; its other callers, `arc_tessellation_study.py` and `saved_mesh_status_vs_ifc.py`, are updated. A search of `tools/` finds no other. Review: rvtReview, the maintainer session, wrote this change. As rvtDevelop is not running, it re-reads the diff and approves the change itself on a green head (Griffin, 2026-11-12).
Summary
Step 1 of #2104. Where two cylinder faces share an edge whose saved samples run across both parameters on both sides, the edge takes the points where the two cylinders meet between its saved samples, refined once and held by both faces' rings; every added point is solved onto both surfaces. On the 77 files read, no boundary vertex between two cylinders is left over 0.001 ft, against 3,170 on
main, and no other pair of surfaces parts. Two of the eight registered rows failed: 45 of the 62 bodies that move on Snowdon Towers Architectural fit Revit's export worse on one count, and one toilet on RE1 Architecture leaves the 0.01 ft band (#2111, read next). The bodies the probe reads hold up to 1.35 times the triangles on the plumbing and HVAC samples. Griffin chose to land it with that on record, and kept the choice once told the triangle cost (2026-11-20). Report: RE-495.Motivation
#2104: on
main, two cylinder faces each put their own steps between an edge's saved points, so their boundaries part: up to 0.00158 ft on Snowdon Towers HVAC's 36Round Tee:Standard(1,152 boundary vertices over 0.001 ft), and about 3,170 over 0.001 ft in all on the samples and the BIM4LCA housing. RE-492 and RE-493 put the faces beside a plane on shared points; between two cylinders nothing did.Changes
src/research/native_saved_mesh.rs:refined_curved_edge: an edge whose other face is a cylinder goes torefined_cylinder_pair_edge.refined_cylinder_pair_edge: where both sides' samples run across both parameters (isoparametric_axis), side 0 bisects between its saved samples withbisect_crossing_edge, solving each point onto side 1's cylinder, until the chord between neighbours is withinEDGE_SAGITTA, asrefine_crossing_edge_withindoes at a plane. Side 1 takes the same points in its own parameters. A point beyond either face's envelope is left out by both. An edge that does not qualify, or whose refinement fails, keeps the samples the graph stored; the cylinder's point budget refuses as at a plane.CylinderFrame: a cylinder's frame, evaluation, signed distance from its surface and parameters of a point.reports/element-framing/RE-495-cylinder-pair-edges.md: the report.changelog.d/fixed/2104-cylinder-pair-edges.md: the changelog fragment.docs/format-reconnaissance.md: RE-495's addendum.Testing
Unit tests are banned in this repository. Rows registered before any run of this head was read: the rows for
ed2d342d; the full reading: rows 1 to 4 and 7 hold, row 5 fails on one family row, row 6 fails, row 8 is read. The probe on 77 files (44730930391) and the full Measure (44730938605: 89 of 120 exports and all 102diagnostics.jsonidentical; 2,818 bodies change on the 30 kept exports that differ, every one on the probe'scylpairlist; the same-project gates pass). The commit aftered2d342dis docs only: the report, the changelog fragment and the reconnaissance entry.Review: rvtReview, the maintainer session, wrote this change and, as rvtDevelop is not running, re-reads its diff and approves it itself on a green head (Griffin, 2026-11-12).
Audit-honesty checklist
Legal and contribution hygiene
Breaking changes
None: research module internals only.