Skip to content

Instantly share code, notes, and snippets.

@theturtle32
Created January 14, 2016 07:00
Show Gist options
  • Save theturtle32/bfe405a2b0d5c976b61d to your computer and use it in GitHub Desktop.
Save theturtle32/bfe405a2b0d5c976b61d to your computer and use it in GitHub Desktop.
Color Change GCode Script
G1 Z70 F360 ; move up above object
G1 X150 Y200 F3600 ; move to center of build area
G1 E-40 F1800 ; eject filament from extruder
M84 ; disable motors
M0 Change Color...
M17 ; enable motors
G92 E0 ; reset extruder coordinates
G1 E50 F60 ; prime new filament
G92 E0
M0 Click When Ready
G28 ; Home all axes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment