45 Commits

Author SHA1 Message Date
Jaime van Kessel
1ae881caee USB device is first added and then trying to connect.
This is to ensure that USB printers work without autodetect
2017-12-15 16:03:58 +01:00
Jaime van Kessel
6bdce54e1d Enable progress bar for USB printing
CL-541
2017-12-15 14:47:06 +01:00
Jaime van Kessel
d3b9ac0d45 Also start reworking the USBPrint.
It's also time for some much needed code cleaning in that bit. The auto-detect is moved to it's own job,
which should make it a whole lot easier to disable it all together.

CL-541
2017-12-14 17:37:57 +01:00
ChrisTerBeke
1d68bcc218 Cleanup usb printer output device manager qml component creation - CURA-4568 2017-11-28 14:31:21 +01:00
Jaime van Kessel
0613b1e4b7 Creating components is now done with the prefab function
CURA-4568
2017-11-27 13:00:49 +01:00
Mark
9a193ad5c5 Changing AGPLv3 to LGPLv3 2017-09-28 13:00:43 +02:00
alekseisasin
204019702d Added Title for messages
CURA-4203
2017-09-13 13:58:08 +02:00
Ghostkeeper
3951239513
Don't emit devices changed signal if remove wasn't successful
The same could be done for adding but let's keep it at this for now.

Hopefully fixes #2238.
2017-08-31 13:24:40 +02:00
Youness Alaoui
7e7e15a12b Fix MachineManager connection to OutputDeviceManager signals late.
If a PrinterOutputDevice is able to connect quickly to a machine, then
by the time the MachineManager is created and connects to the signal,
it will be too late, and it might miss that there is already connected
devices.

# Conflicts:
#	plugins/USBPrinting/USBPrinterOutputDeviceManager.py
2017-07-12 14:06:08 +02:00
Robert Colbert
b6a5e5a1af Added VCP serial device support for USB Printing on Windows. 2017-05-02 12:51:34 -05:00
Jaime van Kessel
645e3e8dfe Don't try to send empty g-code lines 2017-03-23 19:42:52 +01:00
Jaime van Kessel
6ff130c361 Added logging 2017-03-23 17:57:52 +01:00
Simon Edwards
92cee4a9d7 Merge branch 'master' into python_type_hinting 2017-02-13 16:31:31 +01:00
Ghostkeeper
a3af887d3f
Add support for WSH USB driver when not filtering USB-only
This support was included when filtering for USB only, but not the case when we are not filtering. I don't like this bit of code much since we should just define a list of paths to check and iterate over it, so that we can re-use the data and prevent syncing mistakes like this.
2017-02-13 13:46:30 +01:00
Torsten Blindert
2fca555ea6 FEATURE: Support wsh usb driver 2017-02-11 16:34:49 +01:00
Jaime van Kessel
5e5cc723d7 Calling the stop of USBPrinterOutput device no longer joins the thread.
This caused quite a bit of delay on the application closing down (up to 5 seconds!)
2017-02-10 15:03:34 +01:00
Simon Edwards
1b43e4981e Fixes for all of the plugins. Added a script to invoke mypy. (I'm stiiiick of .bat files. They are just broken.) 2017-01-17 16:57:37 +01:00
fieldOfView
fc6e92e10f Fix uploading custom firmware on windows
The simple string replacement left an extraneous "/" in front of the path, which Windows can't handle. QUrl.toLocalFile() does a proper conversion.

CURA-955
2016-09-06 13:07:15 +02:00
fieldOfView
edd9643703 Merge branch '2.3' of https://github.com/Ultimaker/Cura into 2.3 2016-09-06 10:56:38 +02:00
Jaime van Kessel
6db03538a1 Removed capital letter
CURA-955
2016-09-06 09:23:20 +02:00
Jaime van Kessel
71e6733c8e Firmware update logging now uses correct path
CURA-955
2016-09-06 09:08:46 +02:00
fieldOfView
fcf89b79c6 Update wording of error messages 2016-09-06 08:55:32 +02:00
Jaime van Kessel
66f773434f UpgradeFirmwareAction now supports custom firmware uploading
CURA-955
2016-09-05 15:42:09 +02:00
Thomas Karl Pietrowski
c174ce4396 CURA-2079: Rework on adding detailed error messages to firmware updater 2016-08-17 22:34:04 +02:00
Thomas Karl Pietrowski
e72a10c97a CURA-2079: Using errorCode (WIP)
Sadly I don't see any reason why errorCode doesn't get updated in QML.
self._errorCode is accessible, but changes to it don't take any effect.
2016-08-17 01:09:07 +02:00
fieldOfView
dbaa6190be Add firmware upload for umo_dual
CURA-1774
2016-08-15 13:43:16 +02:00
Thomas Karl Pietrowski
f915092f83 CURA-2079: Finish firmware upload process on errors
Looking at the old code shows that the download process was never
completely finished. The according function was only return'ed, but no
signal was emitted to the window to give the user the possibility to
close it again.

Optionally, it would be useful here to pass messages to the window
dialog to inform the user about problems.

However, this code is untested because:
1. I don't know where put my printers *.hex-file, when coding here with
my editor,
2. Have no idea how to reproduce the IO errors reported at JIRA, so
fingers crossed here.

Contributes to CURA-2079
2016-08-14 17:37:36 +02:00
Jack Ha
48792aa8f3 Fixed firmware update screen. CURA-2079. 2016-08-10 12:57:01 +02:00
Jaime van Kessel
d42a97f036 Fixed firmware upgrade for um2+
CURA-1761
2016-07-06 13:22:09 +02:00
Jaime van Kessel
fc99cac05e Removed update firmware from extensions; This is now handled by machine actions 2016-07-05 09:39:18 +02:00
fieldOfView
8a206b74fd Use new-style signalemitter decorator instead of SingalEmitter subclass
CURA-1615
2016-06-21 16:24:07 +02:00
Ghostkeeper
e308c69c54 Merge pull request #804 from thopiekar/master-eclipse-markers
Adding a marker for a correctly unresolved import on Linux and OSX
2016-06-16 11:07:27 +02:00
Thomas Karl Pietrowski
7ef64cd05b Return an empty string just to be sure 2016-06-15 17:43:28 +02:00
Thomas Karl Pietrowski
6b41608db2 Correcting the last comment.. 2016-06-15 17:33:52 +02:00
Thomas Karl Pietrowski
51222325b0 Last cleanup
Removing useless comments and replacing the log message with something
more simple.
2016-06-15 17:29:49 +02:00
Thomas Karl Pietrowski
77961e83c2 Adding a marker for a correctly unresolved import on Linux and OSX 2016-06-15 15:05:36 +02:00
Thomas Karl Pietrowski
2e7db9b732 Adding check whether getGlobalContainerStack() returns None or not.
If we get None here, the firmware-updater will be closed and detailed
error returned to the logs with an explanation why.
2016-06-15 14:38:23 +02:00
Thomas Karl Pietrowski
a7fc3258a7 Only use Application.[...].getGlobalContainerStack() to get all values 2016-06-15 11:16:13 +02:00
Thomas Karl Pietrowski
5128ea41c4 Getting "machine_heated_bed" (hopefully) correctly + little fix 2016-06-15 10:57:58 +02:00
Thomas Karl Pietrowski
9e6f5a4a68 CURA-1615 - Updating for API 3
This updates the firmware updater to use the new MachineManagerModel

Additionally renamed "machine_type" to "machine_id", which makes it more
selfexplaining, when reading the code.

My printers firmware is not available here and has no heated bed, so
please test this commit!
2016-06-15 10:04:47 +02:00
Jaime van Kessel
232e447a74 Added bq firmware (which caused merge issue) 2016-04-18 15:48:20 +02:00
Jaime van Kessel
2c489ed054 Connection state signal is now connected before connect is called
CURA-1339
2016-04-18 15:05:21 +02:00
Jaime van Kessel
8a47903374 Changed namespace of usbprintermanager (QML) to Cura from UM
CURA-1339
2016-04-18 15:03:13 +02:00
Jaime van Kessel
fb52d39936 Changed enum values to lowerCamelCase
CURA-1339
2016-04-18 14:43:04 +02:00
Jaime van Kessel
b31106a666 Added missing (renamed) file
CURA-1339
2016-04-18 11:45:14 +02:00