mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Implemented _setTargetHotendTemp
CURA-1339
This commit is contained in:
parent
9e8d61aea2
commit
34b76f3c1e
1 changed files with 3 additions and 0 deletions
|
@ -100,6 +100,9 @@ class USBPrinterOutputDevice(PrinterOutputDevice):
|
|||
Logger.log("d", "Setting bed temperature to %s", temperature)
|
||||
self._sendCommand("M140 S%s" % temperature)
|
||||
|
||||
def _setTargetHotendTemperature(self, index, temperature):
|
||||
self._sendCommand("M140 T%s S%s" % (index, temperature))
|
||||
|
||||
def _setHeadPosition(self, x, y , z, speed):
|
||||
self._sendCommand("G0 X%s Y%s Z%s F%s" % (x, y, z, speed))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue