Last active
January 5, 2019 00:12
-
-
Save dacunni/e31667522ff3665fc40892991531439d to your computer and use it in GitHub Desktop.
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
; Setup and Teardown GCode for Printrbot Simple Metal | |
; Start GCode | |
G90 | |
G28 X0 Y0 ; Home X and Y | |
G92 E0 ; Zero the extruder | |
G29 ; Auto-level the bed. | |
G0 X0 Y0 Z0.25 F8000 ; Move to the front-left part of the bed. | |
G92 E0 ; Zero the extruder. | |
G1 X30 E15 F500 ; Extrude a fat line of filament to prime and clean the nozzle. | |
G92 E0 ; Zero the extruder. | |
G1 E-1 F500 ; Retract 1 mm. | |
G1 X80 F8000 ; Sweep right to cut any strings. | |
G1 Z0.5 ; Raise the tip a little and begin printing. | |
;End GCode | |
M104 S0 ;extruder heater off | |
M140 S0 ;heated bed heater off (if you have it) | |
G91 ;relative positioning | |
G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure | |
G1 Z+0.5 E-5 X-20 Y-20 F{travel_speed} ;move Z up a bit and retract filament even more | |
G28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way | |
M84 ;steppers off | |
G90 ;absolute positioning | |
;{profile_string} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment