Skip to content

Better curve thicken - #205

Open
VikingScientist wants to merge 2 commits into
SINTEF:masterfrom
VikingScientist:better_curve_thicken
Open

VikingScientist wants to merge 2 commits into
SINTEF:masterfrom
VikingScientist:better_curve_thicken

Conversation

@VikingScientist

Copy link
Copy Markdown
Member

Improvement for high-curvature regions which causes the surface_factory.thicken() to create self-intersecting surface.

Blue is old method
Orange is the new method

corner_fix_visual_test

@codecov-commenter

codecov-commenter commented Sep 4, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 76.83284% with 79 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.92%. Comparing base (c7a0852) to head (1deabfb).

Files with missing lines Patch % Lines
src/splipy/utils/curve.py 77.88% 32 Missing and 12 partials ⚠️
src/splipy/surface_factory.py 64.89% 24 Missing and 9 partials ⚠️
src/splipy/surface.py 94.87% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #205      +/-   ##
==========================================
+ Coverage   74.02%   74.92%   +0.90%     
==========================================
  Files          30       30              
  Lines        5066     5396     +330     
  Branches      844      904      +60     
==========================================
+ Hits         3750     4043     +293     
- Misses       1102     1117      +15     
- Partials      214      236      +22     

☔ View full report in Codecov by Harness.
📢 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.

Ports the suggested solution of the summer intern Casper work for
fixing `surface_factory.thicken()` to deal with high-curvature regions
where thicken will cause self-intersecting surfaces.
@TheBB
TheBB force-pushed the better_curve_thicken branch from 968466c to 1deabfb Compare September 4, 2026 07:36
@TheBB

TheBB commented Sep 4, 2026

Copy link
Copy Markdown
Member

Rebased on master.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants