Open
Conversation
|
The documentation for this pull request will be available at https://mechanical.docs.pyansys.com/pull/1507. Please allow some time for the documentation to be deployed. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1507 +/- ##
==========================================
+ Coverage 81.18% 81.78% +0.60%
==========================================
Files 42 43 +1
Lines 3109 3267 +158
==========================================
+ Hits 2524 2672 +148
- Misses 585 595 +10 🚀 New features to boost your workflow:
|
RobPasMue
approved these changes
Feb 5, 2026
Member
RobPasMue
left a comment
There was a problem hiding this comment.
Pretty cool! Thanks @dipinknair !
koubaa
reviewed
Feb 19, 2026
koubaa
requested changes
Feb 19, 2026
koubaa
reviewed
Mar 2, 2026
koubaa
reviewed
Mar 3, 2026
koubaa
reviewed
Mar 3, 2026
koubaa
requested changes
Mar 3, 2026
Not up to standards ⛔🔴 Issues
|
| Category | Results |
|---|---|
| Documentation | 14 minor |
🟢 Metrics 38 complexity
Metric Results Complexity 38
TIP This summary will be updated as you push new changes. Give us feedback
koubaa
approved these changes
Apr 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces a
Helpersclass accessible viaapp.helpers, providing a convenient API for common Mechanical embedding workflows — geometry and material import, image/animation export, and image display.Usage example
New methods on
app.helpersimport_geometry(file_path, ...).pmdb,.agdb, etc.) with configurable named selections, materials, and coordinate systemsimport_materials(file_path).xml) into the modelexport_image(obj, file_path, ...)export_animation(obj, file_path, ...)display_image(image_path, ...)Closes #1487