-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Create RetractContinue.py #20675
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
base: main
Are you sure you want to change the base?
Create RetractContinue.py #20675
Conversation
Complete Rewrite of Retract Continue
There is a ticket that I'm currently taking a look at for retract and priming during a travel move |
That looks like it. Glad I didn't spend too much time on this.
When the script runs:
I see Erwan was concerned about "speed" but I don't see an issue. It's a retraction so if it happens at travel speed it doesn't matter. Typically the retraction distance will be small (notably small on DD extruders) and the M203 Maximum E Speed will act as a governor when required. Here are two examples. I had set the Retraction Distance to 10 to make the math easier to see.
Al the wipe lines add up to 3mm. Sometimes there will be a single travel move and it might be short.
In that case the "Max E Speed" might kick in and govern the travel speed, but it won't over-stress anything. In that single move above - there is a 2mm travel move with a 3mm retraction. This example is from Prusa/Orca. They call out the Travel Speed prior to the wipe moves. Cura does the same although on a single line.
I think it belongs inside Cura. I don't think it needs to be very complicated. I spent more time worrying about interferences with my other scripts than I did on the main body of this script. One of the problems with the original "Retract Continue" script was that the user input for "Extra Retraction Ratio" was a weird unit and it was very easy for a user to end up with a 20mm retraction. Not good. |
@HellAholic Can this be closed? |
I'm not sure if the original script is gonna be deprecated as we do have the setting in experimental. There are still functionalities that the script offers and we don't have them implemented (layer range for example). |
Complete Rewrite of Retract Continue.
I'll leave this as a draft. @HellAholic , this is another one I'm not really sure where it should go. The Slic3R clones have this built-in.
Description
This version works with Z-hops and Relative Extrusion.
For multi-hot end printers the retraction settings are always from T0.
This version does not retract beyond the "Retraction Distance" in Cura.
The user enters the range of layers and the "Initial Retraction Percentage". The remainder of the Retraction Distance is spread across the following travel moves as "mm of filament percentage" per "mm of travel":
That may look familiar to some people.
This fixes... OR This improves... -->
Problems with the original exceeding the retraction distance.
Type of change
Test Configuration:
Checklist: