Skip to content
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

fix warp simplification #416

Merged
merged 2 commits into from
Apr 20, 2023
Merged

fix warp simplification #416

merged 2 commits into from
Apr 20, 2023

Conversation

elalish
Copy link
Owner

@elalish elalish commented Apr 20, 2023

Fixes #413

Our simplification is driven by what faces are marked as coplanar, but Warp is in general nonlinear, so coplanarity must be re-evaluated. Warp was also not simplifying, so this problem would only be seen after another op like a Boolean or Compose that calls simplify. Both of these problems are fixed, with a test added.

@elalish elalish requested a review from pca006132 April 20, 2023 15:57
@elalish elalish self-assigned this Apr 20, 2023
@pca006132
Copy link
Collaborator

LGTM. It seems that the test failure is due to floating point error?

@codecov
Copy link

codecov bot commented Apr 20, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (9731788) 86.08% compared to head (98c3887) 86.09%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #416   +/-   ##
=======================================
  Coverage   86.08%   86.09%           
=======================================
  Files          38       38           
  Lines        4601     4603    +2     
=======================================
+ Hits         3961     3963    +2     
  Misses        640      640           
Impacted Files Coverage Δ
src/manifold/src/manifold.cpp 92.30% <100.00%> (+0.06%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@elalish elalish merged commit ba042ee into master Apr 20, 2023
@elalish elalish deleted the warpDecimationBug branch April 20, 2023 18:52
@elalish elalish mentioned this pull request Apr 21, 2023
@elalish elalish mentioned this pull request Nov 3, 2023
cartesian-theatrics pushed a commit to SovereignShop/manifold that referenced this pull request Mar 11, 2024
* fixed warp simplification

* fix test
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.

2 participants