7346 Commits

Author SHA1 Message Date
Remco Burema
8935ab4a2d Defensive coding: What if no extruder position.
part of CURA-9278
2022-09-13 10:12:32 +02:00
c.lamboo
92b371cd50 More agressivly check online printers
CURA-9278
2022-09-12 17:34:44 +02:00
c.lamboo
99136fd209 Fix bug in displaying extruders
CURA-9278
2022-09-12 17:24:55 +02:00
c.lamboo
8d9e9a9dbf Use modern python typing
CURA-9278
2022-09-12 17:04:40 +02:00
Casper Lamboo
e3fc73f17d
Simplify if notation
CURA-9278
2022-09-12 14:20:06 +02:00
Casper Lamboo
0f36f83373
Simplify list notation
CURA-9278
2022-09-12 14:19:08 +02:00
Remco Burema
b7611da95e Connect buttons for selected printers: Print and refresh.
part of CURA-9278
2022-09-09 15:14:29 +02:00
Remco Burema
2b1909b7b5 Don't show machines with only incompatible configurations.
part of CURA-9278
2022-09-09 13:17:41 +02:00
Remco Burema
6adf05bbf0 Complete interface for selecting cloud printer.
CURA-9278
2022-09-09 11:05:05 +02:00
Remco Burema
d955a05d55 Merge remote-tracking branch 'origin/main' into CURA-9278_choose_printer_dialog 2022-09-08 13:37:02 +02:00
Remco Burema
04cd76cb3b Get extruder configs to frontend.
When choosing the printer, all possible (single) extruder configs need to be shown for that printer.

CURA-9278
2022-09-08 13:36:42 +02:00
Julian
75840426d7 Added machine action dialog optional
Based on this change, users will be able to run their machine action plugins code just by clicking the action button, so without having to open a modal.
2022-09-07 16:32:58 +02:00
Julian
ed14e3bd44 Added machine action buttons dynamic visibility
Based on this change, users now will be able to manage the visibility of their machine action plugin implementations. For example, a machine action only visible when loggedIn.
2022-09-07 16:29:55 +02:00
Jaime van Kessel
094d176c45
Fix LayerPolygon 2022-09-07 15:32:51 +02:00
Jaime van Kessel
a8f0e330ad
Fix logspam in layerpolygon 2022-09-07 09:55:19 +02:00
Jaime van Kessel
0fcbcf6a5f
Fix crash on layer polygon 2022-09-07 09:52:57 +02:00
Remco Burema
5866560540 Merge remote-tracking branch 'origin/main' into CURA-9278_choose_printer_dialog 2022-09-06 23:33:45 +02:00
Maël Kerbiriou
4b7f18c08c SceneNode settings use native python types 2022-09-06 18:06:31 +02:00
Jaime van Kessel
6afdd86cc4
Merge pull request #13215 from digitalfrost/050922
PrintInformation.py Use warning method with Logger
2022-09-06 15:07:56 +02:00
Jaime van Kessel
48c6eb076c
Merge pull request #12959 from digitalfrost/050822
LayerPolygon.py: Refactor check for unknown line types
2022-09-06 15:06:13 +02:00
Jaime van Kessel
0944e63808
Merge pull request #12947 from digitalfrost/040822
MachineErrorChecker.py: Use one line conditional assignment
2022-09-06 15:04:10 +02:00
Jaime van Kessel
5b9ff198f4
Merge branch '030822' of github.com:digitalfrost/Cura 2022-09-06 15:02:32 +02:00
Jaime van Kessel
7d836e3874
Merge pull request #12844 from digitalfrost/patch-4
LayerPolygon.py: Shorten excessively long lines
2022-09-06 15:00:52 +02:00
Jaime van Kessel
7d3a617824
Merge branch 'main' of github.com:Ultimaker/Cura 2022-09-06 14:44:01 +02:00
Jaime van Kessel
6c0d76807e
Add trycatch around whatsnew & changelog pages
Fixes CURA-4DX (sentry crash)
2022-09-06 14:43:38 +02:00
Joey de l'Arago
e95ed93021
Merge pull request #13210 from Ultimaker/CURA-9277_
Various fixes for the cloud printer types feature
2022-09-06 13:57:03 +02:00
c.lamboo
148263a068 Move hasNetworkedConnection to GlobalStack
From code review

CURA-9277
Co-authored-by: Joey <j.delarago@ultimaker.com>
2022-09-06 13:52:10 +02:00
Casper Lamboo
6253fb2fdc
Add typing to function argument
CURA-9277

Co-authored-by: Joey de l'Arago <joeydelarago@gmail.com>
2022-09-06 13:19:50 +02:00
Remco Burema
6baf14a516 Merge remote-tracking branch 'origin/main' into CURA-9278_choose_printer_dialog 2022-09-06 12:08:05 +02:00
Jaime van Kessel
e2e1926c3c
Merge branch '180822' of github.com:digitalfrost/Cura 2022-09-06 11:43:57 +02:00
digitalfrost
250c038e03
CuraContainerStack.py: iterate directly over IndexTypeMap (#12988)
* CuraContainerStack.py: iterate directly over IndexTypeMap

There is no need for range(len

Co-authored-by: Jelle Spijker <spijker.jelle@gmail.com>
2022-09-06 11:41:50 +02:00
digitalfrost
2b981daf17 PrintInformation.py: Fix grammar in docstrings
Fix grammar and typos for:
- class docstring
- defineAbbreviatedMachineName
- _onOutputStart
2022-09-05 20:22:45 +02:00
digitalfrost
f30fd519b7 PrintInformation.py Use warning method with Logger
Use f-string and warning method with Logger instead of "Old Style string
formatting
2022-09-05 19:37:34 +02:00
Joey de l'Arago
ea596bdd90 Add some extrudare information fetching.
CURA-9278
2022-09-05 17:59:01 +02:00
Joey de l'Arago
7f98ef70f0 Add printer cards
CURA-9278
2022-09-05 17:38:21 +02:00
c.lamboo
b6a461bd08 Revert "Prevent abstract machines from being deleted in the config menu"
This reverts commit 27fc11b8404ed84a9b95b2fdddab239d2cd3c93b.
2022-09-05 17:32:23 +02:00
c.lamboo
2d3ad84167 Fix extruders enabled button not updating
The `numberExtrudersEnabled` property was never updated, as such the checks if the property changed based on the new value being different from this value didn't work.

CURA-8463
2022-09-05 14:31:21 +02:00
c.lamboo
48b8585ce6 Make sure online printers are always shown in the correct tab
CURA-9277
2022-09-05 11:44:29 +02:00
joeydelarago
ee7c8d1f02 Move creatFlattenedContainerInstnance into CuraStackBuilder so it can be reused.
CURA-9224
2022-09-05 10:42:48 +02:00
Jaime van Kessel
4b2d03fe1d
Don't show warning message if creating abstract printer failed 2022-09-05 10:27:03 +02:00
Remco Burema
a56a21cf93 W.I.P.: Press print on abstract cloud printer. User should see dialog.
Start of implementation. When printing on an abstract printer, a user should see a dialog with the matching concrete cloud printers to pick from to actually print. Names are not final. Very much a work in progress. Very not finished also.

start of implementation for CURA-9278
2022-09-02 17:49:39 +02:00
c.lamboo
6d0acbe095 Always show correct number of connected machines
Calculate number of connected machines _after_ the abstract machine its connected is removed from the list

CURA-9277
2022-09-02 16:28:10 +02:00
c.lamboo
27fc11b840 Prevent abstract machines from being deleted in the config menu
CURA-9277
2022-09-02 16:26:17 +02:00
c.lamboo
8bb2671a28 Don't show abstract machines in configuration page
So they cannot be removed through the preferences

CURA-9289
2022-09-02 16:26:17 +02:00
Maël Kerbiriou
111136cf49 use automatic drop down setting from SceneNodeSettings 2022-09-01 15:29:52 +02:00
Jaime van Kessel
438871648b
Don't notify qml of update if no configurations changed
This might be the cause of #11608, but i'm not entirely sure. Whatever
the case, it's also not going to hurt checking this...
2022-08-31 16:31:39 +02:00
c.lamboo
c73b980a3d Merge branch 'main' into CURA-9422_abstract_cloud_monitor_redux
# Conflicts:
#	resources/qml/PrinterSelector/MachineListButton.qml
2022-08-31 16:05:00 +02:00
Jaime van Kessel
ded3873249
Fix abstract machines being displayed twice 2022-08-31 15:12:25 +02:00
Remco Burema
a713b1e9e9
Merge pull request #13165 from Ultimaker/CURA-8463_cloud_configuration
Show all configurations in "abstract" printer from cloud
2022-08-31 14:50:13 +02:00
Remco Burema
afeec473f6 Small fixes (mostly QML warnings and the like).
done as part of CURA-9422
2022-08-31 14:15:05 +02:00