Virtual Printer: Simplified temperature output
This commit is contained in:
1 parent
c6b8b1725a
commit
2429ebc1a2
1 file changed
+5
-3
@@ -643,12 +643,14 @@ class VirtualPrinter(object):
|
||||
else:
|
||||
output = "T:%.2f %s @:64\n" % (self.temp[self.currentExtruder], allTempsString)
|
||||
else:
|
||||
output = "%s @:64\n" % allTempsString
|
||||
output = allTempsString
|
||||
else:
|
||||
if includeTarget:
|
||||
output = "T:%.2f /%.2f B:%.2f /%.2f @:64\n" % (self.temp[0], self.targetTemp[0], self.bedTemp, self.bedTargetTemp)
|
||||
output = "T:%.2f /%.2f B:%.2f /%.2f" % (self.temp[0], self.targetTemp[0], self.bedTemp, self.bedTargetTemp)
|
||||
else:
|
||||
output = "T:%.2f B:%.2f @:64\n" % (self.temp[0], self.bedTemp)
|
||||
output = "T:%.2f B:%.2f" % (self.temp[0], self.bedTemp)
|
||||
|
||||
output += " @:64\n"
|
||||
|
||||
if includeOk:
|
||||
output = "ok " + output
|
||||
|
||||
Reference in new issue
Block a user