Skip to content

Instantly share code, notes, and snippets.

@inkychris
Last active May 4, 2019 17:07
Show Gist options
  • Save inkychris/cbd64d73776457578d6429a584a47034 to your computer and use it in GitHub Desktop.
Save inkychris/cbd64d73776457578d6429a584a47034 to your computer and use it in GitHub Desktop.
Slic3r Pre/Post Gcode
[ START GCODE ]
---------------
M140 S[bed_temperature]
G28 ;Home
M190 S[bed_temperature]
M109 S[first_layer_temperature_0]
G90 ;Absolute positioning
G1 Z1 F6000 ;Move the head up slightly
G92 E0 ;Reset extruder
G1 F200 E5 ;Extrude filament onto buildplate
G92 E0 ;Reset extruder
G1 X5 Y5 F6000;Move head away from blob
G1 X10 Y10 F6000;Move head away from blob
[ END GCODE ]
-------------
M104 S0
M140 S0
G91 ;Relative positioning
G92 E1
G1 E-1 F300
G28 X0
G90 ;Absolute positioning
G1 Y150
M84
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment