Commit graph

1570 commits

Author SHA1 Message Date
Jaime van Kessel
1c2c4d4163 Added property to indicate if output device accepts commands
Instead of how this was previously done, it's now tied to the auth state.

CL-541
2017-11-23 17:07:24 +01:00
Jaime van Kessel
d0c7352be6 Added missing authentication_succeeded_message attribute to constructor
CL-541
2017-11-23 16:16:57 +01:00
Jaime van Kessel
f03a978781 Sending & compressing g-codes re-added to LegacyUM3
CL-541
2017-11-23 14:19:54 +01:00
Jaime van Kessel
8b8d67b3a8 LegacyUM3 now handles warnings & errors again
CL-541
2017-11-23 13:37:59 +01:00
Jaime van Kessel
96d5c7152b Added sending material profiles to LegacyUM3
CL-541
2017-11-23 10:31:39 +01:00
Jaime van Kessel
7465a6551a Setup the authentication stuff for LegacyUM3
CL-541
2017-11-22 11:59:07 +01:00
Jaime van Kessel
d8b12be5e4 LegacyUM3 now correctly gets material set
CL-541
2017-11-21 16:26:17 +01:00
Jaime van Kessel
0f78b05802 Connection states changes are now tied into the UI again
CL-541
2017-11-21 15:12:23 +01:00
Jaime van Kessel
9cfe9769d3 Printers now automatically try to connect again
CL-541
2017-11-21 14:47:55 +01:00
Jaime van Kessel
3f1167a7d2 Results in printer discovery are sorted again
CL-541
2017-11-21 14:39:03 +01:00
Jaime van Kessel
a8e71cf50c NetworkManager is now created on demand and re-created after a certain timeout.
CL-541
2017-11-21 14:35:17 +01:00
Jaime van Kessel
b1649f2d38 Added PrintJob handling to ClusterUM3
CL-541
2017-11-21 11:01:19 +01:00
Jaime van Kessel
fd548975cc Closing a connection now actually stops the updates
CL-541
2017-11-21 10:19:17 +01:00
Jaime van Kessel
a9f52c2ad6 Added data handling for Connect devices
CL-541
2017-11-20 17:00:02 +01:00
Jaime van Kessel
1167fa0a89 Added data handling for legacy printer
CL-541
2017-11-20 16:03:54 +01:00
Jaime van Kessel
61753540e4 Callbacks are now handled by url and operation type.
It would have been nicer to use the request, but it's unhashable.

Cl-541
2017-11-20 15:12:29 +01:00
Jaime van Kessel
59e4d1af63 re-added recheck connections
CL-541
2017-11-20 15:11:38 +01:00
Jaime van Kessel
4197f18fc1 First steps to ensure that the Discover UM3 action works with new architecture
CL-541
2017-11-20 13:35:08 +01:00
Jaime van Kessel
1b8caa7a21 NetworkedPrinterOutputDevice now requires address in constructor
CL-541
2017-11-20 13:23:09 +01:00
Jaime van Kessel
68e80a88bc Rename usage of printer to more generic device.
The usage of "printer" is a bit confusing, as in the case of CuraConnect
it's a device that can acces multiple printers.

CL-541
2017-11-20 13:18:08 +01:00
Jaime van Kessel
9202bb11fe Added stubs for cluster & legacy output devices
CL-541
2017-11-20 13:12:15 +01:00
Jaime van Kessel
22f2279a76 Moved bunch of code from the old location to the new bits in archtiecture
CL-541
2017-11-20 10:59:57 +01:00
Jack Ha
579f2b5ec6 CURA-4525 prepare for print all or single build plate question 2017-11-16 16:34:12 +01:00
Jack Ha
228039545b CURA-4525 send active build plate to legacy UM3 with Print over network 2017-11-16 09:58:53 +01:00
Jack Ha
8e5e555344 CURA-4525 Send all build plate gcodes to printer at one press of the button :-) 2017-11-13 16:27:15 +01:00
Lipu Fei
78456d5bc3 Fix clusterSize property check in QML 2017-11-09 09:06:46 +01:00
Mark
1468c3aae5 move undefined/null check 2017-11-09 07:37:09 +01:00
Mark
fdcce1780e Also check if base.selectedPrinter is null 2017-11-08 19:24:09 +01:00
ChrisTerBeke
142ff4e9dc
Merge pull request #2669 from fieldOfView/feature_jogging
Jogging
2017-11-01 16:15:40 +01:00
fieldOfView
7a9dda4022 Disable jogging for UM3
NetworkPrinterOutputDevice does not have the API to control jogging
2017-10-30 14:46:31 +01:00
Mark
334283e893 Found some more margins that wouldnt be fixed numbers and made the code more consistent 2017-10-27 14:12:35 +02:00
fieldOfView
ff847aa329 Fix qml error when there is no connected printer
Also fixes code style
2017-10-25 11:52:43 +02:00
Diego Prado Gesto
6dfd04928f CURA-4485 Activate configuration option disabled in printers within a
cluster.
Just allow when there is a cluster with just one printer.
2017-10-24 14:51:35 +02:00
fieldOfView
a9f2ad7ca3 Hide manual controls for outputdevices that don't support it 2017-10-24 11:03:51 +02:00
Ghostkeeper
6c4c7fff4d
Use findContainersMetadata whenever possible
This ensures that we only load those containers that we actually need the data of.

Contributes to issue CURA-4243.
2017-10-20 15:09:45 +02:00
Diego Prado Gesto
40f548ba99 Merge branch 'CURA-4252_improve_zeroconf_service' 2017-10-17 13:02:58 +02:00
Lipu Fei
b55efdd70e Remove timeout = 0 for get_service_info
CURA-4252
2017-10-16 10:36:14 +02:00
Lipu Fei
7f944ff08b Improve zeroconf service changed handling
CURA-4252

Use a separate thread to handle zeroconf service changed callbacks. If a
service info cannot be retrieved successfully, the request will be
rescheduled and tried again later.
2017-10-12 15:26:17 +02:00
Ghostkeeper
08d475b7ac
Merge branch 'master' of github.com:Ultimaker/Cura 2017-10-12 14:59:13 +02:00
Ghostkeeper
e4a53da763
Merge branch '3.0'
Contributes to issue CL-508.
2017-10-12 14:56:30 +02:00
Lipu Fei
920c90010f Fix base.selectedPrinter is undefined problem 2017-10-12 14:54:01 +02:00
Ghostkeeper
eda61f1ff9
Merge branch 'update_printer_blocked_icon' into 3.0 2017-10-12 14:49:07 +02:00
Simon Edwards
8ed7918b60 Update the icon used to show that a printer is blocked.
This applies to the printer status icons shown in the monitor tab when connected via Cura Connect.
2017-10-12 14:02:19 +02:00
Simon Edwards
eef4d61402 Correct the status message when a printer needs a config change but is unreachable
CL-508
2017-10-12 13:44:03 +02:00
Simon Edwards
427afdbe23 Correctly set up the cluster output device instances with the cluster size
This fixes the Cura Connect messages shown in the network printer selection dialog.

CL-555
2017-10-12 12:41:21 +02:00
Simon Edwards
af3c34b6fd Don't let the user select unreachable printers in the Cura Connect monitor tab
CL-584
2017-10-12 10:46:25 +02:00
Diego Prado Gesto
2915199367 Avoid printer connection when the status is 'error' - CURA-3868 2017-10-11 15:55:30 +02:00
ChrisTerBeke
e97bdc526b Merge branch '3.0' 2017-10-11 14:13:57 +02:00
Ghostkeeper
c4339955b3
Merge branch '3.0' into CL-508_show_lost_connection_status 2017-10-11 14:05:10 +02:00
Ghostkeeper
bf1baa2791 Merge branch '3.0' of github.com:Ultimaker/Cura into 3.0 2017-10-11 14:04:17 +02:00