ansys / pymotorcad

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

Add Region class method for Corner Rounding #335

Open JackB-Ansys opened 3 weeks ago

JackB-Ansys commented 3 weeks ago

A method for defining automatic corner rounding for regions. The method finds entities that contain the specified corner coordinate, cuts the entities by a certain distance and draws an arc between the new start/end coordinates.

Example shown for triangular rotor notch example, .mot file for this example attached (in zip): image e9_Tri_Rotor_Notch_Rounded.zip Trapezoidal Duct example with corner rounding also attached (in zip): Trapezoidal_duct_rounded.zip

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 89.18919% with 4 lines in your changes missing coverage. Please review.

Project coverage is 82.17%. Comparing base (c20a514) to head (8e907f1).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #335 +/- ## ========================================== - Coverage 84.36% 82.17% -2.19% ========================================== Files 20 21 +1 Lines 1931 2059 +128 ========================================== + Hits 1629 1692 +63 - Misses 302 367 +65 ```