chiark / gitweb /
Disable E stepper power when using the pause at height feature.
authordaid <daid303@gmail.com>
Wed, 3 Sep 2014 07:13:17 +0000 (09:13 +0200)
committerdaid <daid303@gmail.com>
Wed, 3 Sep 2014 07:13:17 +0000 (09:13 +0200)
plugins/pauseAtZ.py

index d0f733e8d68bec774a5b132a716f7ac35512c8aa..53a450c6af148a4d750914c847a35c62ebe8dbcc 100644 (file)
@@ -55,6 +55,8 @@ with open(filename, "w") as f:
                                        f.write("G1 X%f Y%f F9000\n" % (parkX, parkY))
                                        if z < 15:
                                                f.write("G1 Z15 F300\n")
+                                       #Disable the E steppers
+                                       f.write("M84 E0\n")
                                        #Wait till the user continues printing
                                        f.write("M0\n")
                                        #Push the filament back, and retract again, the properly primes the nozzle when changing filament.