chiark / gitweb /
Attempt to improve nozzle priming on resume
authornickthetait <tait@alephobjects.com>
Tue, 10 Nov 2015 16:07:14 +0000 (09:07 -0700)
committernickthetait <tait@alephobjects.com>
Tue, 10 Nov 2015 16:07:14 +0000 (09:07 -0700)
Wastes a little filament, seems neccesary for very narrow/small prints

Cura/util/printerConnection/serialConnection.py

index bf37ea64414d4542ce36e4306870fa32b511cfa7..34fb1b6b01ed6fee7b46eddf7830aa9e546f7a44 100644 (file)
@@ -203,7 +203,7 @@ class serialConnection(printerConnectionBase.printerConnectionBase):
                                # Set E relative positioning
                                self.sendCommand("M83")
                                #Push the filament back, and retract again, the properly primes the nozzle when changing filament.
-                               self.sendCommand("G1 E%f F120\n" % (retract_amount))
+                               self.sendCommand("G1 E%f F120\n" % (retract_amount + 10))
                                self.sendCommand("G1 E-%f F120\n" % (retract_amount))
 
                                # Position the toolhead to the correct position again