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 issue where part of raft was missing #1989

Merged
merged 2 commits into from
Nov 27, 2023
Merged

Fix issue where part of raft was missing #1989

merged 2 commits into from
Nov 27, 2023

Conversation

casperlamboo
Copy link
Contributor

Description

Due to the special shape of the polygon it is possible to “stitch” the polylines into a closed polygon loop. See svg’s below, first image is the input to the stitching algorithm and the second is the output of the stitching algorithm. The blue color denotes open polylines, and the red color denotes closed polygons.

6after_simplify
6after_stitching

As you can see in the output put polygon a closed loop was indeed found. However, in the code we always assumed that the output of “ZigZagged” infill never contained any closed polygon loops https://github.com/Ultimaker/CuraEngine/blob/main/src/FffGcodeWriter.cpp#L576, and thus these were never added.

CURA-11355

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

yassss

Test Configuration:

  • Operating System: macOS

Checklist:

  • My code follows the style guidelines of this project as described in UltiMaker Meta
  • I have read the Contribution guide
  • I have commented my code, particularly in hard-to-understand areas
  • I have uploaded any files required to test this change

Copy link
Contributor

Unit Test Results

26 tests  ±0   26 ✔️ ±0   6s ⏱️ ±0s
  1 suites ±0     0 💤 ±0 
  1 files   ±0     0 ±0 

Results for commit 1d7038b. ± Comparison against base commit 5f80ab9.

@nallath nallath merged commit 1d7038b into 5.6 Nov 27, 2023
10 checks passed
@nallath nallath deleted the CURA-11355 branch November 27, 2023 09:35
casperlamboo added a commit that referenced this pull request Jan 11, 2024
wawanbreton pushed a commit to wawanbreton/CuraEngine that referenced this pull request Jan 18, 2024
We already implemented it for the raft top, see Ultimaker#1989

CURA-11395
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