Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Second-Body Extrude Selection #5456

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

max-mrgrsk
Copy link
Collaborator

Refactors getPathToExtrudeForSegmentSelection to derive the extrude from the segment or sweepEdge artifact rather than scanning by path ID. Thanks @Irev-Dev for help !

This ensures the correct body is always selected when adding fillets/chamfers (previously, the second extrude could mistakenly point to the first). (in piped cases)

Introduces getSweepArtifactFromSelection to retrieve the parent sweep from either a segment or a sweepEdge.

Adds two new test cases verifying that a second extrude referencing the first extrude’s face is correctly identified (both piped and standalone).

We now reliably link selections (segments/edges) to the right extrude, eliminating the “fillet on the wrong body” bug.

Closes: #5358

@max-mrgrsk max-mrgrsk linked an issue Feb 21, 2025 that may be closed by this pull request
Copy link

qa-wolf bot commented Feb 21, 2025

QA Wolf here! As you write new code it's important that your test coverage is keeping up.
Click here to request test coverage for this PR!

Copy link

vercel bot commented Feb 21, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
modeling-app ✅ Ready (Inspect) Visit Preview Feb 21, 2025 8:28pm

@max-mrgrsk max-mrgrsk self-assigned this Feb 21, 2025
@max-mrgrsk max-mrgrsk added the bug Something isn't working label Feb 21, 2025
@max-mrgrsk max-mrgrsk added this to the v1 Modeling App Launch milestone Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: fillet sticks to original body instead of selected feature
1 participant