Repository navigation
Conversation
…la#185) Symmetry and wall-thickness probes started at each face vertex average, which for a concave cap (a U) lies in open space. They now start from a point on the face (the centroid of its largest triangle when the face is not convex). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018inpPNqrJ4RQcb5toxiqEE
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.
Fixes #185.
Cause. The issue's hunch is right. The symmetry check and the wall-thickness rays start at each face's vertex average, and for the U-shaped cap that point lies in the open notch.
Fix. These probes now start at a point on the face: the vertex average for triangles and convex faces, otherwise the centroid of the face's largest triangle. Patch segmentation still uses the vertex average.
Result. The issue's U now reports
sym=XZ wall_min=0.500, the same as the shape built by cutting a box.Test. That U, built with
make_extrude_2d_with_holes.Re-checked on current
main(d9d9c22, 2026-12-06): merges cleanly, the full workspace test suite passes with this PR applied (278 tests, 0 failures), andcargo clippy --workspace --all-targetsreports no warnings.🤖 Generated with Claude Code
https://claude.ai/code/session_018inpPNqrJ4RQcb5toxiqEE