mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-16 10:25:52 +08:00
Merge branch '15.10' of https://github.com/Ultimaker/Cura into 15.10
This commit is contained in:
commit
1488d06a42
@ -157,6 +157,8 @@ class CuraEngineBackend(Backend):
|
|||||||
if self._message:
|
if self._message:
|
||||||
self._message.hide()
|
self._message.hide()
|
||||||
self._message = None
|
self._message = None
|
||||||
|
self._message = Message(catalog.i18nc("@info:status", "Unable to slice. Please check your setting values for errors."))
|
||||||
|
self._message.show()
|
||||||
return #No slicing if we have error values since those are by definition illegal values.
|
return #No slicing if we have error values since those are by definition illegal values.
|
||||||
# Remove existing layer data (if any)
|
# Remove existing layer data (if any)
|
||||||
for node in DepthFirstIterator(self._scene.getRoot()):
|
for node in DepthFirstIterator(self._scene.getRoot()):
|
||||||
|
@ -347,15 +347,17 @@ class PrinterConnection(OutputDevice, QObject, SignalEmitter):
|
|||||||
|
|
||||||
@pyqtSlot(int)
|
@pyqtSlot(int)
|
||||||
def heatupNozzle(self, temperature):
|
def heatupNozzle(self, temperature):
|
||||||
|
Logger.log("d", "Setting nozzle temperature to %s", temperature)
|
||||||
self._sendCommand("M104 S%s" % temperature)
|
self._sendCommand("M104 S%s" % temperature)
|
||||||
|
|
||||||
@pyqtSlot(int)
|
@pyqtSlot(int)
|
||||||
def heatupBed(self, temperature):
|
def heatupBed(self, temperature):
|
||||||
|
Logger.log("d", "Setting bed temperature to %s", temperature)
|
||||||
self._sendCommand("M140 S%s" % temperature)
|
self._sendCommand("M140 S%s" % temperature)
|
||||||
|
|
||||||
@pyqtSlot("long", "long","long")
|
@pyqtSlot("long", "long","long")
|
||||||
def moveHead(self, x, y, z):
|
def moveHead(self, x, y, z):
|
||||||
print("Moving head" , x , " ", y , " " , z)
|
Logger.log("d","Moving head to %s, %s , %s", x, y, z)
|
||||||
self._sendCommand("G0 X%s Y%s Z%s"%(x,y,z))
|
self._sendCommand("G0 X%s Y%s Z%s"%(x,y,z))
|
||||||
|
|
||||||
@pyqtSlot()
|
@pyqtSlot()
|
||||||
|
@ -262,7 +262,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.printer.heatupBed(60)
|
printer_connection.heatupBed(60)
|
||||||
wizardPage.bed_target_temp = 60
|
wizardPage.bed_target_temp = 60
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user