Skip to content

Instantly share code, notes, and snippets.

@jmadden91
Created September 11, 2018 10:35
Show Gist options
  • Save jmadden91/6e50838aa53317f5eeb9255896aa547f to your computer and use it in GitHub Desktop.
Save jmadden91/6e50838aa53317f5eeb9255896aa547f to your computer and use it in GitHub Desktop.
Start G Code
M104 S150; Set extruder and do not wait - preheat
G28 ; home all axes
M117 Auto bed levelling
G29 ;
;M420 S1
G1 X20 Y20 Z0.3 F5000.0 ; move to start-line position
M117 Heating extruder..
M109 S[extruder0_temperature] ; Set extruder temp and wait to be reached
M117 Purge extruder
G92 E0 ; reset extruder
G1 Z1.0 F3000 ; move z up little to prevent scratching of surface
G1 X0.1 Y20 Z0.3 F5000.0 ; move to start-line position
G1 X0.1 Y200.0 Z0.3 F1500.0 E15 ; draw 1st line
G1 X0.4 Y200.0 Z0.3 F5000.0 ; move to side a little
G1 X0.4 Y20 Z0.3 F1500.0 E30 ; draw 2nd line
; G1 E27 F3000 ; retract filament 3mm
G92 E0 ; reset extruder
; done purging extruder
G1 Z1.0 F3000 ; move z up little to prevent scratching of surface
M117 Printing..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment