mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-10-05 12:06:31 +08:00
wizard now sets Target temperature
CURA-1339
This commit is contained in:
parent
58b216828a
commit
0c09df71d9
@ -204,7 +204,7 @@ class USBPrinterManager(QObject, SignalEmitter, OutputDevicePlugin, Extension):
|
|||||||
self.getOutputDeviceManager().removeOutputDevice(serial_port)
|
self.getOutputDeviceManager().removeOutputDevice(serial_port)
|
||||||
self.printerConnectionStateChanged.emit()
|
self.printerConnectionStateChanged.emit()
|
||||||
except KeyError:
|
except KeyError:
|
||||||
pass # no output device by this device_id found in connection list.
|
pass # no output device by this device_id found in connection list.
|
||||||
|
|
||||||
|
|
||||||
@pyqtProperty(QObject , notify = printerConnectionStateChanged)
|
@pyqtProperty(QObject , notify = printerConnectionStateChanged)
|
||||||
|
@ -239,7 +239,7 @@ Item
|
|||||||
if(printer_connection != null)
|
if(printer_connection != null)
|
||||||
{
|
{
|
||||||
nozzleTempStatus.text = catalog.i18nc("@info:progress","Checking")
|
nozzleTempStatus.text = catalog.i18nc("@info:progress","Checking")
|
||||||
printer_connection.setHotendTemperature(0, 190)
|
printer_connection.setTargetHotendTemperature(0, 190)
|
||||||
wizardPage.extruder_target_temp = 190
|
wizardPage.extruder_target_temp = 190
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -295,7 +295,7 @@ Item
|
|||||||
if(printer_connection != null)
|
if(printer_connection != null)
|
||||||
{
|
{
|
||||||
bedTempStatus.text = catalog.i18nc("@info:progress","Checking")
|
bedTempStatus.text = catalog.i18nc("@info:progress","Checking")
|
||||||
printer_connection.setBedTemperature(60)
|
printer_connection.setTargetBedTemperature(60)
|
||||||
wizardPage.bed_target_temp = 60
|
wizardPage.bed_target_temp = 60
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user