Skip to content

[4.4.0] Cura produces way to many segements/commands and makes printer stutter #6748

Description

@TheAndi

Application version
Cura 4.4.0

Platform
Windows 10 64 bit

Printer
ANET A8, Sidewinder X1

Reproduction steps
Slicing a cylinder like object
grafik

Actual results
The result is in this example a gcode consisting of ~350k lines. This is too much for my ANET running octoprint with a baud of 500k (usually this is not a bottleneck). And it's also too much for the Sidewinder X1 as it also receives its commands via serial (250k baud) from the touch screen.

I noticed that there is a massive stuttering at the outer layer (not the inner one) so I checked the gcode on http://gcode.ws/ :

grafik
grafik

As you can see there are tiny segments in between the "main" segments, leading to about double the gcode lines as Prusa slicer (see below)

I also altered the resolution (and deviation) which didn't shrink the line count significantly
I already used rather coarse values for the example above:
grafik

At some higher values the line count event starts increasing as small bits of infills are generated:
grafik

So these values are not the solution.

Expected results
Because I couldn't get this object to print with Cura. I tried it with Prusa Slicer 2.2 and the print worked smooth right out of the box with similar setting. Gcode was just ~170k of lines.
A look at the gcode (same section) reveals that everything is fine here:
grafik

The segment count (resolution) in this section is the same as in Cura but without these "extra segments"

Additional information
Something I noticed, which might help to find the bug.
It seems like the outer contour copies all the segment nodes from the inner one:
grafik

Is there any option to fix this?

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Needs InfoNeeds more information before action can be taken.Status: Stale ⌛This issue is over a year old. It might be obsolete or just needs a fresh set of eyesType: BugThe code does not produce the intended behavior.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions