346 Commits

Author SHA1 Message Date
Ian Paschal
0e44a78251 Set non-NOTIFY properties to constants 2018-09-20 15:33:10 +02:00
Simon Edwards
9d53a31ec1 Add a missing file
CL-897
2018-09-20 10:28:41 +02:00
Simon Edwards
b7673a7438 Show Cura Connect alerts in the monitor tab
CL-897
2018-09-19 16:53:18 +02:00
Ian Paschal
4cc1b6ce02 Add typings and fix code style 2018-09-06 16:57:45 +02:00
Jaime van Kessel
132366fa61 Revert "Add enabled state to printer, so that it can be displayed."
This reverts commit dd778f0450219cbc2f7309eeb08bc20065bd51af.
2018-09-04 13:42:24 +02:00
Jaime van Kessel
dd778f0450 Add enabled state to printer, so that it can be displayed.
This ensures that if a printer is set to "Not available", that the interface can correctly show it

CL-896
2018-09-04 13:27:17 +02:00
Jaime van Kessel
2e5b11af9d Fixed codestyle issue
Switching between codestyles is hard :(
2018-09-03 10:05:20 +02:00
Jaime van Kessel
fb1033ad99 Add the compatible machine families property to printerOutputModel
This is used by the cluster to indicate by which families of printers the job can be displayed

CL-894
2018-09-03 10:03:11 +02:00
fieldOfView
4a5451576d Update copyright 2018-09-02 18:07:30 +02:00
fieldOfView
43b4ca3044 Fix code-style 2018-09-02 18:02:33 +02:00
fieldOfView
9739dbd5f6 Fix missing import 2018-09-02 17:18:04 +02:00
fieldOfView
77f99ecf20 Moved FirmwareUpdater to cura.PrinterOutput 2018-08-24 15:48:11 +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
Jaime van Kessel
6a08b63f21 Ensure that extruder configurations are correctly sorted
CL-894
2018-08-21 13:32:22 +02:00
Jaime van Kessel
eb7d42a7f8 Added delete button to cluster queue
CL-894
2018-08-17 10:49:44 +02:00
Jaime van Kessel
db1d90ed9b Added delete function
This is needed at a later stage to delete print jobs from queue by the cluster

CL-894
2018-08-17 10:38:46 +02:00
Jaime van Kessel
c968e54750 Moved duplicated code to own function
CL-894
2018-08-17 10:38:23 +02:00
Jaime van Kessel
d4aaa73928 Codestyle fixes
CL-894
2018-08-17 10:34:14 +02:00
Jaime van Kessel
94b9782110 Added preview image to print cluster monitor
CL-894
2018-08-14 14:54:27 +02:00
Jaime van Kessel
78ebdb13f4 Cluster monitor page now shows queue instead of added printers
CL-894
2018-08-14 13:34:05 +02:00
Jaime van Kessel
74f8c82c5e Removed commented out code 2018-08-09 16:38:30 +02:00
Jaime van Kessel
86be07b095 Refactored the config models so they they function are more stand alone units.
The seperation of concern got a bit mixed up, as the printer output model was connecting the signals that the config model needed to function together.
With these changes it's now also possible to use the config model as a part of a printjob, since printjobs can also have a configuration
2018-08-09 16:22:35 +02:00
Jaime van Kessel
5c860d9592 Fixed typo 2018-08-09 11:11:41 +02:00
fieldOfView
688a5083d2 Add canUpdateFirmware property to printer output devices 2018-08-08 15:53:26 +02:00
Diego Prado Gesto
ff6bc9de4e Fix some more code-style 2018-07-03 13:09:05 +02:00
Ian Paschal
8f7370db6c Merge remote-tracking branch 'origin/master' into feature_send_material_profiles 2018-07-02 12:37:56 +02:00
Ghostkeeper
e717abf499
Fix typing related to Network Printing
Contributes to issue CURA-5330.
2018-06-15 16:53:45 +02:00
Ghostkeeper
01a645e726
Use only CuraApplication
It was complaining that getMachineManager doesn't exist, because that is in CuraApplication instead of UM.Application. I removed all references to UM.Application so that the imports are a bit simpler.

Contributes to issue CURA-5330.
2018-06-15 10:28:07 +02:00
Diego Prado Gesto
7eba868574 CURA-5330 Fix typing and code style in the UM3NetworkPrinting plugin 2018-06-14 15:41:12 +02:00
Diego Prado Gesto
803d945fb6 CURA-5330 Add assertions when the networkmanager is not None after creating it. 2018-06-13 13:35:17 +02:00
Diego Prado Gesto
6e364f0895 CURA-5330 Fix typing and code-style in the ContainerNode and all the
related children, and QualityGroup and its children.
Also fix the related calls in the managers.
2018-06-13 10:55:57 +02:00
Diego Prado Gesto
f860b9c99e CURA-5330 Fix typing in GenericOutputController 2018-06-13 09:07:34 +02:00
Ghostkeeper
b2cd0ffc0f
Make createFormParts public
Because the postFormWithParts function is public and it needs these parts that can (or should) only be created with this function.

Contributes to issue CURA-5034.
2018-06-12 15:44:22 +02:00
Diego Prado Gesto
8c2ba64f32 CURA-5330 Add typing to NetworkedPrinterOutputDevice 2018-06-08 16:47:52 +02:00
Diego Prado Gesto
51462b20c3 CURA-5330 Add typing to PrinterOutputModel constructor 2018-06-08 15:56:20 +02:00
Diego Prado Gesto
1982c9b84c CURA-5330 Change TYPE_CHECKING flag 2018-06-08 15:54:28 +02:00
Diego Prado Gesto
fcdb1aef52 CURA-5330 Add typing in ExtruderOutputModel 2018-06-08 15:53:33 +02:00
Diego Prado Gesto
ace7e89ea0 CURA-5330 Add typing to PrintJobOutputModel 2018-06-08 15:48:47 +02:00
Diego Prado Gesto
e5e96bc600 Merge branch 'master' into mypy_fixes
Contributes to CURA-5330
2018-06-08 15:29:22 +02:00
Ghostkeeper
3b510af8f5
Add default 'None' for onFinished
I don't always need to know whether it was successful.

Contributes to issue CURA-5034.
2018-06-08 14:31:19 +02:00
Lipu Fei
3b46816632 Also check btemporary value
CURA-5449
2018-06-07 11:29:21 +02:00
Diego Prado Gesto
1019f2dd65 CURA-5449 Do not check if the name is the correct group name if the
output device is manual create device and it is marked as temporary.
Wait until all the information is retrieved when the request finishes.
2018-06-06 14:54:26 +02:00
Ghostkeeper
b3f73594bf
Fix types of on_finished callback
It only has a QNetworkReply argument.

Contributes to issue CURA-5330.
2018-06-01 14:53:13 +02:00
Ghostkeeper
8ed3bd29cb
Don't return any boolean in _update
Nothing listens to that return value, and its parent classes say that this must return None.

Contributes to issue CURA-5330.
2018-06-01 14:53:13 +02:00
Ghostkeeper
a55cf0678e
Add missing function types
The class is typed now. There's some bugs though.

Contributes to issue CURA-5330.
2018-06-01 14:53:12 +02:00
Ghostkeeper
4aec316b48
Prevent homing twice on printers that don't support X/Y specialisation
If the X Y is ignored and it just executes G28, it still executes it only once now.
2018-04-25 13:29:07 +02:00
Ian Paschal
54c32c52f6 CURA-5221 Added S5 ID code 2018-04-23 11:22:11 +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