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

Mixin NthSelector #517

Closed
marcus7070 opened this issue Nov 21, 2020 · 0 comments · Fixed by #549
Closed

Mixin NthSelector #517

marcus7070 opened this issue Nov 21, 2020 · 0 comments · Fixed by #549
Labels
enhancement New feature or request selectors

Comments

@marcus7070
Copy link
Member

While working on RadiusNthSelector in #504 I duplicated a fair bit of code from DirectionNthSelector. I think it would be worth creating a MixinNthSelector class to hold this code and be a parent for RadiusNthSelector, DirectionNthSelector, and for a potential LengthNthSelector.

@adam-urbanczyk adam-urbanczyk added selectors enhancement New feature or request labels Nov 27, 2020
marcus7070 added a commit to marcus7070/cadquery that referenced this issue Dec 18, 2020
Added NthSelector abstract class and refactored RadiusNthSelector,
DirectionMinMaxSelector and DirectionNthSelector. Closes CadQuery#517.
marcus7070 added a commit to marcus7070/cadquery that referenced this issue Dec 18, 2020
Added NthSelector abstract class and refactored RadiusNthSelector,
DirectionMinMaxSelector and DirectionNthSelector. Closes CadQuery#517.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request selectors
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants