Skip to content

Instantly share code, notes, and snippets.

@myurasov
Last active December 22, 2023 12:13
Show Gist options
  • Save myurasov/5db18ff6a7a22952bf22397b928e14a4 to your computer and use it in GitHub Desktop.
Save myurasov/5db18ff6a7a22952bf22397b928e14a4 to your computer and use it in GitHub Desktop.
my_flow_test_20mm3.gcode
G90 ; absolute positioning
M104 S<TEMP>; start nozzle heating
G28; home
M109 S<TEMP> ; heat the nozzle and wait
; prime
G1 Z15 F1000 ; lift z
G92 E0 ; reset extruder
G1 F100 E50 ; extrude 50mm in 30s
G92 E0 ; reset extruder
G1 Z1 F1000 ; lower z
G0 X100 Y100 Z1 F2400 ; move to start position
G0 Z40 F1200 ; move to start position
G92 E0 ; reset extruder
G1 E498.9 F498.9 ; extract 498.9mm in 1min (== 20mm3)
;G1 E500 F500 ; close enough (20.04mm3)
G92 E0 ; reset extruder
G1 E-5 F500 ; retract 5mm
G0 X0 Y200 Z50 F2400 ; lift z and go to the side
M104 S0 ; cool down
G92 E0 ; reset extruder
M220 S100 ; reeset speed factor
M221 S100 ; reset extrude factor
M84 ; disable stepper motors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment