flexydually start/end Taz 6 gocde for slic3r

So I was having some issues with the dual prints on the taz with slic3r because when a print finished one would be retracted slightly if it wasn’t the last one to print the part. So I have a flexible dually on a Taz 6 that now automatically does all of my awesome start and end gcodes in slic3r so that I don’t ever have to worry about my prints getting messed up. It has the heating of BOTH tips put into the gcode, funny comments on the screen while doing it, and you will never have to worry about the retraction being to far back when you begin a new print. These presets are for PVA and PET-G But it’s set up in a way that doing things with ninjaflex is also very easy just change the 190 temp for PVA up to 210 for ninja flex. and I would absolutely recommend everyone to use slic3r for dual prints over cura, slic3r has way more options in the “settings” in the top row next to ‘split’ and ‘cut’. Right now since PVA is more $$ I have it print PVA only where the supports meet the part so it has all of the same benefits but with none of the large amounts of wasted expensive material.

I have a file attached to this post but I’m also going to paste the code into here since it isn’t THAT much code to work with

;/////////////////////////
;////////////////////////
;//THIS IS START GCODE//
;//////////////////////
;/////////////////////

;This profile is designed specifically for LulzBot TAZ 6 3D Printer
G26 ; clear potential ‘probe fail’ condition
G21 ; set units to Millimeters
M107 ; disable fans
G90 ; absolute positioning
M82 ; set extruder to absolute mode
G92 E0 ; set extruder position to 0
M140 S65 ; get bed heating up
G28 XY ; home X and Y
G1 X-19 Y258 F1000 ; move to safe homing position
T0 ; use tool one
M109 S170 ; soften filament for z homing
G28 Z ; home Z
T0 ; use tool one
M104 S175 ; wipe temp
T1 ; use tool two
M104 S155 ; wipe temp
G1 E-15 F80 ; suck up XXmm of filament
G1 X-15 Y100 F3000 ; move above wiper pad
G1 Z1 ; push nozzle into wiper
G1 X-17 Y95 F1000 ; slow wipe
G1 X-17 Y90 F1000 ; slow wipe
G1 X-17 Y85 F1000 ; slow wipe
G1 X-15 Y90 F1000 ; slow wipe
G1 X-17 Y80 F1000 ; slow wipe
G1 X-15 Y95 F1000 ; slow wipe
G1 X-17 Y75 F2000 ; fast wipe
G1 X-15 Y65 F2000 ; fast wipe
G1 X-17 Y70 F2000 ; fast wipe
G1 X-15 Y60 F2000 ; fast wipe
G1 X-17 Y55 F2000 ; fast wipe
G1 X-15 Y50 F2000 ; fast wipe
G1 X-17 Y40 F2000 ; fast wipe
G1 X-15 Y45 F2000 ; fast wipe
G1 X-17 Y35 F2000 ; fast wipe
G1 X-15 Y40 F2000 ; fast wipe
G1 X-17 Y70 F2000 ; fast wipe
G1 X-15 Y30 Z2 F2000 ; fast wipe
G1 X-17 Y35 F2000 ; fast wipe
G1 X-15 Y25 F2000 ; fast wipe
G1 X-17 Y30 F2000 ; fast wipe
G1 X-15 Y25 Z1.5 F1000 ; slow wipe
G1 X-17 Y23 F1000 ; slow wipe
G1 Z10 ; raise extruder
T0 ; tool one
M109 S160 ; heat to probe temp
G1 X-9 Y-9 ; move above probe
M204 S400 ; set accel for probing
G29 ; probe sequence (for auto-leveling)
M204 S500 ; set accel back to normal
G1 X0 Y0 Z15 F5000 ; get out the way
M400 ; clear buffer
G4 S1 ; pause
M117 Im getting HOT… ; LCD status message
M140 S65 ; get bed heating up

T0 ; tool one warm up temp
M104 S235 ; set temp one tip one no wait

T1 ; tool two warm up temp
M104 S190 ; set temp two tip one no wait

T0 ; TOOL ONE PRINT TEMP
M104 S235 ; set extruder temp and wait

T1 ; TOOL TWO PRINT TEMP
M109 S190 ; set extruder temp and wait

M190 S65 ; BED TEMP
M117 Dual Flex/Solid print ; LCD status message

T0


;///////////////////////
;//////////////////////
;//THIS IS END GCODE//
;////////////////////
;///////////////////



M400 ; wait for moves to finish
M107 ; fans off
G91 ; relative positioning
G1 E-1 F300 ; retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z+20 E-5 X-20 Y-20 F3000 ; move Z up a bit and retract filament even more
M117 Cooling down so chill… ; progress indicator message
G90 ; absolute positioning
G1 Y0 F3000 ; move to cooling position
T0 ; pick tool 0
G1 E5 F500 ; push stuff out of tool 2
T1 ; pick tool 1
G1 E5 F500 ; push stuff out of tool 1
M104 S0 ; hotend off
M190 S50 ; set bed to cool off
G1 Y280 F3000 ; present finished print
M84 ; steppers off
G90 ; absolute positioning
M117 I’m done, hope it works! ; progress indicator message