Repository navigation
fix(saved-graphics): a plane or cylinder face's ring joins stored edge ends within 0.00001 ft along the surface as one point (#2085) - #2120
Merged
Conversation
…e ends within 0.00001 ft along the surface as one point, where Revit's saved edges part by less than that (#2085)
…he bound, a seam, a short edge and an edge both of whose ends touch the ring, as pure-helper tests (#2085)
…arer, so the guard alone refuses the ring (#2085)
…ong the surface are one point; its changelog entry and reconnaissance addendum (#2085)
…n on their chairs (#2085)
DrunkOnJava
marked this pull request as ready for review
November 21, 2026 03:40
1 task done
DrunkOnJava
added a commit
that referenced
this pull request
Nov 21, 2026
…ount and its reads, and three reports cite rebuilt reads refs (#2085, #2111) (#2121) ## Summary RE-497, landed in #2120, stated several things the recounts already posted on #2085 corrected, and its reads were not archived. This brings it in line, and repoints three reports at rebuilt reads refs, docs only. - **§1:** of the housing's 165 plane rings at 0.0001 to 0.001 ft, 68 part by exactly 0.1 mm (60 along one parameter, 8 along both), not "most". The three graphs holding 158 of them hold 53, 53 and 52, not "the same counts". - **§3:** 13 planes (5 housing, 8 office) stay refused through a cylinder beside them that is still refused; they were left out. - **§3:** the 67 objects whose refusal text changes stay refused, and the three reasons that rise are now given with their counts: `disconnected parametric trim in model coordinates` on 60, `a trim loop does not close in the surface's parameters` on 1, and `shared curved edge leaves adjacent plane` on 6. - **§3:** the crack probe does not track the newly drawn mullions; their evidence is their fit to Revit's export. - **§3, added:** the reads of the kept exports are cited: `research-tools/2085/` on `refs/archive/2026-11-21/measure-2085-reads` (`dfb7cb34`). - **§5:** the contributor's runs were on the research branch, which also carries a polygon fix and a larger graph budget; `main` has not been run on their save. - **Addendum:** the gaps from 0.00001 to 0.0001 ft are kept apart as not read, rather than counted with the missing pieces. - **RE-495 and RE-496:** their reads ref, `refs/archive/2026-11-20/measure-2111-reads`, was rebuilt as one commit (`b060ca4b`) with each script's paths taken relative to the repository, as was #2085's. Their citations follow. - **Header:** the crack probe is cited by its archive refs, as §4 already was. ## Testing Docs only; no code, output or measured figure changes. The figures are those posted on #2085: the 0.1 mm count from the gap probe ([7053384257](#2085 (comment))), the rest from Measure [44857635338](https://github.com/DrunkOnJava/rvt-rs/actions/runs/44857635338) ([results](#2085 (comment))). ## Legal and contribution hygiene - [x] Apache-2.0. No 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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A plane or cylinder face whose ring of stored edges does not join within 1e-7 in the surface's parameters is refused as
disconnected UV boundary. This joins a ring where every gap's step along the surface (a chord on a plane, a helix on a cylinder, so a seam never qualifies) is under 0.00001 ft. Each such pair of ends becomes one point, the ring's own: the next edge's stored end is dropped, so its first span starts up to 0.00001 ft off it. No edge is added. Wider gaps stay refused, as Griffin chose (2026-11-21, #2085).On
mainthis draws the BIM4LCA office's curtain mullions 3029185 and 3029301 from their saved meshes, six bodies across four files. Each is within 0.000003 ft of Revit's body and at its volume. Four walls gain their five base quantities, all equal to Revit's. Nothing that was drawn changes, and nothing is newly refused.Testing
Rows registered on #2085 before any run was read (rows, results). RE-497 has the figures.
42fad511against0d0fc927, every model, held-out included):ifc_body_diff.pyfinds no drawn body changing and none lost.disconnected UV boundaryonmain, and they stay refused.diagnostics.jsondiffer in two counts only.body_sources:saved_graphics_mesh+2 or +1 on each office file andpartition_family_instance_oriented_box−2 or −1, the mullions.saved_mesh_refusals: its keys move with those 67 texts.psets_vs_ifcline.joined_ring's failure modes.Changes
src/research/native_saved_mesh.rs:ring_implis split intoring_segmentsandjoined_ring;step_lengthand the touching join (RING_TOUCHING,joined_within); four tests.reports/element-framing/RE-497-touching-ring-ends.md,changelog.d/fixed/2085-touching-ring-ends.md, and thedocs/format-reconnaissance.mdaddendum.Not in this change: the research branch's bounded join for revolved, ruled, cone and spline faces, which is to be held to the same 0.00001 ft before it is proposed.
Legal and contribution hygiene
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).