Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Printrbot Simple Metal start gcode
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.
@Nik-M

This comment has been minimized.

Copy link

@Nik-M Nik-M commented Jun 13, 2016

thanks for the code, I updated cura and it deleted my old start code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment