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 asymmetrical bead widths #1437

Merged
merged 4 commits into from
Apr 16, 2021

Conversation

Ghostkeeper
Copy link
Collaborator

Instead of with the width at the far end of the line segment, print it with the average.

Previously, the width of a line would depend on the direction in which you were printing it. Quite often, as a path went into a narrow peak and back out, one side of this peak would be printed with a small line width (the destination in the peak being narrow) and as the nozzle goes back out, that segment would be printed with a large line width (the destination at the base being wider). This is inconsistent and leads to larger flow changes than necessary. Often this would also vary from layer to layer, a different bug, which looks extra messy.

Before this change:
Screenshot from 2021-04-06 03-35-20

After this change:
Screenshot from 2021-04-06 03-34-40

The first two commits are clean-ups of things that I found during this investigation, and don't affect the outcome. Tests seem to be failing due to the build environment in the CI server still.

Fixes issue CURA-8073. This doesn't fix yet that the lines exceed the volume of the original model significantly, but I did find the cause of that and reported that in the CCB just now.

Ghostkeeper and others added 4 commits April 6, 2021 03:28
It's not a coordinate at all. If negative numbers are desired here, an integer would do. But they are not. We don't want to keep checking that this is negative. Just make the variable type an index, like it is.

Found during investigation of CURA-8073.
The check was wrong, in this case. It should be the same as the assertion above it.

Found during investigation of issue CURA-8073.
Instead of with the width at the far end of the line segment, print it with the average. Previously, the width of a line would depend on the direction in which you were printing it. Quite often, as a path went into a narrow peak and back out, one side of this peak would be printed with a small line width (the peak being narrow) and as the nozzle goes back out, that segment would be printed with a large line width (the base being wider). This is inconsistent and leads to larger flow changes than necessary. Often this would also vary from layer to layer (a different bug) which would look extra messy.

Fixes issue CURA-8073.
@rburema rburema merged commit a46b164 into libArachne_rebased Apr 16, 2021
@rburema rburema deleted the CURA-8073_asymmetrical_bead_width branch April 16, 2021 17:02
@fvrmr fvrmr added this to the 5.0.0 milestone May 17, 2022
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