Remove debug message.
This commit is contained in:
parent
00f020fbac
commit
e4a36de053
2 changed files with 2 additions and 4 deletions
|
@ -347,9 +347,7 @@ class printWindow(wx.Frame):
|
|||
if self.typeList[lineNr] == 'WALL-OUTER':
|
||||
line = re.sub('F([0-9]*)', lambda m: 'F' + str(int(int(m.group(1)) * self.feedrateRatioOuterWall)), line)
|
||||
if self.typeList[lineNr] == 'WALL-INNER':
|
||||
print line
|
||||
line = re.sub('F([0-9]*)', lambda m: 'F' + str(int(int(m.group(1)) * self.feedrateRatioInnerWall)), line)
|
||||
print line
|
||||
if self.typeList[lineNr] == 'FILL':
|
||||
line = re.sub('F([0-9]*)', lambda m: 'F' + str(int(int(m.group(1)) * self.feedrateRatioFill)), line)
|
||||
if self.typeList[lineNr] == 'SUPPORT':
|
||||
|
|
|
@ -40,7 +40,7 @@ class VirtualPrinter():
|
|||
def write(self, data):
|
||||
if self.readList == None:
|
||||
return
|
||||
#print "Send: %s" % (data.rstrip())
|
||||
print "Send: %s" % (data.rstrip())
|
||||
if 'M104' in data or 'M109' in data:
|
||||
try:
|
||||
self.targetTemp = float(data[data.find('S')+1:])
|
||||
|
@ -70,7 +70,7 @@ class VirtualPrinter():
|
|||
if self.readList == None:
|
||||
return ''
|
||||
time.sleep(0.01)
|
||||
#print "Recv: %s" % (self.readList[0].rstrip())
|
||||
print "Recv: %s" % (self.readList[0].rstrip())
|
||||
return self.readList.pop(0)
|
||||
|
||||
def close(self):
|
||||
|
|
Loading…
Reference in a new issue