mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-05 13:40:37 +08:00
Remove debug message.
This commit is contained in:
parent
00f020fbac
commit
e4a36de053
@ -347,9 +347,7 @@ class printWindow(wx.Frame):
|
|||||||
if self.typeList[lineNr] == 'WALL-OUTER':
|
if self.typeList[lineNr] == 'WALL-OUTER':
|
||||||
line = re.sub('F([0-9]*)', lambda m: 'F' + str(int(int(m.group(1)) * self.feedrateRatioOuterWall)), line)
|
line = re.sub('F([0-9]*)', lambda m: 'F' + str(int(int(m.group(1)) * self.feedrateRatioOuterWall)), line)
|
||||||
if self.typeList[lineNr] == 'WALL-INNER':
|
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)
|
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':
|
if self.typeList[lineNr] == 'FILL':
|
||||||
line = re.sub('F([0-9]*)', lambda m: 'F' + str(int(int(m.group(1)) * self.feedrateRatioFill)), line)
|
line = re.sub('F([0-9]*)', lambda m: 'F' + str(int(int(m.group(1)) * self.feedrateRatioFill)), line)
|
||||||
if self.typeList[lineNr] == 'SUPPORT':
|
if self.typeList[lineNr] == 'SUPPORT':
|
||||||
|
@ -40,7 +40,7 @@ class VirtualPrinter():
|
|||||||
def write(self, data):
|
def write(self, data):
|
||||||
if self.readList == None:
|
if self.readList == None:
|
||||||
return
|
return
|
||||||
#print "Send: %s" % (data.rstrip())
|
print "Send: %s" % (data.rstrip())
|
||||||
if 'M104' in data or 'M109' in data:
|
if 'M104' in data or 'M109' in data:
|
||||||
try:
|
try:
|
||||||
self.targetTemp = float(data[data.find('S')+1:])
|
self.targetTemp = float(data[data.find('S')+1:])
|
||||||
@ -70,7 +70,7 @@ class VirtualPrinter():
|
|||||||
if self.readList == None:
|
if self.readList == None:
|
||||||
return ''
|
return ''
|
||||||
time.sleep(0.01)
|
time.sleep(0.01)
|
||||||
#print "Recv: %s" % (self.readList[0].rstrip())
|
print "Recv: %s" % (self.readList[0].rstrip())
|
||||||
return self.readList.pop(0)
|
return self.readList.pop(0)
|
||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user