412 Commits

Author SHA1 Message Date
Kostas Karmas
03dc8d00fe Up the SDK version to 7.4.0
In preparation for release of the 4.8.

CURA-7795
2020-10-22 11:29:25 +02:00
Tim Guenthner
27eb72c64a Remove redundant variable 2020-10-01 19:47:41 -05:00
Kostas Karmas
bd02f9116a Fix TypeError if USBPrinting plugin path is not found
Fixes CURA-17T sentry issue
2020-09-17 15:34:43 +02:00
Kostas Karmas
bd54ef8d5a Update the SDK version to 7.3.0 for 4.7
CURA-7641
2020-08-07 11:12:27 +02:00
Ghostkeeper
9daab5ed9b
Workaround for bug in PySerial: Don't crash if file doesn't exist
Gonna report this upstream at the PySerial folks, if nobody else found this yet.

Fixes Sentry issue CURA-11W.
2020-07-22 09:50:46 +02:00
Ghostkeeper
8714ff9edb
Add more explanations for HWID being None 2020-07-21 17:32:59 +02:00
Ghostkeeper
8c4533a2c3
Fix crash when port gets disconnected while iterating
Fixes Sentry issue CURA-11T.
2020-07-20 12:10:08 +02:00
Victor
63e7e2b382
Added 76800 baud rate 2020-06-02 00:03:12 -03:00
Victor
accd205185
Added 76800 baud rate 2020-06-02 00:02:24 -03:00
Nino van Hooff
89f0970a88 Remove trailing whitespace from Python files 2020-05-29 14:30:33 +02:00
Nino van Hooff
de82406782 Convert doxygen to rst for UltimakerMachineActions, USBPrinting 2020-05-15 14:00:44 +02:00
Ghostkeeper
1946615fff
Fix asynchronous bug if job gets cancelled
If the print job happens to get cancelled right after checking if the index is correct, but before actually reading the line, it would get an IndexError when trying to read the line since cancelling the job clears the _gcode list.
This prevents that asynchronous issue by using the internal check in the list access to check that, and just uses an exception to check whether it's reached the end.

Fixes Sentry issue CURA-QC.
2020-05-11 17:36:24 +02:00
Ghostkeeper
29d2e5c921
Don't crash if USB device is taken over by other applications or breaks
If it happens at just the wrong moment, Cura could crash. Hopefully no longer, though I fear that now it would maybe crash somewhere else with the same error then. We'll find out through new error reports, I hope.

Fixes Sentry issue CURA-K8.
2020-04-23 13:07:48 +02:00
Nino van Hooff
7302e8ba7f Update missed sdk versions from 7.1 to 7.2.0 for Cura 4.6
CURA-7383
2020-04-21 11:46:12 +02:00
Jaime van Kessel
fe27da5e8a
Remove a number of unused variables 2020-04-10 13:46:19 +02:00
Ghostkeeper
6f707f3149
Bump SDK version number of Cura 4.5 to 7.1
We've added new things to our API. This allows plug-in developers to use them.

Contributes to issue CURA-7205.
2020-02-10 10:45:07 +01:00
Jaime van Kessel
0eea73d2a9
Fix typing
CURA-6255
2019-12-30 12:57:04 +01:00
Nino van Hooff
9aa5c3cd24 Hardcode plugin id for UsbPrinter and XmlMaterialProfile
Previous solution was more defensive but also introduced dependencies
and extra files for minor benefit

CURA-6255
2019-12-30 12:04:41 +01:00
Nino van Hooff
49b93db6df Use plugin Id instead of __file__ for USBPrinting
CURA-6255
2019-12-24 14:51:50 +01:00
Jaime van Kessel
c2e6116983
Add names to all the threads 2019-11-01 16:20:42 +01:00
Nino van Hooff
c62ff262ed Change SDK version to 7.0.0
CURA-6858
2019-10-21 14:51:34 +02:00
Ghostkeeper
c875252b53
Fix some mistakes indicated by PyCharm's linting 2019-10-15 15:27:58 +02:00
Ghostkeeper
82aa0492ea
Revert "CS-171 Add R2 support" 2019-09-06 14:00:04 +00:00
Lipu Fei
3853fb6d19 Add UI feedback on invalid firmware update
CURA-6537
2019-08-27 08:52:13 +02:00
Lipu Fei
4b8a216771 Fix typing 2019-07-22 09:34:00 +02:00
Ghostkeeper
cc9609738c
Show a message when trying to print via USB while already printing
Otherwise the button does nothing and gives no feedback of why it does nothing.

Fixes #6026.
2019-07-18 11:55:26 +02:00
Ghostkeeper
f334fa8578
Spelling of log entries and code style 2019-07-18 11:49:18 +02:00
Ghostkeeper
3629b955fe
Merge branch 'port-filter' of https://github.com/joba-1/Cura into joba-1-port-filter 2019-05-09 16:55:44 +02:00
Jaime van Kessel
49a9561625 Added exception handling for serial write 2019-04-08 17:43:03 +02:00
Jaime van Kessel
cbfe10a748 Prevent a zeroDivision error from crashing the usb printing
This fixes #5592
2019-04-08 13:36:48 +02:00
Lipu Fei
4a171eebf6 Move models around again
- Move machine related models to cura.Machines.Models
 - Move printer device related models to cura.PrinterOutput.Models
 - Other UI/GUI related modules in cura.UI
2019-03-26 08:29:22 +01:00
Lipu Fei
4e5d08f320 Fix merge conflicts with master 2019-03-21 14:59:53 +01:00
Lipu Fei
6a8db55112 Move PrinterOutputModel into cura.UI module 2019-03-20 09:43:10 +01:00
Lipu Fei
2b39d6422c Move PrinterOutputDevice into cura.PrinterOutput module 2019-03-20 09:43:09 +01:00
Lipu Fei
e30104ff7f Move PrintJobOutputModel into cura.UI module 2019-03-20 09:27:23 +01:00
Ghostkeeper
2d9910d3f0
Fix post-processing scripts when printing via USB
The g-code writer processes the post-processing scripts properly, so get the g-code from that plug-in.
2019-03-11 11:59:23 +01:00
Andrew
70e640be22
Change regexp for greater compatibility
Change regexp in bed_temperature_matches  and extruder_temperature_matches for greater compatibility with different printers.
2019-03-08 11:25:49 +06:00
Andrew
e56a97bfa2
monitor does not show "Build Plate"
bed_temperature_matches : error in temperature search expression
2019-03-06 17:28:22 +06:00
Diego Prado Gesto
f7ffb3ae69
Merge pull request #4825 from Frischid/patch-2
Update AutoDetectBaudJob.py
2019-02-01 11:31:02 +01:00
Lipu Fei
efa26c8323 Merge remote-tracking branch 'origin/4.0' 2019-02-01 11:08:33 +01:00
Jaime van Kessel
9a3d9dd2c1 Ensure that writeStarted is called when attempting to print via USB 2019-01-31 17:42:20 +01:00
Ghostkeeper
33abbd4c89
Merge branch '4.0' 2019-01-25 12:03:38 +01:00
Ghostkeeper
91dc3713ae
Initialise idle count properly
This is a field so it should always get initialised in the __init__ function.

Fixes #5218.
2019-01-25 12:03:21 +01:00
susisstrolch
6600cea632 Add missing baudrate to USB connection.
Extend the baudrate list by 500.000bd to also detect Vertex Delta 3D (K8800). Fixes #4952
2018-12-18 16:51:16 +01:00
Jaime van Kessel
a181ffe79d Merge branch 'fix_print_monitor_dark_theme' of https://github.com/fieldOfView/Cura into 4.0 2018-12-18 13:54:45 +01:00
Lipu Fei
71e71e0a4f
Merge pull request #4975 from Ultimaker/CURA-6011_connection_types
[4.0] Every output device should define its connection type
2018-12-18 13:23:02 +01:00
Jaime van Kessel
9b6e52a5be Make monitor item background themable 2018-12-18 13:08:18 +01:00
Jaime van Kessel
84a7f2e5a2 Fix review comments
CURA-6011
2018-12-18 09:40:08 +01:00
fieldOfView
7d6e698f43 Fix (USB) print monitor in dark theme 2018-12-17 17:37:21 +01:00
Lipu Fei
6992fd2991 Update plugin versions to match package versions
CURA-6019
2018-12-17 13:03:21 +01:00