Skip to content

Conversation

@greschd
Copy link
Member

@greschd greschd commented Aug 16, 2024

Merging the changes from #545 onto main.

Add an export_modeling_ply_geometries method to the Model, which the geometry of all modeling plies

Other changes:

  • Add a helper function for managing the version of the server which supports a particular feature.
  • Since that required knowing the server version at the TreeObject level, convert the channel member into a ServerWrapper which contains both the channel and version.
  • Force newer version of ansys-mapdl-core, to avoid poetry resolving numpy to version 2.0 and downgrading ansys-mapdl-core, since older versions do not declare their incompatibility with numpy 2.0.

Add an `export_modeling_ply_geometries` method to the `Model`, which the geometry of all modeling plies

Other changes:
- Add a helper function for managing the version of the server which supports a particular feature.
- Since that required knowing the server version at the `TreeObject` level, convert the `channel` member
  into a `ServerWrapper` which contains both the channel and version.
- Force newer version of `ansys-mapdl-core`, to avoid poetry resolving numpy to version 2.0 and down-
  grading `ansys-mapdl-core`, since older versions do not declare their incompatibility with numpy 2.0.
@wiz-inc-572fc38784
Copy link

wiz-inc-572fc38784 bot commented Aug 16, 2024

Wiz Scan Summary

IaC Misconfigurations 0C 0H 0M 0L 0I
Vulnerabilities 1C 2H 7M 2L 0I
Sensitive Data 0C 0H 0M 0L 0I
Total 1C 2H 7M 2L 0I
Secrets 0🔑

@codecov
Copy link

codecov bot commented Aug 16, 2024

Codecov Report

Attention: Patch coverage is 95.83333% with 3 lines in your changes missing coverage. Please review.

Project coverage is 91.97%. Comparing base (eb5056c) to head (e0836ac).
Report is 1 commits behind head on main.

Files Patch % Lines
src/ansys/acp/core/_tree_objects/base.py 95.00% 2 Missing ⚠️
...ys/acp/core/_tree_objects/_grpc_helpers/mapping.py 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #557      +/-   ##
==========================================
+ Coverage   91.93%   91.97%   +0.04%     
==========================================
  Files          82       82              
  Lines        4242     4289      +47     
==========================================
+ Hits         3900     3945      +45     
- Misses        342      344       +2     

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

@greschd greschd mentioned this pull request Aug 16, 2024
Copy link
Contributor

@roosre roosre left a comment

Choose a reason for hiding this comment

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

Please check the comments. I think it would make sense to ad an argument to export_modeling_ply_geometries

@greschd greschd enabled auto-merge (squash) August 20, 2024 13:35
@greschd greschd merged commit a2feb2c into main Aug 20, 2024
@greschd greschd deleted the feat/ply_geometry_export_to_main branch August 20, 2024 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants