From eed5f88b1316a267e5c4d2ea0a4953cce636925d Mon Sep 17 00:00:00 2001 From: Thomas Karl Pietrowski Date: Mon, 14 Mar 2016 13:56:27 +0100 Subject: [PATCH 1/2] USBPrinting: Adding a short instruction Just added a short instruction where to find the id of the machine, just to make it easier for the vendor to fill in the correct values. --- plugins/USBPrinting/USBPrinterManager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/USBPrinting/USBPrinterManager.py b/plugins/USBPrinting/USBPrinterManager.py index f74ce38958..c532f92542 100644 --- a/plugins/USBPrinting/USBPrinterManager.py +++ b/plugins/USBPrinting/USBPrinterManager.py @@ -140,6 +140,8 @@ class USBPrinterManager(QObject, SignalEmitter, OutputDevicePlugin, Extension): else: baudrate = 250000 + # Note the keyword here is the id of the machine. You can find the id of your machine in the *.json file, eg. + # https://github.com/Ultimaker/Cura/blob/master/resources/machines/ultimaker_original.json#L2 machine_without_heated_bed = {"ultimaker_original" : "MarlinUltimaker-{baudrate}.hex", "ultimaker_original_plus" : "MarlinUltimaker-UMOP-{baudrate}.hex", "bq_witbox" : "MarlinWitbox.hex", From 8422356dc9684830681a047e8fdc63b44d44538f Mon Sep 17 00:00:00 2001 From: Thomas Karl Pietrowski Date: Mon, 14 Mar 2016 13:57:27 +0100 Subject: [PATCH 2/2] USBPrinting: Correcting typo --- plugins/USBPrinting/USBPrinterManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/USBPrinting/USBPrinterManager.py b/plugins/USBPrinting/USBPrinterManager.py index c532f92542..567cd5e177 100644 --- a/plugins/USBPrinting/USBPrinterManager.py +++ b/plugins/USBPrinting/USBPrinterManager.py @@ -140,7 +140,7 @@ class USBPrinterManager(QObject, SignalEmitter, OutputDevicePlugin, Extension): else: baudrate = 250000 - # Note the keyword here is the id of the machine. You can find the id of your machine in the *.json file, eg. + # NOTE: The keyword used here is the id of the machine. You can find the id of your machine in the *.json file, eg. # https://github.com/Ultimaker/Cura/blob/master/resources/machines/ultimaker_original.json#L2 machine_without_heated_bed = {"ultimaker_original" : "MarlinUltimaker-{baudrate}.hex", "ultimaker_original_plus" : "MarlinUltimaker-UMOP-{baudrate}.hex",