Purge bucket - How to add de-retraction after the end of tool change script, at the point that the hotend starts printing?
Hi Guys, I have studied placeholders, macros etc. but could not identify how to do what I want. I am building my own purge bucket profile and scripts.
The question is: I need to retract before the hotend leaves the bucket and de-retract after it finishes the travels back to the printing part. I cannot find a way to do the de-retract (i.e., I know how to do the retract by inserting the code in the last line of the tool change script).
Below is my code. I tried all possible ways to insert the de-retract in the position that I want without success. However, Prusaslicer does not seem to be capable of it.
Ideas?
Thanks
; == start tool change script ==
M163 S0 P0 ; set tool 0 0%
M163 S1 P1 ; set tool 1 100%
; M92 E430 ; set new tool e-steps (optional)
G1 E10 F90 ; extrude X at 1,5 mms on new tool;
; G4 S3 ; pauses X secs to depressurize hotend (optional)
G91 ; switch to relative positioning
G1 Z-1 F1000 ; move down nozzle at 1 mm
G90 ; return to absolute positioning
M211 S1 ; turn on endstop
G1 E-6 F2100 ; retract on new tool before travel;
; == End tool change script ==
>> I need to insert a de-retract here, which is the position after the travel from the purge bucket
G1 X105.694 Y104.961 F10800.000;
TYPE:PerimeterG1 F2400.000
>> or here
G1 X129.430 Y104.961 E0.68292 ; start printing part