Commit graph

29021 commits

Author SHA1 Message Date
j.delarago
ddb49ddba4 Add comment
CURA-8610
2022-06-08 11:20:51 +02:00
j.delarago
71a817697b Before this change packages were only being checked if they were bundled after loading the package_id. However only installed packages were being loaded so this would always be false.
The solution here is to check first if a material file is inside "secure_paths" (these are install directory resource paths). If it is, it must be a bundled material.

CURA-8610
2022-06-08 10:22:24 +02:00
Ghostkeeper
de8a58f0d7
Fix imports, especially not using plugins folder as module
When running from source, 'import plugins' works since it's working from the directory where the plug-ins directory is located. However in a build this doesn't work since the source code is in a different location there.
2022-06-08 09:50:44 +02:00
Ghostkeeper
fb3f065fe0
Catch ValueErrors from removing callbacks that were already removed
This can happen from asynchronous access.

Fixes Sentry issue CURA-3YV.
2022-06-07 13:55:56 +02:00
j.delarago
efeb29c734 Fix call to plugin that was causing errors when building
CURA-8610
2022-06-07 13:41:54 +02:00
Remco Burema
d2381f129f
Merge pull request #12434 from Ultimaker/CURA-6990
Use "required packages" metadata to load a project file with a third party material
2022-06-07 13:26:31 +02:00
c.lamboo
76180eee01 Show warning on-close of the install missing packaged dialog
CURA-6990
2022-06-06 22:49:49 +02:00
c.lamboo
bee4da6368 Re-use Marketplace Component in the InstallMissingPackagesDialog
CURA-6990
2022-06-06 22:27:31 +02:00
c.lamboo
2f22002fd5 Add header and footer components to Dialog
This provides control over how the header (the header is newly introduced in this commit) and footer components are rendered. The footer is the area where the `leftButtoons` and `rightButtons` are rendered. Having control over how this is rendered introduces for instance the possibility to render the buttons within a warning area (an example of this can bee seen in the WorkspaceDialog).

CURA-6990
2022-06-06 21:45:48 +02:00
c.lamboo
781723fbbc Fix typing
CURA-6990
2022-06-06 21:27:32 +02:00
c.lamboo
34004df7af Un-capitalise materials
CURA-6990
2022-06-03 16:25:43 +02:00
c.lamboo
eccef62dc7 Add typing
CURA-6990
2022-06-03 15:22:29 +02:00
c.lamboo
2230269ab3 Simplify variable assignment
CURA-6990
2022-06-03 15:17:32 +02:00
c.lamboo
8d3b3ae411 Use themed border width
CURA-6990
2022-06-03 11:13:19 +02:00
c.lamboo
4492e3fba2 Add warning border to PackageCard if information is missing
CURA-6990
2022-06-03 10:39:01 +02:00
Ghostkeeper
979c436b6c
Make text area selection use theme colours
Also fix the highlight colour of the border. The highlight colour was changed in a later design but it was not changed here yet.
Without a theme colour it's going to use the system colours for the highlighting of text, which may be a very light grey that matches the background, making it impossible to see what part of the text is selected.

Hopefully fixes issue #12286.
2022-06-03 10:30:17 +02:00
c.lamboo
70c36fc80f Use correct status icon
CURA-6990
2022-06-03 10:13:29 +02:00
j.delarago
277a6a38b2 Update campaign link
CURA-6990
2022-06-02 17:40:14 +02:00
j.delarago
4c2be68c7b Add pyqtSignal no get rid of annoying errors
CURA-6990
2022-06-02 17:39:41 +02:00
j.delarago
a0fd5afbe7 Add missing warning badge
CURA-6990
2022-06-02 17:38:50 +02:00
c.lamboo
8fe53163b3 Add Action button and learn more link to warning message
CURA-6990
2022-06-02 17:33:56 +02:00
j.delarago
00cbee6985 Add missing continue, this was throwing errors due to it trying to packagedata.get("isbundled") on a None value.
CURA-8610
2022-06-02 17:08:25 +02:00
Jaime van Kessel
afd7f5507d
Merge pull request #12394 from Ultimaker/PP-15-enable-skin-edge-support
PP-15-enable-skin-edge-support
2022-06-02 17:06:53 +02:00
Jaime van Kessel
952da63230
Merge pull request #12415 from Ultimaker/PP-170-clean-up-retraction_count_max
Pp 170 clean up retraction limits
2022-06-02 17:05:57 +02:00
Rijk van Manen
3a7341f761
Disable travel acceleration/jerk
This slightly improves visual quality (mainly the seam) and reduces gcodes per second. PP-9
2022-06-02 17:02:22 +02:00
Rijk van Manen
a970e455d4
Merge branch 'main' into PP-15-enable-skin-edge-support 2022-06-02 17:01:29 +02:00
c.lamboo
a506b6d9ad Merge remote-tracking branch 'origin/CURA-6990' into CURA-6990 2022-06-02 16:58:51 +02:00
c.lamboo
fccfcb0e2b Add scroll bar to the WorkSpaceDialog
The warning message took out some space from the dialog. Added a scroll bar to make sure the content can still be read.

CURA-6990
2022-06-02 16:58:41 +02:00
j.delarago
511b10c084 Display package cards in the package list for packages that can't be found on the marketplace api.
When the final page of results is fetched, the list of all package_ids retrieved from the api will be compared with the ones we were searching for. Any that are missing have cards displayed with only basic information (name and version).

CURA-6990
2022-06-02 16:54:08 +02:00
Jaime van Kessel
95e078a3a9
Merge pull request #12356 from p3d-dev/main
deletion of duplicated json entries
2022-06-02 15:54:26 +02:00
Jaime van Kessel
b42a06fddd
Merge pull request #12418 from Ultimaker/PP-172-dont-avoid-supports
PP-172 disable travel_avoid_supports
2022-06-02 15:50:47 +02:00
Jaime van Kessel
2d1abf79a8
Merge pull request #12416 from Ultimaker/PP-46-print-infill-before-walls
revert PP-37
2022-06-02 15:48:44 +02:00
Jaime van Kessel
65e4b0e0d7
Merge pull request #12412 from Ultimaker/PP-19_also_increase_jerk_for_support
PP-19 - Also increase jerk for support
2022-06-02 15:48:12 +02:00
Jaime van Kessel
9fc3357818
Merge pull request #12398 from Ultimaker/PP-93-enable-top-surface-skin-layers
reduce top/bottom flow by enabling top surface skin layers
2022-06-02 15:45:53 +02:00
Jaime van Kessel
7c07655117
Merge pull request #12399 from Ultimaker/PP-86-reduce-support-interface-flow
PP-86 reduce support interface flow
2022-06-02 15:45:11 +02:00
c.lamboo
812b728636 Show warning when opening file without installing missing materials
CURA-6990
2022-06-02 15:36:53 +02:00
c.lamboo
9c02f6500d Use API endpoint for requesting package_ids
Use new api endpoint for requesting specific package_ids so we don't have to filter ourselves.

CURA-6990
2022-06-02 15:19:00 +02:00
p.kuiper
a103d377f7 Further cleanup of the jerk settings. UM2 based machine have no jerk settings, removed them. Set first layer jerk equal to print jerk and removed all jerk settings (except for jerk_print) in the quality and variant files.
Relates to PP-19
2022-06-02 11:33:22 +02:00
Joey de l'Arago
16804dfeee
Merge pull request #12411 from Ultimaker/CURA-9297_show_custom_intent_names
Use intent category if no translation is available
2022-06-02 10:32:08 +02:00
p.kuiper
977b81da7f Removed duplicate entry bridge fan speed 3.
Relates to PP-19
2022-06-02 09:48:46 +02:00
p.kuiper
ddb67fef6d Merge remote-tracking branch 'origin/main' into PP-19_also_increase_jerk_for_support 2022-06-02 09:07:05 +02:00
p.kuiper
0efb71b2a5 Merge remote-tracking branch 'origin/PP-19_also_increase_jerk_for_support' into PP-19_also_increase_jerk_for_support
# Conflicts:
#	resources/definitions/ultimaker3.def.json
2022-06-02 09:06:31 +02:00
p.kuiper
fec4888989 Clean up of jerk settings. Moved the jerk setting up to ultimaker.def.json. Removed duplicate entries in quality profiles and removed a number of strange jerk entries in the quality profiles.
Relates to PP-19
2022-06-02 09:04:13 +02:00
j.delarago
b015617e13 Marketplace plugin registry is None on initialization, and is loaded after running show().
This makes a check that the window is open before continuing through checkIfRestartNeeded

CURA-6990
2022-06-01 16:56:02 +02:00
j.delarago
0df21e6073 Refactor missing packages dialog into model (MissingPackageList) and controller (InstallMissingPackagesDialog.qml)
Rename classes and files to have unified naming.

CURA-6990
2022-06-01 16:50:53 +02:00
Rijk van Manen
8f2dff712e disable travel_avoid_supports
While CURA-9337 is not implemented this a mitigation to avoid unnecessary combing. PP-172
2022-06-01 15:43:12 +02:00
Ghostkeeper
84e3201db4
Merge branch '5.0' 2022-06-01 15:38:37 +02:00
Rijk van Manen
877f8ca1cf revert PP-37
PP-37 is not needed anymore because of PP-27. This solves the problem of PP-46 as well. For more details see PP-46
2022-06-01 15:38:30 +02:00
Rijk van Manen
0c28756d45
These settings are already default in fdmprinter
PP-19
2022-06-01 15:29:25 +02:00
Rijk van Manen
0779cbbbdd set material specific settings
TPU, PP and PVA have a lower retraction count then default. PP-170
2022-06-01 15:18:25 +02:00