Skip to content

feat: named selection functionality #1768

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

Merged
merged 33 commits into from
Feb 28, 2025

Conversation

jacobrkerstetter
Copy link
Contributor

@jacobrkerstetter jacobrkerstetter commented Feb 21, 2025

Description

  • move_rotate / move_translate implemented to transform named selections
  • enhanced reading existing designs to take more information from named selections
  • enhanced creating new name selections from client-side designs

Issue linked

Checklist

  • I have tested my changes locally.
  • I have added necessary documentation or updated existing documentation.
  • I have followed the coding style guidelines of this project.
  • I have added appropriate unit tests.
  • I have reviewed my changes before submitting this pull request.
  • I have linked the issue or issues that are solved to the PR if any.
  • I have assigned this PR to myself.
  • I have added the minimum version decorator to any new backend method implemented.
  • I have made sure that the title of my PR follows Conventional commits style (e.g. feat: extrude circle to cylinder)

jkerstet added 4 commits February 18, 2025 11:26
need read existing design functionality
implemented MoveRotate and MoveTranslate for named selections
@jacobrkerstetter jacobrkerstetter self-assigned this Feb 21, 2025
@jacobrkerstetter jacobrkerstetter changed the title feat: Named Selection Functionality feat: named selection functionality Feb 21, 2025
@github-actions github-actions bot added the enhancement New features or code improvements label Feb 21, 2025
@jacobrkerstetter jacobrkerstetter marked this pull request as ready for review February 24, 2025 16:20
@jacobrkerstetter jacobrkerstetter requested a review from a team as a code owner February 24, 2025 16:20
Copy link

codecov bot commented Feb 26, 2025

Codecov Report

Attention: Patch coverage is 88.00000% with 9 lines in your changes missing coverage. Please review.

Project coverage is 90.90%. Comparing base (1cf0733) to head (41ad431).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/ansys/geometry/core/designer/selection.py 75.00% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1768      +/-   ##
==========================================
+ Coverage   90.88%   90.90%   +0.02%     
==========================================
  Files          92       92              
  Lines        8357     8422      +65     
==========================================
+ Hits         7595     7656      +61     
- Misses        762      766       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@RobPasMue RobPasMue left a comment

Choose a reason for hiding this comment

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

This is looking really good! Left some comments, request review again once addressed

Copy link
Member

@RobPasMue RobPasMue left a comment

Choose a reason for hiding this comment

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

LGTM!

@jacobrkerstetter jacobrkerstetter merged commit 481ef66 into main Feb 28, 2025
52 checks passed
@jacobrkerstetter jacobrkerstetter deleted the feat/named_selection_functionality branch February 28, 2025 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features or code improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NamedSelection class should contain the members of the Named Selection
3 participants