Skip to content

feat: Find and Fix Stitch Faces/Missing Faces Enhancements #1953

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 29 commits into
base: main
Choose a base branch
from

Conversation

jacobrkerstetter
Copy link
Contributor

@jacobrkerstetter jacobrkerstetter commented May 1, 2025

Description

added model for testing stitching many faces
added find_and_fix_stitch_faces
added applicable tests (comprehensive and standard)

Issue linked

#1947
#1949
#1950

Checklist

  • I have tested my changes locally.
  • I have added necessary documentation or updated existing documentation.
  • I have followed the coding style guidelines of this project.
  • I have added appropriate unit tests.
  • I have reviewed my changes before submitting this pull request.
  • I have linked the issue or issues that are solved to the PR if any.
  • I have assigned this PR to myself.
  • I have added the minimum version decorator to any new backend method implemented.
  • I have made sure that the title of my PR follows Conventional commits style (e.g. feat: extrude circle to cylinder)

added find_and_fix_stitch_faces
added applicable tests (comprehensive and standard)
@jacobrkerstetter jacobrkerstetter self-assigned this May 1, 2025
@jacobrkerstetter jacobrkerstetter requested a review from a team as a code owner May 1, 2025 15:33
@github-actions github-actions bot added the enhancement New features or code improvements label May 1, 2025
@jacobrkerstetter jacobrkerstetter marked this pull request as draft May 1, 2025 17:47
@jacobrkerstetter jacobrkerstetter linked an issue May 1, 2025 that may be closed by this pull request
@jacobrkerstetter jacobrkerstetter changed the title feat: Find and Fix Stitch Faces Repair Tool feat: Find and Fix Stitch Faces/Missing Faces Enhancements May 1, 2025
@jacobrkerstetter jacobrkerstetter marked this pull request as ready for review May 6, 2025 20:14
@RobPasMue
Copy link
Member

Hi @jacobrkerstetter! Let's wait for #1912 to be merged and then you can adapt your implementation to the new structure. Sounds good?

Jacob Kerstetter and others added 5 commits May 7, 2025 09:33
Copy link

codecov bot commented May 7, 2025

Codecov Report

Attention: Patch coverage is 91.80328% with 5 lines in your changes missing coverage. Please review.

Project coverage is 90.45%. Comparing base (8876f7b) to head (dd9e74c).

Files with missing lines Patch % Lines
src/ansys/geometry/core/tools/repair_tools.py 88.63% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1953      +/-   ##
==========================================
+ Coverage   90.35%   90.45%   +0.10%     
==========================================
  Files         123      123              
  Lines        9830     9810      -20     
==========================================
- Hits         8882     8874       -8     
+ Misses        948      936      -12     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

umutsoysalansys
umutsoysalansys previously approved these changes May 8, 2025
@@ -285,6 +285,32 @@ def test_fix_interference(modeler: Modeler):
assert result.success is True

Copy link
Member

Choose a reason for hiding this comment

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

I am missing some tests using angles and distances for the new APIs added.. @RyanJWard @syscordan -- could you guys maybe take care of that as part of this PR (I think @jacobrkerstetter is out for the rest of the week)?

Jacob Kerstetter added 4 commits May 14, 2025 08:27
… feat/find_small_faces_enhancements

# Conflicts:
#	src/ansys/geometry/core/tools/repair_tools.py
…om/ansys/pyansys-geometry into feat/find_fix_stitch_faces_enhancement

# Conflicts:
#	src/ansys/geometry/core/_grpc/_services/v0/repair_tools.py
#	src/ansys/geometry/core/tools/repair_tools.py
@jacobrkerstetter jacobrkerstetter marked this pull request as draft May 14, 2025 20:21
@jacobrkerstetter
Copy link
Contributor Author

There are a few bugs in SC and CoreService holding this up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features or code improvements
Projects
None yet
4 participants