Add sketch to cloud

CURA-11777
This commit is contained in:
Saumya Jain 2024-05-06 13:32:52 +02:00
parent f150d304d6
commit f7f56e8766
8 changed files with 8 additions and 4 deletions

View File

@ -422,7 +422,8 @@ class NetworkedPrinterOutputDevice(PrinterOutputDevice):
_PRINTER_TYPE_NAME = {
"fire_e": "ultimaker_method",
"lava_f": "ultimaker_methodx",
"magma_10": "ultimaker_methodxl"
"magma_10": "ultimaker_methodxl",
"sketch": "ultimaker_sketch"
}
if printer_type in _PRINTER_TYPE_NAME:
return _PRINTER_TYPE_NAME[printer_type]

View File

@ -117,6 +117,7 @@ class FilamentChange(Script):
"UltiGCode": "Ultimaker 2",
"Griffin": "Griffin",
"Makerbot": "Makerbot",
"Sketch": "Sketch",
"BFB": "Bits from Bytes",
"MACH3": "Mach3",
"Repetier": "Repetier"

View File

@ -206,6 +206,7 @@ class PauseAtHeight(Script):
"UltiGCode": "Ultimaker 2",
"Griffin": "Griffin",
"Makerbot": "Makerbot",
"Sketch": "Sketch",
"BFB": "Bits from Bytes",
"MACH3": "Mach3",
"Repetier": "Repetier"

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 KiB

View File

@ -331,7 +331,7 @@ class CloudOutputDevice(UltimakerNetworkedPrinterOutputDevice):
return False
[printer, *_] = self._printers
return printer.type in ("MakerBot Method X", "MakerBot Method XL")
return printer.type in ("MakerBot Method X", "MakerBot Method XL", "MakerBot Sketch")
@pyqtProperty(bool, notify=_cloudClusterPrintersChanged)
def supportsPrintJobActions(self) -> bool:

View File

@ -2,5 +2,6 @@
"ultimaker_method": "MakerBot Method",
"ultimaker_methodx": "MakerBot Method X",
"ultimaker_methodxl": "MakerBot Method XL",
"ultimaker_factor4": "Ultimaker Factor 4"
"ultimaker_factor4": "Ultimaker Factor 4",
"ultimaker_sketch": "MakerBot Sketch"
}

View File

@ -1,6 +1,6 @@
{
"version": 2,
"name": "Makerbot Sketch",
"name": "UltiMaker Sketch",
"inherits": "ultimaker",
"metadata":
{

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB