58 Commits

Author SHA1 Message Date
Ghostkeeper
6d2b46244f
Home printer after aborting
Otherwise the head gets left on top of the print and you'd have to manually move it aside after each abort.
2017-07-10 13:38:40 +02:00
Jaime van Kessel
d6d6036760 Fixed minor mistake with pull request
CURA-3681
2017-04-14 10:29:24 +02:00
Jaime van Kessel
04d2f8d68c Merge branch 'usbprinting-zparseerror-refactor' of git://github.com/tamarintech/Cura 2017-04-14 10:28:14 +02:00
Jaime van Kessel
bb752fa16f Added more logging 2017-04-13 19:05:13 +02:00
Elijah Snyder
b4f6ae8c5f First refactor for section to increase verbosity and move all translated M105s. 2017-04-10 19:01:59 -05:00
Lipu Fei
9f5a1b3695 Merge pull request #1564 from nallath/usb_fixes
Usb fixes
2017-04-04 12:05:49 +02:00
Jaime van Kessel
f5590a98ed Added missing close for USB programmer. Thanks to legoabram for the fix 2017-03-30 21:35:26 +02:00
Jaime van Kessel
e30e2a8018 Instead of not sending the line at all, just send a get temp command 2017-03-23 20:13:13 +01: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
7993d9e95e Added **kwargs option to request write
CURA-3496
2017-03-14 13:30:47 +01:00
Jaime van Kessel
beea9caf04 Clarified unable to print over USB message for ulti-gcode 2017-02-22 09:43:24 +01:00
Ghostkeeper
d2fa6dbae2
Notify to update remaining time when it drastically changes
When the time passes normally it doesn't trigger this signal but just go on counting, but when the pre-heat starts or cancels it updates via this signal. This is handy for the future, when we want to update the remaining time from the printer information. However for now it is also nice because we can make the pre-heat timer dependent on this signal so we know when to have it running. This fixes the problem that the pre-heat seems to have been cancelled in the GUI when you switch away the tab, because the timer running is now dependent on the property rather than always false.

Contributes to issue CURA-3161.
2017-02-16 12:58:39 +01:00
Ghostkeeper
3cc11ecae5
Log when pre-heating or cancelling pre-heat
To help debugging and because it's a user interaction.

Contributes to issue CURA-3161.
2017-02-16 12:58:39 +01:00
Simon Edwards
92cee4a9d7 Merge branch 'master' into python_type_hinting 2017-02-13 16:31:31 +01:00
Ghostkeeper
7cf81412ae
Implement bed pre-heating via USB
It just calls the bed heating command without implementing the time-out. Implementing the time-out is impossible via just g-code.

Contributes to issue CURA-3161.
2017-02-07 17:26:44 +01:00
Ghostkeeper
7b41e844cc
Fix name and address for USB printing devices
As address it uses the serial port, which would be COM# for Windows and /dev/ttyUSB# for Linux. I don't know what it would display there on OSX, probably a drive directory.

Contributes to issue CURA-3161.
2017-02-02 15:19:56 +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
Jaime van Kessel
e69747577b Added extra timeout when not detecting baudrate through bootloader 2016-12-16 10:14:58 +01:00
Jaime van Kessel
8f5d410ff6 Only use T in temp command if num extruders is larger than 1 (instead of larger than 0) 2016-12-14 09:51:15 +01:00
Jaime van Kessel
1a456253a0 Added not supported message to USB printing if it's not supported 2016-12-09 17:16:59 +01:00
Jaime van Kessel
1d2d31c81b Update Usbprinter output request write 2016-11-24 16:03:56 +01:00
Thomas Karl Pietrowski
f8a5ee8c9b USBPrinting: Removing superfluous empty lines
Contributes to CURA-1809
2016-11-06 15:45:33 +01:00
Ghostkeeper
bb32fcf0e9
Add context to 'ready to' buttons
This should make translating easier.
2016-11-01 13:39:06 +01:00
Ghostkeeper
96e516c676
Allow for saving multiple scene nodes at the same time
The selection saving saves the entire current selection and their child nodes.

Contributes to issue CURA-2617.
2016-10-17 15:53:33 +02:00
fieldOfView
fcf89b79c6 Update wording of error messages 2016-09-06 08:55:32 +02:00
fieldOfView
efbb2ed081 Code style 2016-08-18 11:54:24 +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
Thomas Karl Pietrowski
b42ef49a4e Typo 2016-08-16 23:27:54 +02:00
Thomas Karl Pietrowski
0435706736 CURA-2079: Adding error messages to the firmware update dialog
Adds messages for IO errors, communication errors, missing firmware and
a general message for unknown problems.
2016-08-16 12:25:55 +02:00
Thomas Karl Pietrowski
9a34f6b067 CURA-2079: First concept 2016-08-16 11:36:13 +02:00
Thomas Karl Pietrowski
8179fabf1d Merge remote-tracking branch 'upstream/master' into master-CURA-2079 2016-08-14 17:43:26 +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
fieldOfView
2a55bba840 Code-style fixes
CURA-2079
2016-08-11 16:58:02 +02:00
Jack Ha
48792aa8f3 Fixed firmware update screen. CURA-2079. 2016-08-10 12:57:01 +02:00
Jack Ha
9bf4dbd24f Fix wrong variable name 2016-08-10 09:44:27 +02:00
fieldOfView
e551898e04 Add a connection string to the printmonitor
CURA-2091
2016-08-09 18:43:09 +02:00
Jaime van Kessel
87a0543d0c Added bit more logging to USBConnection
This should make the debugging easier out in the field.
2016-08-09 09:37:31 +02:00
Jaime van Kessel
8eef34ac45 USB printer connection is now reset when print is completed
CURA-1822
2016-07-21 10:30:22 +02:00
Jaime van Kessel
33313ddb70 Fixed some imports for USB printing 2016-07-20 15:15:16 +02:00
Jaime van Kessel
3d1bbeca38 Restarting machine check properly re-enables endstop check
CURA-1385
2016-07-07 13:43:45 +02:00
Thomas Karl Pietrowski
ec41fce7bd USBPrinting: Let's "Print via USB"
Already made that correction in the past. When print monitor was merged it appeared again.
2016-07-03 13:26:51 +02:00
fieldOfView
087ebc0768 Automatically show the Print Monitor when starting a print
CURA-1036
2016-07-01 15:06:49 +02:00
fieldOfView
6800991fa1 Fix USBPrinterOutputDevice to work with the Print Monitor
CURA-1036
2016-07-01 14:32:40 +02:00
fieldOfView
33c4e86163 Change abbreviation of "seconds" to IEEE-recommended "s" (instead of "sec") 2016-06-13 16:14:16 +02:00
Jaime van Kessel
fb52d39936 Changed enum values to lowerCamelCase
CURA-1339
2016-04-18 14:43:04 +02:00
Jaime van Kessel
6b7fb894f8 Added moveHead to usb printing
And ensured that wizard page uses correct version again

CURA-1339
2016-04-14 14:21:22 +02:00
Jaime van Kessel
fc88844cf8 Added relative move option
CURA-1339
2016-04-14 14:05:36 +02:00
Jaime van Kessel
4b5c118ed2 Refactoring & documentation
CURA-1339
2016-04-14 13:55:33 +02:00
Jaime van Kessel
8c971d217d Fixed typo in command for setting nozzle temp
CURA-1339
2016-04-14 13:22:48 +02:00