chiark / gitweb /
Small update to comments
authornickthetait <tait@alephobjects.com>
Tue, 10 Nov 2015 16:13:43 +0000 (09:13 -0700)
committernickthetait <tait@alephobjects.com>
Tue, 10 Nov 2015 16:13:43 +0000 (09:13 -0700)
Cura/util/printerConnection/serialConnection.py

index 34fb1b6b01ed6fee7b46eddf7830aa9e546f7a44..5112602e1f70af4b289ba6abda7c3ae5d4f4e0eb 100644 (file)
@@ -202,9 +202,10 @@ class serialConnection(printerConnectionBase.printerConnectionBase):
                                retract_amount = profile.getProfileSettingFloat('retraction_amount')
                                # 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 + 10))
-                               self.sendCommand("G1 E-%f F120\n" % (retract_amount))
+                               
+                               #Prime the nozzle when changing filament
+                               self.sendCommand("G1 E%f F120\n" % (retract_amount + 10)) #Push the filament out
+                               self.sendCommand("G1 E-%f F120\n" % (retract_amount)) #retract again
 
                                # Position the toolhead to the correct position again
                                self.sendCommand("G1 X%f Y%f Z%f F%d\n" % self._pausePosition[0:4])