threading.Thread(target=self.OnRun).start()\r
\r
def OnRun(self):\r
+ currentEValue = float(self.stepsPerEInput.GetValue())\r
self.comm = machineCom.MachineCom()\r
while True:\r
line = self.comm.readline()\r
if line.startswith('start'):\r
break\r
self.sendGCommand('M302') #Disable cold extrusion protection\r
+ self.sendGCommand("M92 E%f" % (currentEValue));\r
self.sendGCommand("G92 E0");\r
self.sendGCommand("G1 E100 F300");\r
time.sleep(5)\r