Skip to content

Instantly share code, notes, and snippets.

View freemanirl's full-sized avatar

Brandon Freeman freemanirl

  • Something Utility
  • Grand Rapids, MI
View GitHub Profile
@freemanirl
freemanirl / gist:6f3a8e530f51f707ed6c7a155fc589fb
Created March 1, 2017 23:08 — forked from celly/gist:c4ea2ebc2957059c138e
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.