Merge pull request #20052 from Ultimaker/PP-549_fix_sketch_sprint_cloud

[PP-549] Fix cloud connection for Sketch Sprint and Large
This commit is contained in:
Erwan MATHIEU 2025-02-04 10:08:30 +01:00 committed by GitHub
commit b4573a3bae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 3 deletions

View File

@ -13,7 +13,9 @@ class FormatMaps:
"fire_e": "ultimaker_method", "fire_e": "ultimaker_method",
"lava_f": "ultimaker_methodx", "lava_f": "ultimaker_methodx",
"magma_10": "ultimaker_methodxl", "magma_10": "ultimaker_methodxl",
"sketch": "ultimaker_sketch" "sketch": "ultimaker_sketch",
"sketch_large": "ultimaker_sketch_large",
"sketch_sprint": "ultimaker_sketch_sprint"
} }
# A map from the extruder-name in their native file-formats to the internal name we use. # A map from the extruder-name in their native file-formats to the internal name we use.

View File

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

View File

@ -3,5 +3,7 @@
"ultimaker_methodx": "MakerBot Method X", "ultimaker_methodx": "MakerBot Method X",
"ultimaker_methodxl": "MakerBot Method XL", "ultimaker_methodxl": "MakerBot Method XL",
"ultimaker_factor4": "Ultimaker Factor 4", "ultimaker_factor4": "Ultimaker Factor 4",
"ultimaker_sketch": "MakerBot Sketch" "ultimaker_sketch": "MakerBot Sketch",
"ultimaker_sketch_large": "MakerBot Sketch Large",
"ultimaker_sketch_sprint": "MakerBot Sketch Sprint"
} }