Skip to content

Instantly share code, notes, and snippets.

@inkychris
Created May 4, 2019 11:29
Show Gist options
  • Save inkychris/f2a7e6b6ecd08e750b89e70b7e5eb28d to your computer and use it in GitHub Desktop.
Save inkychris/f2a7e6b6ecd08e750b89e70b7e5eb28d to your computer and use it in GitHub Desktop.
Cura Pre/Post Gcode
[ START GCODE ]
---------------
M140 S{material_bed_temperature}
G28 ;Home
M190 S{material_bed_temperature}
M109 S{material_print_temperature_layer_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