ansys / pymotorcad

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

Add region replace method #306

Closed JackB-Ansys closed 4 months ago

JackB-Ansys commented 4 months ago

Requires Motor-CAD v2024.2.0.4 or later.

New Region method which replaces all entities in region_A with those from region_B.

Created for use with imported dxf regions:

Example .mot file with Adaptive Templates script attached (based on e8 template) - zipped e8_DXF_Import_Test_matched.zip.

codecov-commenter commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.66%. Comparing base (1f55770) to head (0bf8db6). Report is 3 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #306 +/- ## ========================================== + Coverage 83.63% 83.66% +0.02% ========================================== Files 20 20 Lines 1882 1885 +3 ========================================== + Hits 1574 1577 +3 Misses 308 308 ```
JackB-Ansys commented 4 months ago

I think this is ready to merge