55 Commits

Author SHA1 Message Date
fieldOfView
6017d9176d Remove exception logging in USBPrinterManager because it caused an error every 5 seconds.
CURA-1198
2016-03-17 16:59:41 +01:00
Thomas-Karl Pietrowski
6a4e2019dc Removing unused imports 2016-03-15 12:57:03 +01:00
Ghostkeeper
e4effc1236 Merge pull request #665 from thopiekar/master-code-fixes
Fixing small issues in the code
2016-03-15 10:57:50 +01:00
Thomas-Karl Pietrowski
af280b782e Rename name to printer_name
"name" is a built-in function
2016-03-14 15:39:01 +01:00
Thomas-Karl Pietrowski
3b58d1e2a5 Removing unused import of "os" 2016-03-14 15:38:05 +01:00
Thomas-Karl Pietrowski
bad862e72f USBPrinting: Adding lost check for "machine_heated_bed" 2016-03-14 15:09:10 +01:00
Thomas-Karl Pietrowski
b0e4f095a6 Merge branch 'master-usb-printing' of https://github.com/thopiekar/Cura into master-usb-printing 2016-03-14 14:49:25 +01:00
Thomas-Karl Pietrowski
e7bd07740e USBPrinting: Reordering and rethinking machine detection
* Moved all machines again to a basic dictionary
** The idea is to collect all machines at one place, which are unmodified. In case there is a printer, which is modified, it goes to a seperate dictionary.
* The if-clauses now respect this idea (hopefully)
2016-03-14 14:43:14 +01:00
Thomas Karl Pietrowski
6775d337f5 USBPrinting: Complete the note with a link to the hex files 2016-03-14 14:23:26 +01:00
Thomas-Karl Pietrowski
9f251a43e2 Merge branch 'master-usb-printing' of https://github.com/thopiekar/Cura into master-usb-printing 2016-03-14 14:16:35 +01:00
Thomas-Karl Pietrowski
4d0a2094a1 USBPrinting: Reordering printers in dictionaries 2016-03-14 14:13:26 +01:00
Thomas-Karl Pietrowski
b3f721cfa0 USBPrinting: Using the correct dictionary
(Dirty coding does not make any sense..)
2016-03-14 14:02:56 +01:00
Thomas Karl Pietrowski
8422356dc9 USBPrinting: Correcting typo 2016-03-14 13:57:27 +01:00
Thomas Karl Pietrowski
eed5f88b13 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.
2016-03-14 13:56:27 +01:00
Thomas-Karl Pietrowski
a1e673dc64 USBPrinting: Correcting indents 2016-03-14 13:34:49 +01:00
Thomas-Karl Pietrowski
a2915ddc80 USBPrinting: Correcting machine_with_heated_bed dictionary again (oops) 2016-03-14 10:16:53 +01:00
Thomas-Karl Pietrowski
d968d3e2b2 USBPrinting: Correcting machine_with_heated_bed dictionary 2016-03-14 10:14:12 +01:00
Thomas-Karl Pietrowski
29ea25d0b3 USBPrinting: Huge clean up in _getDefaultFirmwareName
* Moving TODO on top of if clauses
* Moving all machine types and hex-file names into dictionaries
* Adding error messages for unknown printers
2016-03-14 10:04:30 +01:00
Thomas-Karl Pietrowski
97a7cee3e2 USBPrinting: Using platform.system() for platform check
As platform is already imported here, usig platform for the check is much easier.
2016-03-14 09:42:57 +01:00
Thomas-Karl Pietrowski
8bbbb480a4 USBPrinting: Moving baudrate and correcting indent
Moves the baudrate into the if clause, which looks at least for me better and just found a wrong indent
2016-03-14 09:38:55 +01:00
Jaime van Kessel
339ee12f90 Not being able to find firmware no longer blocks GUI
Cura-440
2016-02-29 13:57:40 +01:00
Ghostkeeper
c41b9fb09a UMO firmware update to detect heated bed
It detects it by virtue of whether the user indicated that the printer has a heated bed during the add printer wizard.

Contributes to issue CURA-440.
2016-02-23 17:27:17 +01:00
Ghostkeeper
9379b0a97b Update translation from machine name to hex file
There was an incongruence in the translation from the machine name to hex file. Sometimes the machine name was wrong. Sometimes the hex file was wrong.

Contributes to issue CURA-440.
2016-02-12 17:09:42 +01:00
Tamara Hogenhout
c48051e39d marked the string as translatable
Contributes to #CURA-526
2016-01-18 12:19:59 +01:00
Arjen Hiemstra
949fd199a8 Fix the last code style issue 2015-11-30 11:56:08 +01:00
Arjen Hiemstra
a1087150ef Properly clean up printer connections that are no longer available.
Contributes to CURA-274
2015-10-30 13:46:58 +01:00
Arjen Hiemstra
67e00221eb Display a message that there are no connected printers when trying to update firmware
Contributes to CURA-274
2015-10-30 13:46:58 +01:00
Arjen Hiemstra
e7e833bfcf Fix firmware update to properly report progress
CURA-274 #Ready-for-Review
2015-10-26 13:00:10 +01:00
Tamara Hogenhout
ed693d57a9 Fixes that the firmware update kan be called from the add machine -> add UMO wizard
fixes #CURA-256
2015-10-14 16:03:29 +02:00
Jaime van Kessel
998ebce608 Fixed USB manager so correct firmware filename is generated 2015-09-14 16:11:06 +02:00
Jaime van Kessel
f272820100 Fixed paths for firmware 2015-09-10 11:24:47 +02:00
Tamara Hogenhout
ef93524d78 adds/adapts translation context markers
last nesscessary changes for internationalisation -> Cura

Contributes to: issue CURA-116
2015-09-09 15:25:39 +02:00
Tamara Hogenhout
4a9bf2b4d6 adds/adapts translation context markers
all nescessary in folder: Cura/plugins

Contributes to: issue CURA-116
2015-09-08 15:26:49 +02:00
Jaime van Kessel
251c043add Removed debug print statements 2015-08-18 14:37:21 +02:00
Jaime van Kessel
dd67ec7167 Removed broken timer 2015-08-18 14:31:16 +02:00
Jaime van Kessel
3eedb15637 Fixed firmware update extention menu 2015-08-18 14:23:15 +02:00
Jaime van Kessel
c95cf5263b Changes to USB printer manager so its usable by other qml files 2015-08-18 14:12:48 +02:00
Jaime van Kessel
a63d08288a Ignored runtime exception for usb thread 2015-08-13 12:14:47 +02:00
Jaime van Kessel
04b8961297 Updates to ensure that usb printing now works via output device API 2015-08-12 15:19:20 +02:00
Arjen Hiemstra
ba80cdba67 Write to the correct variable so bed temperature is properly updated
Contributes to #82
2015-07-09 16:34:04 +02:00
Arjen Hiemstra
b458a4c6e3 Correct a copy-paste error in getConnectionList
Contributes to #82
2015-07-09 16:34:04 +02:00
Arjen Hiemstra
20874d88ad Properly close all open USB connections on shut down
Contributes to #82
2015-07-09 16:34:04 +02:00
Arjen Hiemstra
a9f109fd74 Fix USB printing on Linux
Contributes to #82
2015-07-07 11:30:00 +02:00
Arjen Hiemstra
cc58f4d159 More fixes for the Firmware update window
Now it works on MacOSX

Contributes to Ultimaker/Uranium#8
2015-07-01 02:49:44 +02:00
Arjen Hiemstra
9aa386c2b0 Remove the check for connected printers
Not doing anything at all is actually worse because it looks like it is
broken.

Contributes to Ultimaker/Uranium#8
2015-07-01 01:27:43 +02:00
Arjen Hiemstra
ff896907ea Fix errors due to changes in USBPrinter
Contributes to Ultimaker/Uranium#8
2015-07-01 00:24:08 +02:00
Arjen Hiemstra
59fbf72ac3 Use a proper path for the firmware/printing window and set some additional properties
Contributes to Ultimaker/Uranium#8
2015-06-30 23:33:10 +02:00
Arjen Hiemstra
a604f2041a Do not show a firmware update window if there are no printers connected
Contributes to Ultimaker/Uranium#8
2015-06-30 23:32:06 +02:00
Tamara Hogenhout
c6151c2343 Restyling of the save to toolpath button
The save to button only shows a short description, not the entire description including device-name.

Contributes to #54
2015-06-25 18:38:43 +02:00
Arjen Hiemstra
bc98eb40ba Change "Update" back to "Update Firmware"
String change that should not have happened.

Contributes to #57
2015-06-17 16:03:07 +02:00