-
Notifications
You must be signed in to change notification settings - Fork 15
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
feat: driving dimensions #1340
base: main
Are you sure you want to change the base?
feat: driving dimensions #1340
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1340 +/- ##
==========================================
- Coverage 91.84% 91.68% -0.16%
==========================================
Files 86 88 +2
Lines 6928 6988 +60
==========================================
+ Hits 6363 6407 +44
- Misses 565 581 +16 ☔ View full report in Codecov by Sentry. |
Let's discuss this later @umutsoysalansys but I wouldn't have it as an independent module of the whole "design" structure. I think driving dimensions should be a property of bodies... |
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.
Overall looks good @umutsoysalansys! I left some enhancement suggestions. Main missing point is an example. We need examples that demonstrates how to use these new features. This is part of the requested actions for any new implementation. Otherwise users won't know how to make use of it.
tests/integration/test_design.py
Outdated
def test_design_parameters(modeler: Modeler): | ||
"""Test the design parameters functionality.""" | ||
|
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.
Seems like the test is failing - do you know the reason? There seems to be some kind of issue with the server apparently... We are using the latest proto and servers to check this so... maybe a pending PR on the server side?
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.
Blocking merge until comments are solved/implemented and the example is added. Also, testing needs to pass.
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.
Reviewed doc only to ensure it meets the PyAnsys style guidelines
Style guidelines say to use "you" rather than "we" as you are addressing the reader.
________________________________
From: Umut Soysal ***@***.***>
Sent: Wednesday, October 23, 2024 1:12 PM
To: ansys/pyansys-geometry ***@***.***>
Cc: Kathy Pippert ***@***.***>; Mention ***@***.***>
Subject: Re: [ansys/pyansys-geometry] feat: driving dimensions (PR #1340)
[External Sender]
@umutsoysalansys commented on this pull request.
________________________________
In doc/source/examples/03_modeling/design_parameters.mystnb<#1340 (comment)>:
+jupytext:
+ text_representation:
+ extension: .mystnb
+ format_name: myst
+ format_version: 0.13
+ jupytext_version: 1.16.4
+kernelspec:
+ display_name: Python 3 (ipykernel)
+ language: python
+ name: python3
+---
+
+# Modeling: Using Design Parameters
+
+You can read and update parameters that are part of the design.
+In this example, we have a simple design with two associated parameters.
Thanks for the reviews @PipKat<https://github.com/PipKat>, I used "we" based on the previous examples on this examples section, so maybe they need to be corrected as well? thanks
https://github.com/ansys/pyansys-geometry/blob/150c19b9dabe92e999262f89233970efc5c6c96a/doc/source/examples/01_getting_started/05_plotter_picker.mystnb#L177C23-L177C30
—
Reply to this email directly, view it on GitHub<#1340 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AUHQY26UBZQP3CF4TVJKWEDZ47KIDAVCNFSM6AAAAABL46RXW6VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGOBZGQ4DKNJXGE>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Co-authored-by: Kathy Pippert <84872299+PipKat@users.noreply.github.com>
Co-authored-by: Kathy Pippert <84872299+PipKat@users.noreply.github.com>
Co-authored-by: Kathy Pippert <84872299+PipKat@users.noreply.github.com>
Co-authored-by: Kathy Pippert <84872299+PipKat@users.noreply.github.com>
Co-authored-by: Kathy Pippert <84872299+PipKat@users.noreply.github.com>
Co-authored-by: Kathy Pippert <84872299+PipKat@users.noreply.github.com>
Co-authored-by: Kathy Pippert <84872299+PipKat@users.noreply.github.com>
Co-authored-by: Kathy Pippert <84872299+PipKat@users.noreply.github.com>
Co-authored-by: Kathy Pippert <84872299+PipKat@users.noreply.github.com>
Co-authored-by: Kathy Pippert <84872299+PipKat@users.noreply.github.com>
Co-authored-by: Kathy Pippert <84872299+PipKat@users.noreply.github.com>
Pull request was converted to draft
Co-authored-by: Kathy Pippert <84872299+PipKat@users.noreply.github.com>
Co-authored-by: Kathy Pippert <84872299+PipKat@users.noreply.github.com>
Description
Bringing driving dimensions/ geometry parametrization to pyansys-geometry.
Issue linked
Checklist
feat: extrude circle to cylinder
)