Skip to content

Instantly share code, notes, and snippets.

@zeroflow
Last active February 12, 2018 19:08
Show Gist options
  • Save zeroflow/96f4e47e010fb73179917b850e3b8405 to your computer and use it in GitHub Desktop.
Save zeroflow/96f4e47e010fb73179917b850e3b8405 to your computer and use it in GitHub Desktop.
M107 ;turn off fan
M104 S0 ; turn off extruder
M140 S0 ; turn off bed
;Retract and reshape the filament
G92 E0; Zero Extruder
G91; Relative Coordinates
G1 E-5 F10000; Fast Retract 5mm
G1 E2 F10000; Fast Reinsert 2mm
G28 ;Home
M84 ;Motors off
M356 ;Turn off LEDs
M355 S255 ; Turn on LEDs
M117 Heating Bed...
M190 S[bed0_temperature]
M117 Heating E0...
M109 S[extruder0_temperature]
M117 Start Print!
G28 ; home all axes
;Wipe
G1 X0 Y100 Z0.3 F6000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment