Skip to content

Instantly share code, notes, and snippets.

@cutiepoka
Created September 22, 2023 00:10
Show Gist options
  • Save cutiepoka/123888c17878fa5ce2c494b6429f04f9 to your computer and use it in GitHub Desktop.
Save cutiepoka/123888c17878fa5ce2c494b6429f04f9 to your computer and use it in GitHub Desktop.
Start Gcode
G28 ; home all axes
G1 Z5 F5000 ; lift nozzle
M420 S1
M109 S[first_layer_temperature]
G92 E0 ;Reset Extruder
G1 Z2.0 F3000 ;Move Z Axis up
G1 X20 Y5.1 Z0.28 F5000.0 ;Move to start position
G1 X200.0 Y5.1 Z0.28 F1500.0 E15 ;Draw the first line
G1 X200.0 Y5.4 Z0.28 F5000.0 ;Move to side a little
G1 X20 Y5.4 Z0.28 F1500.0 E30 ;Draw the second line
G1 Z0.4 F3000; Move Z Axis Up
G1 X50 F1500; Wipe to the right
G92 E0 ;Reset Extruder
; Music Start
M300 S130 P100
M300 S262 P100
M300 S330 P100
M300 S392 P100
M300 S523 P100
M300 S660 P100
M300 S784 P300
M300 S660 P300
M300 S146 P100
M300 S262 P100
M300 S311 P100
M300 S415 P100
M300 S523 P100
M300 S622 P100
M300 S831 P300
M300 S622 P300
M300 S155 P100
M300 S294 P100
M300 S349 P100
M300 S466 P100
M300 S588 P100
M300 S699 P100
M300 S933 P300
M300 S933 P100
M300 S933 P100
M300 S933 P100
M300 S1047 P400
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment