380 Commits

Author SHA1 Message Date
fieldOfView
9c865e80d1 Remove debug print 2018-09-14 19:15:23 +02:00
fieldOfView
66aeb95e28 Fix opening port after baudrate detection 2018-09-14 14:06:55 +02:00
fieldOfView
6bf91d2b3a Fix updating temperature while preheating bed or extruder
While preheating the bed/extruder with M190 or M109, the firmware keeps outputting temperature lines, but these do not contain "ok" because no new command was acknowledged.

Fixes #3741
2018-09-14 13:59:05 +02:00
Ghostkeeper
1136033f97
Remove superfluous check for 'ok T:'
This check is never hit because if there is 'ok T:' in the bytes array then it will have hit the first check for 'ok ' and 'T:'.
2018-09-03 10:50:07 +02:00
fieldOfView
43b4ca3044 Fix code-style 2018-09-02 18:02:33 +02:00
Aleksei S
fe9cada459 Increase plugin API version to 5
CURA-5627
2018-08-27 13:59:00 +02:00
fieldOfView
77f99ecf20 Moved FirmwareUpdater to cura.PrinterOutput 2018-08-24 15:48:11 +02:00
fieldOfView
5d52239201 Code style 2018-08-24 09:09:49 +02:00
fieldOfView
7b00d6879a Factor out USBPrinterManager singleton 2018-08-22 15:44:11 +02:00
fieldOfView
5f81c6d1f4 Add a FirmwareUpdater class and make AvrFirmwareUpdater a subclass 2018-08-22 15:43:17 +02:00
fieldOfView
4bea1410b8 Allow printer output devices to set their ability to update firmware 2018-08-22 14:37:48 +02:00
fieldOfView
c1d7ca7bff Merge branch 'master' into feature_firmware_updater 2018-08-22 12:16:25 +02:00
alekseisasin
c190c8d05a
Merge pull request #3999 from fieldOfView/fix_firmware_upload
Fix firmware upload on Windows
2018-08-10 11:39:53 +02:00
fieldOfView
688a5083d2 Add canUpdateFirmware property to printer output devices 2018-08-08 15:53:26 +02:00
Ghostkeeper
59bb774436
Remove unused variables 2018-08-07 10:51:56 +02:00
fieldOfView
339987be9d Move hardcoded firmware-file table to definitions 2018-08-02 11:50:28 +02:00
fieldOfView
3ac5342dfc Separate firmware updater from USBPrinterOutputDevice 2018-08-02 11:11:22 +02:00
fieldOfView
171220205c Merge branch 'fix_firmware_upload' into feature_firmware_updater 2018-08-01 11:25:42 +02:00
fieldOfView
846c55a99d Simplify detection of url-encoded filepatch 2018-07-31 09:47:18 +02:00
Lipu Fei
006c778d3e
Merge pull request #3855 from jorgegarciadev/master
Fix for detecting USB connection to Malyan M200 and Monoprice Mini
2018-07-24 17:00:43 +02:00
fieldOfView
65ada30c9c Fix flashing "default" firmware
The url is not QUrl encoded if the "default" firmware is flashed
2018-07-17 09:01:06 +02:00
Lipu Fei
49bd249819 Update text for USB printing exit confirmation
CURA-5384
2018-07-13 11:10:15 +02:00
Lipu Fei
c0b7e40b0d Add on-exit callback management and check for active USB printing
CURA-5384
2018-07-13 09:16:11 +02:00
Lipu Fei
ac3d3bc5c0 Revert "Added signal to prevent window closing if USB printer is printing"
This reverts commit 596a7b7169b9c7e41cd4751f99eea656f67ed2b7.
2018-07-13 08:08:56 +02:00
Aleksei S
596a7b7169 Added signal to prevent window closing if USB printer is printing
CURA-5384
2018-07-11 13:23:30 +02:00
Ghostkeeper
f59f23c027
Fix sending print job name via USB 2018-07-09 11:41:02 +02:00
fieldOfView
7e90546163 Fix firmware upload on Windows...
by correctly creating a local path from a url-encoded path

Fixes #3731 and #3987
2018-06-29 10:34:15 +02:00
Ghostkeeper
79c6b2dad8
Use CuraApplication instead of Application
Because UM.Application doesn't have any getPrintJobInformation function or anything like that.

Contributes to issue CURA-5330.
2018-06-15 16:55:30 +02:00
Diego Prado Gesto
a184fad8ee CURA-5330 Add typing to the USBPrinting plugin 2018-06-14 15:57:30 +02:00
Ghostkeeper
54a03723ab
Set encoding correctly when opening files everywhere
Otherwise the encoding is interpreted differently on Windows and Mac.
2018-06-11 11:09:07 +02:00
Jack Ha
b2b9de7960 CURA-5396 added timeout options for auto detecting baud rate over USB serial 2018-06-07 13:50:40 +02:00
Lipu Fei
f395f1eebc
Merge branch 'master' into WIP_improve_initialization 2018-05-28 13:37:26 +02:00
Jorge García
4bd87e2164
Fix for showing temperatures for Malyan M200 and Monoprice Mini 2018-05-26 13:15:36 +02:00
Jorge García
dc9813b916
Fix for detecting Malyan M200 and Monoprice Mini 2018-05-26 01:56:57 +02:00
Ghostkeeper
0d55b8b440
Resume after pausing without waiting for next ok
Previously the resume only worked because in the message receiving loop it would no longer ignore the next 'ok'. It doesn't actually send a message that would trigger an 'ok'. This only worked because we are polling every 2 seconds for the nozzle temperature which also happens to trigger an 'ok' response, which we interpret as a go-ahead for being able to send the next g-code line.
Now it's no longer dependent on the fact that we happen to also poll the temperatures, so the code is more stable. And it also resumes immediately instead of waiting for up to 2 seconds.
2018-05-25 12:04:00 +02:00
Ghostkeeper
7c0eb43a23
Fix unpausing after cancelling a print
The variable name is self._paused, not self._is_paused. This was doing nothing at all.
2018-05-25 11:44:37 +02:00
Diego Prado Gesto
5704a7b184 Merge branch 'master' into WIP_improve_initialization
Conflicts:
	cura/AutoSave.py
	cura/BuildVolume.py
	cura/CuraApplication.py

Contributes to CURA-5164
2018-05-25 09:40:42 +02:00
ChrisTerBeke
fd2e692440 Merge branch '3.3' 2018-05-24 14:33:55 +02:00
Ian Paschal
26e32dc08a Added missing colon 2018-05-24 11:46:46 +02:00
ChrisTerBeke
c491cb4707
Merge pull request #3597 from fieldOfView/fix_multiextruder_usb_temperatures
[3.3] Fix getting multiple extruder temperatures from USB printer
2018-05-24 10:52:30 +02:00
ChrisTerBeke
0e0492327c
Fix missing argument in application stopped signal callback 2018-05-11 18:15:50 +02:00
Lipu Fei
051dd7a6e9 WIP: Make application initialization and start up more clear
- Create SingleInstance class to handling single instance stuff.
 - Instead of calling getInstance() everywhere, initialize each object
   explicitly in order when application starts and getInstance()s do not
   create instances any more and they merely return the created
   instances.
 - Only set initial values in construtor functions __init__(). Move the
   initialization of context-aware (i.e. things that depend on other
   things) to separate functions.
 - Split application creation and initialziation into several steps and
   them should be called explicitly in the correct order.
2018-05-04 09:57:02 +02:00
Fredrik Öhrn
33e35e114e Only open USB ports if the printer understands gcode. 2018-04-21 08:09:05 +02:00
Lipu Fei
db5c18295b Merge remote-tracking branch 'origin/3.3' 2018-04-19 09:20:22 +02:00
Lipu Fei
340916179a Small typo fixes for preheat timeout
CURA-5227
2018-04-18 12:00:50 +02:00
fieldOfView
bc84c1f6e6 Prevent preheat timeout from occurring during a print 2018-04-04 13:47:40 +02:00
fieldOfView
08d4200f92 Prevent sending next command before an "ok" is received 2018-03-30 14:07:53 +02:00
fieldOfView
c101fe005f Fix getting multiple extruder temperatures from USB printer 2018-03-29 18:28:15 +02:00
Jack Ha
54c85fd0ea CURA-4844 fix some typos 2018-03-29 13:25:26 +02:00
Aleksei S
290adbd906 Fix: bed leveling for UM+
CURA-4844
2018-03-29 11:53:31 +02:00