Last active
April 7, 2017 06:06
-
-
Save aphex3k/f6edf5643c5b19f2cc4d8b4f0861033d to your computer and use it in GitHub Desktop.
A 3D printer gcode file that helps unloading your current PLA filament
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Author: Michael Henke <gcode-at-codingmerc-dot-com> | |
; 4/7/2017 | |
; | |
; Store this gcode on your printers SD-card or remote management to have it | |
; handy whenever you plan to change filament | |
M104 S200 ; Set nozzle temp, no wait. | |
M117 Autohome... | |
G28 ; 1st things 1st: Home all axis | |
G90 ; set absolute position to move the effector a set distance from 0 | |
M117 Relax Bowden... | |
G1 X0 Y0 Z20; move effector down to relax Bowden tube | |
; Set G91 first otherwise Marlin will not correctly extrude or retract | |
G91 ; http://reprap.org/wiki/G-code#G91:_Set_to_Relative_Positioning | |
M117 Heat nozzle... | |
M109 S200 ; Heat extrude and wait | |
M117 Extrude some... | |
G1 E5 F150 ; Extrude 5mm | |
M117 Extrude some more... | |
G1 E15 F50 ; Extrude 15mm slowly | |
M117 Retracting... | |
G1 E-150 F500 ; Retract 150mm fast | |
M117 Turn off nozzle... | |
M104 S0 ; Cancel heating nozzle | |
M117 Go back home... | |
G28 ; Home all axis | |
M117 Done unloading... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment