57 Commits

Author SHA1 Message Date
Simon Edwards
172b4e57a4 Fix problem with very slow gcode sending
CURA-4850
2018-01-22 15:08:54 +01:00
Simon Edwards
b20e35714f Factor out the code for adding a function for run after a HTTP request
CL-541
2018-01-04 13:36:29 +01:00
Simon Edwards
695c7d8267 Rename the _live_multiparts to the even better _kept_alive_multiparts name
CL-541
2018-01-04 13:27:24 +01:00
Simon Edwards
2588e11364 Improve and simplify how we hold on to form part objects
CL-541
2018-01-04 10:43:50 +01:00
Simon Edwards
3173eb6740 Avoid mega-tons of object copying when building compressed gcode
CL-541
2018-01-03 16:15:12 +01:00
Jaime van Kessel
e12a2fbd6a Fixed typing
CL-541
2018-01-03 14:07:34 +01:00
Jaime van Kessel
c1bf87bd8f Removed commented out code
CL-541
2018-01-03 13:54:15 +01:00
Jaime van Kessel
ef46f51497 Camera delete now triggers the correct function
CL-541
2018-01-03 13:44:38 +01:00
Simon Edwards
5e3666f073 Fill out the type hints in NetworkedPrinterOutputDevice.py
CL-541
2018-01-02 17:21:51 +01:00
Jaime van Kessel
eb27695d52 If a reserved job is moved to a printer that can do it, it' s correclty removed from the old printer
CL-541
2017-12-22 12:04:02 +01:00
Jaime van Kessel
52d25042eb Machines now re-appear after timeout
CL-541
2017-12-22 11:29:13 +01:00
Jaime van Kessel
041b1830fe Re-added manual printer adding
CL-541
2017-12-20 16:30:40 +01:00
Jaime van Kessel
23330cd086 Camera feed is also stopped when NetworkCamera is destroyed
CL-541
2017-12-20 15:39:52 +01:00
Jaime van Kessel
95b1e8f68c Ensured that multiple requests from the same camera are no longer possible
CL-541
2017-12-20 15:38:47 +01:00
Jaime van Kessel
005ba4ac53 Changed hotend properties to float
CL-541
2017-12-14 09:34:16 +01:00
Jaime van Kessel
1719a7b2fe Fixed preheating for Legacy UM3
CL-541
2017-12-08 17:16:59 +01:00
Jaime van Kessel
ae629e2968 Fixed camera for legacy UM3 printer again
CL-541
2017-12-08 14:59:14 +01:00
Jaime van Kessel
4ba551a3af Prevent crash when switching away from monitor tab
CL-541
2017-12-06 17:02:35 +01:00
Jaime van Kessel
77e3965fc7 Added videostream to cluster again
CL-541
2017-12-06 14:59:20 +01:00
Jaime van Kessel
f30f0a7194 Mismatched configuration is now shown correctly again
CL-541
2017-11-30 11:04:13 +01:00
Jaime van Kessel
9084dfd6bd It's now possible to send print jobs to cluster again
CL-541
2017-11-28 12:59:54 +01:00
Jaime van Kessel
cfc6a3ad48 Added some convenience functions to NetworkedPrinterOutputdevice
This also moves the getUser from legacy to networked printer

CL-541
2017-11-28 12:43:49 +01:00
Jaime van Kessel
c1c59925de Removed duplicated code
CL-541
2017-11-27 17:14:30 +01:00
Jaime van Kessel
83b13546fb Moved compressing of GCode to one class higher
CL-541
2017-11-27 17:12:36 +01:00
Jaime van Kessel
5d3779da26 Update cluster view components
CL-541
2017-11-27 15:54:44 +01:00
Jaime van Kessel
52a137a68c Ensured that sidebar has the right properties to show again
CL-541
2017-11-27 14:42:45 +01:00
Jaime van Kessel
f570ba046b Added rudimentary jogging controls for UM3
This needs a bit more love; The machine is a bit stupid when it comes to
moving outside of build area.

CL-541
2017-11-27 11:02:56 +01:00
Jaime van Kessel
00eeb835ac ManualPrinterControl uses correct functions again
CL-541
2017-11-27 10:22:30 +01:00
Jaime van Kessel
57de028608 re-implemented abort & pause for legacy um3
CL-541
2017-11-24 11:26:30 +01:00
Jaime van Kessel
c523a6ddf6 Progress is now shown for LegacyPrinter while printing
CL-541
2017-11-24 09:22:50 +01:00
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
0b91112d72 Fixed postForm
Setting the type of the request to json messed up the multi-part stuff.

CL-541
2017-11-23 16:43:52 +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
f987e6d977 Functionality properties (canPause, canPreHeatBed, etc) are now in the Controller.
It's actually up to the controller to say something about this, so this location makes more sense

CL-541
2017-11-21 16:59:17 +01:00
Jaime van Kessel
0fe91db636 Moved HeatedBedBox to own qml file
CL-541
2017-11-21 16:52:37 +01:00
Jaime van Kessel
34e808d585 PrinterOutputModel now has different extruders if it has more than one.
It used to just fill the list with references to the first one created.
CL-541
2017-11-21 16:36:51 +01:00
Jaime van Kessel
e3d07f1806 Moved ExtruderBox and OutputDeviceHeader to their own files.
This makes it a whole lot easier to get an overview.

CL-541
2017-11-21 16:06:30 +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
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
152f3462ce Also added any to callable mypy decorator
For some reason it also wants to know that it also calls self. Weird.
CL-541
2017-11-21 11:00:37 +01:00
Jaime van Kessel
10a2dbb134 Extended the typing for the calllbacks
CL-541
2017-11-21 10:35:53 +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
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