Skip to content

Unretract before last travel move does not work #19236

@richfelker

Description

@richfelker

Cura Version

5.7.0

Operating System

Any

Printer

Any

Reproduction steps

Slice a file/job with multiple disconnected parts and outer perimeters first, no infill or infill-after-perimeters, such that the first move of a layer is a travel to an outer perimeter.

Actual results

The travel move to the start of a new layer will unretract on the outer perimeter rather than on an inner one.

This happens as a consequence of my naive fix for Ultimaker/CuraEngine#1612 but without that fix, much worse things happen (the entire travel to the start of the new layer takes place unretracted!)

I don't understand this part of the code entirely but it looks like there is some merging of the path at the end of one layer and beginning of the next which breaks the logic.

Expected results

Unretract should take place on the inner perimeter before the final travel move to the outer perimeter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: TriageThis ticket requires input from someone of the Cura teamType: 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