mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-19 20:29:40 +08:00
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:
commit
b4573a3bae
@ -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.
|
||||||
|
@ -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:
|
||||||
|
@ -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"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user