Skip to content

Instantly share code, notes, and snippets.

@Cadiac
Created August 11, 2017 06:50
Show Gist options
  • Save Cadiac/3df1126045153d1090a985ea28c715f9 to your computer and use it in GitHub Desktop.
Save Cadiac/3df1126045153d1090a985ea28c715f9 to your computer and use it in GitHub Desktop.
Lulzbot Taz 6 end/start gcode
;
M400 ; wait for moves to finish
M104 S0 ; hotend off
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 please wait ; progress indicator message
G90 ; absolute positioning
G1 Y0 F3000 ; move to cooling position
M190 R45 ; set bed to cool off
G1 Y280 F3000 ; present finished print
M84 ; steppers off
G90 ; absolute positioning
M117 Print complete ; progress indicator message
;{profile_string}
;This profile is designed specifically for LulzBot TAZ 6 3D Printer
;Basic slice data:
;Sliced at: {day} {date} {time}
;Layer height: {layer_height}
;Walls: {wall_thickness}
;Fill: {fill_density}
;Estimated Print time: {print_time}
;Filament used: {filament_amount}m {filament_weight}g
;Filament cost: {filament_cost}
G26 ; clear potential 'probe fail' condition
G21 ; set units to Millimetres
M107 ; disable fans
G90 ; absolute positioning
M82 ; set extruder to absolute mode
G92 E0 ; set extruder position to 0
M140 S{print_bed_temperature}; get bed heating up
G28 XY ; home X and Y
G1 X-19 Y258 F1000 ; move to safe homing position
M109 R160 ; soften filament for z homing
G28 Z ; home Z
M104 S150 ; wipe temp
G1 E-30 F100 ; 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
M109 R150 ; heat to probe temp
G1 X-9 Y-9 ; move above probe
M204 S100 ; 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 Heating... ; LCD status message
M140 S{print_bed_temperature}; get bed heating up
M109 R{print_temperature} ; set extruder temp and wait
M190 R{print_bed_temperature}; get bed temping up during first layer
G1 Z2 E0 F75 ; extrude filament back into nozzle
M117 TAZ Printing... ; LCD status message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment