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

Refactor addFillet into addEdgeTreatment Function Supporting Chamfers #4593

Merged
merged 6 commits into from
Dec 2, 2024

Conversation

max-mrgrsk
Copy link
Collaborator

@max-mrgrsk max-mrgrsk commented Nov 27, 2024

Summary

This pull request refactors the existing addFillet function into a new addEdgeTreatment function that now also supports chamfers. The function is designed to be extended to support additional edge treatments like bevels, blends, and more.

Note: I will add chamfers to the UI in a separate pull request.

Naming

I've considered the following options:

EdgeTreatment / EdgeModification / EdgeOperation / EdgeProfile
Fimfer / Chamlet / Filcham / Chamfil
EdgeTransform / EdgeMorph / BlendCut / EdgeCut

@mlfarrell, I would appreciate your input on this. @Irev-Dev mentioned that EdgeCut is already used as a general term for fillets and chamfers on the engine side, so I'm happy to adopt this name as well. However, to me, it sounds like an existing CAD function that cuts / splits edges into pieces, whereas edge treatment is a term commonly used in metalworking and woodworking, referring to processes like chamfering or rounding edges to make them safe.

Question

I would also like to rename the file, from addFillet.ts to addEdgeTreatment.ts. Should I do this in this pull request or in a separate one? (renaming the file will remove the diff)

closes: #4527
This issue is part of the larger Fillet UI project: #2606

@max-mrgrsk max-mrgrsk self-assigned this Nov 27, 2024
@max-mrgrsk max-mrgrsk linked an issue Nov 27, 2024 that may be closed by this pull request
Copy link

vercel bot commented Nov 27, 2024

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

Name Status Preview Updated (UTC)
modeling-app ✅ Ready (Inspect) Visit Preview Dec 2, 2024 8:39pm

Copy link

qa-wolf bot commented Nov 27, 2024

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!

@max-mrgrsk max-mrgrsk added feature Feature Requests ast Issues / features relevant to ast and parser. labels Nov 28, 2024
@max-mrgrsk max-mrgrsk marked this pull request as ready for review December 2, 2024 10:04
Copy link
Collaborator

@Irev-Dev Irev-Dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👏

@max-mrgrsk max-mrgrsk merged commit bed7ae3 into main Dec 2, 2024
26 checks passed
@max-mrgrsk max-mrgrsk deleted the max-chamfer-ast-mod branch December 2, 2024 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ast Issues / features relevant to ast and parser. feature Feature Requests refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor Fillet Function to Support Chamfers
2 participants