-
Notifications
You must be signed in to change notification settings - Fork 22
chore: v1 implementation of patterns stub #2416
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
base: main
Are you sure you want to change the base?
Conversation
… chore/v1_faces_edges_impl # Conflicts: # src/ansys/geometry/core/_grpc/_services/v1/conversions.py
fixing some conversions and small bugs
…pyansys-geometry into chore/v1_faces_edges_impl
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2416 +/- ##
=======================================
Coverage 92.16% 92.16%
=======================================
Files 169 169
Lines 11804 11806 +2
=======================================
+ Hits 10879 10881 +2
Misses 925 925 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
RobPasMue
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's move these defaults upwards.. please revisit v0 to make sure that it is aligned as well
| pitch_y=( | ||
| from_length_to_grpc_quantity(kwargs["pitch_y"]) | ||
| if kwargs["pitch_y"] | ||
| else from_length_to_grpc_quantity(Distance(0)) | ||
| ), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this come from the call itself? I would rather avoid any logic inside the _grpc layer
| # Create linear pitch if not None | ||
| linear_pitch = ( | ||
| from_length_to_grpc_quantity(kwargs["linear_pitch"]) | ||
| if kwargs["linear_pitch"] | ||
| else from_length_to_grpc_quantity(Distance(0.0)) | ||
| ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
Description
As title says
Issue linked
Related to #2388
Checklist
feat: extrude circle to cylinder)