Repository navigation
Use the active extruder's retraction after a tool change - #2398
Open
JATMN (jatmn) wants to merge 2 commits into
Open
JATMN (jatmn) wants to merge 2 commits into
JATMN (jatmn) wants to merge 2 commits into
Conversation
A mid-layer switch kept the previous mesh's retraction distance and speed for the next mesh-less travel.
Fork runs cannot publish the package recipe, so the upload job stays behind the actor check used by the other open fixes.
JATMN (jatmn)
marked this pull request as ready for review
September 29, 2026 16:55
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This fixes the travel retraction that follows a tool change in the middle of a layer. The length and speed stayed on the previous extruder when the current mesh still belonged to that extruder, which is what mesh-less travels such as support were using. A later layer that already starts on the new extruder was unaffected.
The switch retraction itself still uses the previous extruder's switch retraction. After that switch, later travels use the active extruder's retraction distance, speed, and hop height.
Fixes #1866. The same report is tracked in Ultimaker/Cura#15043.
Type of change
How Has This Been Tested?
LayerPlanTest.TravelRetractionUsesActiveExtruderAfterToolChangefails on main withG1 F2400 E-3afterT1, and passes withF1500andE-10for the newly active extruder.LayerPlanTestbinary: 1444 tests passed.Test Configuration:
Checklist: