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

Don't remove surface mode both cutting mesh areas. #1608

Merged
merged 1 commit into from
Aug 30, 2022

Conversation

BagelOrb
Copy link
Contributor

The polylines are recomputed by the stitching, so they should be cleared.
However, the polygons should not be cleared for surface mode BOTH.
They are already cleared for surface mode SURFACE, 35 lines above at line 150.

@BagelOrb BagelOrb force-pushed the fix_surface_mode_both_cutting_mesh branch from aa0a23c to 572f10a Compare March 15, 2022 13:38
@BagelOrb
Copy link
Contributor Author

BagelOrb commented Aug 8, 2022

I don't remember which bug this solves exactly, but judging from the code it should solve a bug where surface mode both would not generate any surface geometry in case of cutting meshes.

However, I'm not able to reproduce the bug in 5.1.0
image
pyramid_mesh_surface_mode_cutting_mesh.zip

The polylines are recomputed by the stitching, so they should be cleared.
However, the polygons should not be cleared for surface mode BOTH.
They are already cleared for surface mode SURFACE, 35 lines above at line 150.

Fixes CURA-9037
@BagelOrb BagelOrb force-pushed the fix_surface_mode_both_cutting_mesh branch from 572f10a to 4a389e9 Compare August 11, 2022 17:11
@github-actions
Copy link
Contributor

Unit Test Results

25 tests  ±0   25 ✔️ ±0   7s ⏱️ -1s
  1 suites ±0     0 💤 ±0 
  1 files   ±0     0 ±0 

Results for commit 4a389e9. ± Comparison against base commit 06364d5.

@BagelOrb
Copy link
Contributor Author

Reproduced bug in main:
image

With the fix:
image

cutting_surface_mode_both_bug.zip

@BagelOrb
Copy link
Contributor Author

@devs see CURA-9534

@rburema rburema merged commit 36968e3 into main Aug 30, 2022
@rburema rburema deleted the fix_surface_mode_both_cutting_mesh branch August 30, 2022 15:48
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