Repository navigation
test(research): a cylinder face whose trim ring passes its point budget is refused, shown on a face built by hand (#1815) - #1961
Merged
Conversation
…nt budget is refused as such, shown on a face built by hand (#1815)
DrunkOnJava
marked this pull request as ready for review
November 14, 2026 01:40
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
Shows, on a cylinder face built by hand, what #1815's cylinder trim budget does: a face whose trim ring would hold more than 20,000 points is refused as
cylinder trim budget exceeded. This is the part of #1815 still open after #1823.Motivation
#1823 bounded a cylinder face's trim ring (
CYLINDER_RING_POINT_BUDGET, 20,000 points), and its Measure showed that no real face comes near it. #1815's "done when" asks for the refusal to be shown on a synthetic input when no real file reaches it. #1823 left that out because the tests had no way to build an object graph. They do:ObjectGraphdeserializes, and pointers resolve through each object's token when the graph lists no edge.Changes
tests/fuzz_regressions.rs,cylinder_trim_ring_over_its_point_budget_is_refused:CylSurf, oneEdgeLoopand oneEdgewhose stored interior points alone pass the budget.cylinder_facerefuses it ascylinder trim budget exceeded, the error the saved-mesh pass turns into drawing the element without its saved mesh;refined_curved_edgesees an isoparametric edge and adds nothing: the count is the stored points alone.Testing
A test only, with no source change, so no Measure. CI's
hardeningclass runsfuzz_regressions, on the i686 overflow-checks job too.tools/check-local.sh: not run locally (no local builds);rustfmt --checkpasses; CI runs the rest.Audit-honesty checklist
Legal and contribution hygiene
Closes #1815.