Skip to content

Instantly share code, notes, and snippets.

@jonasbits
Created April 11, 2021 11:13
Show Gist options
  • Save jonasbits/1e20e5636d49ea4dae8d3db32d694fd0 to your computer and use it in GitHub Desktop.
Save jonasbits/1e20e5636d49ea4dae8d3db32d694fd0 to your computer and use it in GitHub Desktop.
tarantula-probe-start-gcode.txt
;[0] FALASA START GCODE 2021-04-11
;CURA NEEDS SPACES INSTEAD OF TABS TO DISPLAY NICELY
G21 ;[1] metric values
G90 ;[2] absolute positioning
M82 ;[3] set extruder to absolute mode
M107 ;[4] start with the fan off
G28 X0 Y0 ;[5] move X/Y to min endstops
;TODO conditional, if hotend is above 170, then flush oz
G28 Z0 ;[6] move Z to min endstop (middle X,Y)
G1 Z3.0 F1000 ;[7] move nozzle from bed 3 mm
G92 E0 ;[8] zero the extruded length
;[9] HOME Z is in middle of heatbed
G1 X1.0 Y1.0 F1000.0 ;[10] go near left front edge of print area
;prime nozzle, before moving
G1 Z0.3 F1000.0 ;[11] move nozzle to prime height
G1 X60.0 E9.0 F1000.0 ;[12] intro line
G1 X100.0 E12.5 F1000.0 ;[13] intro line
G92 E0 ;[14] zero the extruded length again
G1 Y1.3 ;[15] offset
G1 X60.0 E12.5 F1000.0 ;[16] intro line back
G1 X3.0 E9.0 F1000.0 ;[17] intro line back
G1 Z5.0 F1000.0 ;[18] move nozzle away from bed 5 mm
G92 E0 ;[19] zero the extruded length again
G1 F9000 ;[20] reset G1 speed
M420 V ;[21] check meshlevel data
G4 S3 ;[22] Dwell for 3 seconds
;Put printing message on LCD screen
M117 Printing...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment