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

Filter out micro segments generated during the overhang slowdown process #6714

Conversation

igiannakas
Copy link
Contributor

@igiannakas igiannakas commented Sep 10, 2024

Description

During the overhang slowdown process, the overhang lines are split to apply the slowdown algorithm.

However there are certain cases where micro segments are generated (less than 0.01 mm in length). These micro segments result in wall extrusion consistency issues as reported here: #6583

This PR aims to filter out the generation of these micro paths by ensuring that any new points generated are at least 25% of the line width long.

Fixes #6583

Screenshots/Recordings/Graphs

Before:
Micro paths generated.
image
image

After:
Micro paths filtered out.
image
image

Tests

Confirmed no regression in overhang performance due to filtered out segmentation with standard test model collection

Before (2.2 beta):
image

After (this PR):
image

Unchanged slowdown areas between the two versions.

Copy link
Owner

@SoftFever SoftFever left a comment

Choose a reason for hiding this comment

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

LGTM

You'da man!

@SoftFever SoftFever merged commit 3927f5a into SoftFever:main Sep 10, 2024
15 checks passed
@igiannakas
Copy link
Contributor Author

LGTM

You'da man!

Will need more testing in general before release - whole I don’t think it will hurt it’s puzzling why these code artefacts exist in the first place as this code again is identical to prusa. Unless we’re one step ahead 😀

@igiannakas igiannakas deleted the Filter-out-micro-segments-generated-during-the-overhang-slowdown-process branch September 10, 2024 17:44
@SoftFever
Copy link
Owner

LGTM
You'da man!

Will need more testing in general before release - whole I don’t think it will hurt it’s puzzling why these code artefacts exist in the first place as this code again is identical to prusa. Unless we’re one step ahead 😀

that is what BETA version for ;)

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.

Slow down for overhangs + Arachne causing wall artifacts
2 participants