Jaime van Kessel
477f62916c
Further simplify the data being sent over to the package manager
...
CURA-8587
2021-12-16 23:21:44 +01:00
Ghostkeeper
385c02f0bd
Merge branch '4.13'
2021-12-16 17:17:08 +01:00
Ghostkeeper
5a9bafe453
Update SDK version to 7.9.0
...
This is going to be the new SDK version for Cura 4.13.
2021-12-16 17:15:59 +01:00
Jaime van Kessel
d59cd602ee
FIx failing mypy test
...
CURA-8083
2021-12-16 10:00:11 +01:00
Jaime van Kessel
6c64e08299
Fix typing of scaleAreas
...
The change in e5be3e56dc
wasn't quite correct
CURA-8083
2021-12-16 09:58:09 +01:00
casper
e5be3e56dc
Use correct definition of Polygons
...
Only saw this error after the merge so pushing directly to master.
part of CURA-8083
2021-12-15 17:48:20 +01:00
Casper Lamboo
7c7a1016d0
Merge pull request #11075 from Ultimaker/CURA-8083_separate_z_shrinkage_comp
...
[CURA-8083] Separate Vertical and Horizontal Shrinkage Compensation.
2021-12-15 17:40:27 +01:00
Jelle Spijker
0ffaafc8c0
Revert "Simplify CuraPackageManager
"
...
This reverts commit 33f1bd8c5d
.
2021-12-15 16:39:02 +01:00
Jelle Spijker
9e1e98bdbd
Revert "Show install button after package has been uninstalled"
...
This reverts commit c66e17dd9e
.
2021-12-15 16:38:54 +01:00
casper
c66e17dd9e
Show install button after package has been uninstalled
...
CURA-8587
2021-12-15 15:13:38 +01:00
casper
33f1bd8c5d
Simplify CuraPackageManager
...
CURA-8587
2021-12-15 14:18:40 +01:00
Remco Burema
f51cc84a7c
Temporary? solution for UX w.r.t. material shrinkage.
...
Material shrinkage now alters both the disallowed areas+, and the blue wireframe, toghether repressenting the usable build-volume. This doesn't shrink the build-plate/printer model, still keeping in line with the 'show the size of the result object in Prepare, not the resized one we do print becasue it will shrink later' principle we had originally agreed on enough. Note that the disallowed areas also take the object themzelves into account, so the user could still tell when objects are going to be printed overlapped (as the dissalowed areas of those respective models then overlap -- but not, of course, the models themselves).
part of CURA-8083
2021-12-15 12:50:01 +01:00
Jaime van Kessel
03398422dd
Merge branch '4.13' of github.com:Ultimaker/Cura
2021-12-15 12:04:19 +01:00
Jaime van Kessel
998ba3631c
Add missing format to error log
2021-12-15 12:03:55 +01:00
Remco Burema
b6c0a49657
Attempt to compensate build-area/volume for material shrinkage.
...
part of CURA-8083
2021-12-14 17:04:20 +01:00
Ghostkeeper
9140b71b19
Merge branch 'libArachne_rebased'
...
Conflicts:
plugins/SimulationView/SimulationPass.py -> Reverted layer view optimisation in Master while some whitespace changed in Arachne.
resources/definitions -> Bunch of conflicts with profile updates.
resources/quality -> Bunch of conflicts with profile updates.
resources/texts/change_log.txt -> Removed the Arachne change log (as they are internal versions). It'll have to be re-added when we release this version as stable.
2021-12-14 11:48:58 +01:00
Jaime van Kessel
eb11e92637
Rename local_packages_id to local_packages_ids
...
CURA-8587
2021-12-13 11:54:13 +01:00
Ghostkeeper
006b5e25b2
Also catch unknown keyring errors
...
We're confident now that we get it to not crash for most normal cases. If there is a crash here it's due to the internals of Keyring. We're catching all of the others separately anyway.
Fixes Sentry issue CURA-340.
2021-12-13 11:22:37 +01:00
Jaime van Kessel
fe8a3fc61d
Prevent crash when setting non default intent category
2021-12-10 09:51:09 +01:00
Jelle Spijker
9874b0c8ba
removed redundant dunders from helper class
...
Contributes to: CURA-8587
2021-12-09 15:14:20 +01:00
Jelle Spijker
51a77f683d
Moved stateManageButton logic out of the packageModel
...
Contributes to: CURA-8587
2021-12-09 09:56:41 +01:00
Remco Burema
8be1c29f0a
Merge pull request #11036 from Ultimaker/CURA-8736_revert_graphics_buffer
...
Revert graphics buffer update
2021-12-09 08:50:26 +01:00
Ghostkeeper
9674c54efb
Better type checking and handling of optionals
...
Adds type checking here and there to catch such errors in the future.
This makes it handle the optional fields of this model better.
Contributes to issue CURA-8730.
2021-12-08 17:36:09 +01:00
Ghostkeeper
41ebd593c5
Revert "Merge branch 'bremco-graphics_buffer_update'"
...
This reverts commit 5e60cc6208
, reversing
changes made to c9feace0fb
.
2021-12-08 12:02:49 +01:00
Jelle Spijker
f6966c25fb
Some final tweaks and added missing documentation
...
Contributes to: CURA-8587
2021-12-07 09:48:48 +01:00
Ghostkeeper
e525770332
Cast result to list after _updateLocalPackages
...
Because the _updateLocalPackages function guarantees it to be a list now, not None any more.
Contributes to issue CURA-8587.
2021-12-06 17:14:02 +01:00
Ghostkeeper
cf8ff903da
Merge branch 'CURA-8670_fix_error_message_failed_sync'
2021-12-06 13:19:27 +01:00
Jaime van Kessel
a64aa6ef2d
Merge pull request #10989 from Ultimaker/CURA-8671_dont_send_materials_to_um2c
...
[CURA-8671] Don't send materials to printers that can't receive them
2021-12-06 09:48:18 +01:00
Jaime van Kessel
8f92f049d1
Emit signal when property changed
...
The signals weren't being emitted when the property was set.
CURA-8671
2021-12-06 09:43:53 +01:00
Jelle Spijker
a51b29cdf6
Fixed double items in getAllLocalPackages
...
Contributes to: CURA-8587
2021-12-05 16:28:21 +01:00
Jelle Spijker
305fb4ab09
renamed locally_installed property
...
Contributes to: CURA-8587
2021-12-05 16:23:23 +01:00
Jelle Spijker
09709ede8b
Fix duplicate packages in get AlllocalPackages
...
The helper class is needed because dict's aren't hashable
which complicates the `in` check.
Contributes to: CURA-8587
2021-12-05 15:11:35 +01:00
Jelle Spijker
8400459e21
Use Python syntax to check if item is in collection
...
Als removed the check on the first loop, because we know for certain these
will already be unique values.
Contributes to: CURA-8587
2021-12-03 17:41:29 +01:00
casper
4c570c87e9
Make sure recently installed packages only appear once in package list
...
Some packages might be added to both `getPackagesToInstall` and
`getAllInstalledPackagesInfo`
cura 8587
2021-12-03 17:19:18 +01:00
Jaime van Kessel
f999d990e0
Fix error message after a failed sync.
...
This fxes the issue where it would still show an error message if you
first have a sync fail and then have one that succeeds
CURA-8670
2021-12-03 14:19:59 +01:00
Jelle Spijker
00acfe9d72
Added uninstall functionality
...
Get it in a sharable state
Contributes to: CURA-8587
2021-12-03 13:27:30 +01:00
Jelle Spijker
3b3d986058
Groundwork for installing/updating packages
...
Contributes to: CURA-8587
2021-12-03 13:27:26 +01:00
casper
7e1247b171
Directly use bindings in banner pages
...
CURA-8564
2021-12-03 13:26:16 +01:00
casper
748101ce69
Remove banners when clicking close button
2021-12-03 13:26:06 +01:00
Jelle Spijker
02e2e0a1c6
Filter already installed packages from the install listviews
...
Contributes to: CURA-8587
2021-12-03 13:25:46 +01:00
Jelle Spijker
66e52294b5
Get the locally installed packages
...
Contributes to: CURA-8587
2021-12-03 13:25:45 +01:00
Ghostkeeper
0477ba44b2
Encode capabilities as comma-separated list
...
Previously it was encoded as a stringified Python list of strings, which is much harder to parse.
This would go wrong if any of these capabilities have a comma in them, but I think that would be bad practice for keywords like this anyway.
Contributes to issue CURA-8671.
2021-12-03 13:25:41 +01:00
Ghostkeeper
b76df21b4b
Filter printer list by capabilities
...
And an example of such usage: In the material sync via cloud we only want to sync with printers that can receive those materials.
We might want to add a message for the user to also make sure the firmware is up to date. Because if the firmware is not up to date now it will show no printers and instruct the user how to connect the printer to the cloud.
Contributes to issue CURA-8671.
2021-12-02 17:55:53 +01:00
Jaime van Kessel
569be2c791
Merge branch 'master' of github.com:Ultimaker/Cura
2021-12-02 15:08:09 +01:00
Jaime van Kessel
064a845f71
Ensure that opengl context is available when creating a snapshot
...
CURA-8723
2021-12-02 15:06:54 +01:00
Vandresc
748e698b57
Merge pull request #10969 from Ultimaker/CURA-8666_dont_restore_backup_plugins
...
[CURA-8666] Don't restore files ignored with current backup policy.
2021-12-02 14:37:00 +01:00
Remco Burema
1253b41537
Only perform materials-sync-job for capable printers.
...
part of CURA-8671
2021-12-02 12:22:55 +01:00
Jaime van Kessel
83b56726ba
CHange _getBuiltinWelcomePagePath to be static
...
SHould have been static, so boyscouting it now
CURA-8696
2021-12-01 10:33:05 +01:00
Jaime van Kessel
22fcdf5c7b
Change whatsnew to whats_new
...
They are seperate words, so should have an _ in between
CURA-8696
2021-12-01 10:30:52 +01:00
Jaime van Kessel
051c3ee2e2
Fix up documentation of WelcomePageModel
...
Some more boyscouting
CURA-8696
2021-12-01 10:29:31 +01:00