From: daid Date: Wed, 14 Mar 2012 11:28:42 +0000 (+0100) Subject: Send an M92 Exxx when doing test extrusion X-Git-Tag: RC1~95 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=9e7426d9040d260d3fd281952fe98101ac8f43d4;p=cura.git Send an M92 Exxx when doing test extrusion --- diff --git a/SkeinPyPy_NewUI/newui/configWizard.py b/SkeinPyPy_NewUI/newui/configWizard.py index 78b51a9d..f8a29ce5 100644 --- a/SkeinPyPy_NewUI/newui/configWizard.py +++ b/SkeinPyPy_NewUI/newui/configWizard.py @@ -343,6 +343,7 @@ class UltimakerCalibrateStepsPerEPage(InfoPage): threading.Thread(target=self.OnRun).start() def OnRun(self): + currentEValue = float(self.stepsPerEInput.GetValue()) self.comm = machineCom.MachineCom() while True: line = self.comm.readline() @@ -351,6 +352,7 @@ class UltimakerCalibrateStepsPerEPage(InfoPage): if line.startswith('start'): break self.sendGCommand('M302') #Disable cold extrusion protection + self.sendGCommand("M92 E%f" % (currentEValue)); self.sendGCommand("G92 E0"); self.sendGCommand("G1 E100 F300"); time.sleep(5)