ansys / pymotorcad

https://motorcad.docs.pyansys.com
MIT License
15 stars 1 forks source link

Add Adaptive Templates to Examples #239

Closed JackB-Ansys closed 6 months ago

JackB-Ansys commented 9 months ago

Adding 2 new Adaptive Templates examples.

'Curved Rotor Flux Barriers for SYNCREL U-Shape' - based on Example 2 from the Tutorial 'Creating and Debugging Adaptive Scripts' - based on part 3 of the Tutorial

This also adds a new subfolder: 'pymotorcad\examples\adaptive\adaptive_template_script_files\' which contains Adaptive Templates script files for use internally in Motor-CAD (not standalone scripts)

codecov[bot] commented 9 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (5a1f107) 86.95% compared to head (7290ce3) 86.62%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #239 +/- ## ========================================== - Coverage 86.95% 86.62% -0.33% ========================================== Files 20 20 Lines 1755 1757 +2 ========================================== - Hits 1526 1522 -4 - Misses 229 235 +6 ```
JackB-Ansys commented 9 months ago

Reorganised the way Adaptive Templates are included in Examples. New organisation allows Library Examples to be downloaded and loaded into Motor-CAD Adaptive Templates tab. These examples also work with the Library_Examples.py setup script to work as notebook examples in PyMotorCAD docs

codecov-commenter commented 7 months ago

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (374206a) 86.97% compared to head (f33fd3c) 86.60%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #239 +/- ## ========================================== - Coverage 86.97% 86.60% -0.37% ========================================== Files 20 20 Lines 1758 1762 +4 ========================================== - Hits 1529 1526 -3 - Misses 229 236 +7 ```