383 Commits

Author SHA1 Message Date
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
Ghostkeeper
c235f339ae
Increment API version to 6
All plug-ins now have to re-check whether they are still compatible with the current version of Cura.

Contributes to issue CURA-6019.
2018-12-14 17:29:02 +01:00
Lipu Fei
6bf39a32a9 Rename Enum names to camal cases
CURA-6011
2018-12-14 09:56:10 +01:00
Aleksei S
973970a895 Every print ouput device should define its connection type(usb, network, cluster and etc)
CURA-6011
2018-12-13 16:00:12 +01:00
Lipu Fei
5255bca9dd Merge remote-tracking branch 'origin/master' into ui_rework_4_0 2018-12-04 15:08:50 +01:00
Lipu Fei
43096c1baf Update USBPrinting version to 1.0.1
CURA-5943
2018-12-04 15:03:45 +01:00
Lipu Fei
02e7f90473 Fix module importing in USBPrinting
CURA-5943
2018-12-04 15:02:52 +01:00
Jaime van Kessel
59a81be65c Fixed some leftover graphical issues
CURA-5943
2018-11-30 14:10:42 +01:00
Jaime van Kessel
6d4a460e58 Move USB sidebar into the main view of the monitorstage
CURA-5943
2018-11-30 13:53:53 +01:00
Jaime van Kessel
d8c430abf6 Fix typing 2018-11-27 17:54:53 +01:00
Frischid
1c54319b64
Update AutoDetectBaudJob.py
Editing the file like this solved my problem connecting to German RepRap Neo
2018-11-17 21:45:35 +01:00
fieldOfView
68c3023a46 Make sure firmware name is only requested once 2018-10-19 14:38:25 +02:00
fieldOfView
71d365c0c6 Fix case where Cura and the firmware could be waiting for eachother 2018-10-19 14:37:20 +02:00
fieldOfView
777470db7f Don't force sending M105 requests without OK
This prevents serial buffer overflow on the printer.
2018-10-18 15:47:25 +02:00
fieldOfView
f4c88aff0f Merge branch 'master' into fix_marlin_press_to_resume 2018-10-18 15:35:57 +02:00
Ghostkeeper
b5d8c1af6f
Merge branch 'master' into fieldOfView-feature_firmware_updater
Conflicts:
	cura/PrinterOutput/PrinterOutputModel.py - Bunch of code that was moved.
	plugins/USBPrinting/USBPrinterOutputDevice.py - Collisions with code style fixes.
	plugins/UltimakerMachineActions/UpgradeFirmwareMachineAction.qml - Bunch of code that was moved.
2018-10-15 16:52:22 +02:00
Ghostkeeper
99fc372b32
Update printer information when switching global container stacks
This was just evaluated once during the creating of a USB connection. But you can switch out the printer without breaking/making a USB connection, so in that case we have to update it here.

Contributes to issue CURA-5749.
2018-10-12 14:55:13 +02:00
Ghostkeeper
85b835118d
Log which firmware file you're about to upload
Kind of critical information, really.

Contributes to issue CURA-5749.
2018-10-12 13:24:09 +02:00
fieldOfView
6a50487bf0 Catch the one that got away 2018-10-11 19:16:10 +02:00
fieldOfView
ab7fe3138d Remove unused imports 2018-10-09 17:06:20 +02:00
fieldOfView
a36deea651 Move updateFirmware to PrinterOutputDevice...
along with codestyle and typing fixes
2018-10-09 16:26:45 +02:00
fieldOfView
cb24d58ab8 Don't flood the printer with temperature requests while says it is busy
Fixes #3994
2018-10-05 12:57:24 +02:00
fieldOfView
477862d779 Fix code style and unused imports 2018-10-03 23:07:37 +02:00
fieldOfView
61ffdf23d7 Fix MYPY/typing errors 2018-10-03 20:24:32 +02:00
fieldOfView
c4919d65f4 Merge branch 'master' into feature_firmware_updater 2018-10-03 14:02:24 +02:00
alekseisasin
5456637e4a
Merge pull request #4369 from fieldOfView/fix_usb_temperature_while_heating
Fix updating temperature while preheating bed or extruder
2018-10-03 10:35:30 +02:00
fieldOfView
3908781f6f Fix this sh*t
Sorry, I kind of dropped the ball before.
2018-10-02 17:08:39 +02:00
fieldOfView
9af71f2888 Fix incorrect typing and issues caused by typing 2018-09-28 13:40:39 +02:00
fieldOfView
b73a71746e Fix missing imports 2018-09-28 13:06:36 +02:00