Created
June 28, 2021 15:38
-
-
Save gotno/3dcb680953eeee16b4f8c1cd73dc40ec to your computer and use it in GitHub Desktop.
Mega X start gcode with purge
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
G21 ;metric values | |
G90 ;absolute positioning | |
M82 ;set extruder to absolute mode | |
M107 ;start with the fan off | |
G28 X0 Y0 ;move X/Y to min endstops | |
G28 Z0 ;move Z to min endstops | |
G1 Y5.0 F{speed_travel} ;move the platform down 15mm | |
G92 E0 ;zero the extruded length | |
G1 X40 E30 F200 ; Extrude 30mm of filament in a 4cm line | |
G92 E0 ; zero the extruded length | |
G1 E-4 F200 ; Retract a little | |
G1 X120 F3200 ; Quickly wipe away from the filament line | |
G1 F{speed_travel} | |
M117 Printing... | |
G5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment