-
-
Save freemanirl/6f3a8e530f51f707ed6c7a155fc589fb to your computer and use it in GitHub Desktop.
Printrbot Simple Metal start gcode
This file contains hidden or 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
Found in this post: https://www.reddit.com/r/PrintrBot/comments/3jm8bc/start_gcode_does_not_extrudeandmove_but_the_code/ | |
Use this to reset, center, and auto-extrudea small bit before printing. | |
G90 ; Explicitly force absolute positioning in case it was not reset previously. | |
G28 ; Home all axes. | |
G29 ; Auto-level the bed. | |
G0 X0 Y0 Z0.15 F9000 ; Move to the front-left part of the bed. | |
M109 S{print_temperature} ; Set and wait for extruder temperature. | |
G92 E0 ; Zero the extruder. | |
G1 X40 E25 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 F9000 ; Sweep right to cut any strings. | |
G1 Z0.3 ; Raise the tip a little and begin printing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment