29193 Commits

Author SHA1 Message Date
j.delarago
f7bc55db15 Revert "temu extra logging for debugging"
This reverts commit febb7f1205451546ad543505d2104bd5fdb0d92e.
2022-06-15 12:53:42 +02:00
j.delarago
febb7f1205 temu extra logging for debugging 2022-06-15 11:55:53 +02:00
j.delarago
8362d4c967 Switch to column layout in RecommendedPrintSetup.qml so that left margins can be put on infill selector and items below it.
Add warning and reset button when custom profile is select and/or settings have been changed

CURA-8849
2022-06-15 10:48:04 +02:00
j.delarago
5fa10b0b8a Add campaign link
CURA-8849
2022-06-15 09:48:08 +02:00
j.delarago
d293855c65 Remove typo
CURA-8849
2022-06-15 09:07:35 +02:00
j.delarago
d19e89325f Stop returning quality types from inactive quality groups. This was causing the resolution drop down to show unavailable resolutions.
CURA-8849
2022-06-15 09:06:00 +02:00
Ghostkeeper
3acc7bcb1c
Add actual link to help page for when a profile is not supported
Doesn't have UTM tags though. Maybe that's not important here.

Contributes to issue CURA-8849.
2022-06-14 18:20:35 +02:00
Ghostkeeper
b18cb1f649
Show UnsupportedProfileIndication if list of quality types is empty
And otherwise show the intent and quality level selectors.

This is currently quite broken because the list of quality levels is not correct. It should only show a quality type if it is supported by all extruders.

Contributes to issue CURA-8849.
2022-06-14 18:20:00 +02:00
Ghostkeeper
5c15ac68b8
Add a design for the notification when there's no recommended profile
Looks more harsh than it should be, perhaps. I'd prefer if we could add some text that says that you can create your own custom profiles too...

Contributes to issue CURA-8849.
2022-06-14 16:59:23 +02:00
c.lamboo
a7fcc15197 Re-enable regular expression
CURA-8555
2022-06-14 16:49:40 +02:00
c.lamboo
0d4c3fa34d Use modern python typing notation
CURA-8555
2022-06-14 16:20:38 +02:00
Ghostkeeper
b8e3793631
Fix QML warning about no variable 'transparent' existing
It's a colour name. It should be within quotes here.

Contributes to issue CURA-8849.
2022-06-14 16:19:56 +02:00
c.lamboo
a315171d7c Replace checkboxes in save project to DL dialog with a combobox
CURA-8555
2022-06-14 16:19:56 +02:00
Ghostkeeper
aee614ff9b
Hide intent category selector if there's just 'default' intent
It doesn't make sense to let the user choose then.

Contributes to issue CURA-8849.
2022-06-14 16:12:10 +02:00
Ghostkeeper
6b6f41bfe9
Add a horizontal line between sections of recommended set-up
This delimits the selecting of the profile from the few basic settings.

Contributes to issue CURA-8849.
2022-06-14 16:07:05 +02:00
Ghostkeeper
83ea5c2944
Fix triggering first pulse
Before the first pulse, the _previousResolution property was still bound to the activeQualityType property of the MachineManager. When it then checks if it changed, it finds that it didn't change because it checks against that same property, but the _previousResolution automatically updated with it. After that it loses its binding because it's set in the function itself to a fixed value.
Instead, we'll now give it its initial value with the Component.onCompleted function so that it doesn't bind, and then doesn't change along with the first change.

Contributes to issue CURA-8849.
2022-06-14 16:00:14 +02:00
Ghostkeeper
e095d41f0b
Implement pulse animation option for ComboBox widget
You can now call pulse() on it and it'll pulse in the warning colour.

Contributes to issue CURA-8849.
2022-06-14 16:00:14 +02:00
Ghostkeeper
bd131257fe
Implement sending a signal when changing intent changes quality level
For now it does nothing. But I'm adding a function that should cause the combobox to pulse. That'll be a new feature so I'm implementing it in a separate commit.

Contributes to issue CURA-8849.
2022-06-14 16:00:13 +02:00
j.delarago
40d473c243 Add circle with letter inside for non default intents
CURA-8849
2022-06-14 15:44:11 +02:00
Ghostkeeper
074e9a8607
Show profile group name in bold
That highlights it relative to the layer height.

Contributes to issue CURA-8849.
2022-06-14 15:36:29 +02:00
Ghostkeeper
28c1291feb
Allow configuring combobox with whether they allow styled text or not
For some models we'd like to have the possibility to have rich text in the combobox. For some we'd like to prevent that, for instance to prevent the user from using colours in their profile names, or boldface, or even images.

Contributes to issue CURA-8849.
2022-06-14 15:36:28 +02:00
j.delarago
5cfb6f94e3 Update the resolution dropdown model whenever a custom profile is enabled. Otherwise it won't reflect the custom profiles parent resolution.
CURA-8849
2022-06-14 15:03:47 +02:00
j.delarago
a87695cd8d Added new intent selection buttons and resolution drop down to replace the matrix.
We are now selecting intents first and then quality, however the container hierarchy quality -> intents. This is the reason for the new functions inside machine manager.

CURA-8849
2022-06-14 11:41:38 +02:00
j.delarago
6f88adab8e Add new theme colors from figma
CURA-8849
2022-06-14 11:27:50 +02:00
j.delarago
e7d4038461 Add new icons for intents
CURA-8849
2022-06-14 09:59:52 +02:00
j.delarago
ed7ec6ab8f Add intent change signal so intent changes can trigger updates in resolution drop down.
CURA-8849
2022-06-14 09:59:22 +02:00
p.kuiper
808bb9b5fb Merge remote-tracking branch 'origin/PP-108_Improved_support_settings' into PP-108_Improved_support_settings
# Conflicts:
#	resources/quality/ultimaker2_plus/um2p_pp_0.4_fast.inst.cfg
#	resources/quality/ultimaker2_plus/um2p_pp_0.4_normal.inst.cfg
#	resources/quality/ultimaker2_plus/um2p_pp_0.6_draft.inst.cfg
#	resources/quality/ultimaker2_plus/um2p_pp_0.6_fast.inst.cfg
#	resources/quality/ultimaker2_plus/um2p_pp_0.8_draft.inst.cfg
#	resources/quality/ultimaker2_plus/um2p_pp_0.8_verydraft.inst.cfg
#	resources/quality/ultimaker2_plus_connect/um2pc_pp_0.4_fast.inst.cfg
#	resources/quality/ultimaker2_plus_connect/um2pc_pp_0.4_normal.inst.cfg
#	resources/quality/ultimaker2_plus_connect/um2pc_pp_0.6_draft.inst.cfg
#	resources/quality/ultimaker2_plus_connect/um2pc_pp_0.6_fast.inst.cfg
2022-06-13 21:55:25 +02:00
p.kuiper
bfc25b8350 Processed review comments of Rijk van Manen + cleanup redundant support_z related settings
Relates to PP-108
2022-06-13 21:41:46 +02:00
p.kuiper
55f1b9efca Cleanup support_xy_distance_overhang settings in UM2 quality files
Relates to PP-108
2022-06-13 21:03:23 +02:00
Jaime van Kessel
90bb02acae
Merge pull request #12485 from 4DPrinters/patch-1
Update PauseAtHeight.py
2022-06-13 15:50:54 +02:00
j.delarago
964c566ffb Add spacing option between icon and text in IconWithText.qml 2022-06-13 14:43:23 +02:00
Rijk van Manen
82569c14ac these profiles can simply follow the default values
Looks like these removals have been overlooked. PP-108
2022-06-13 14:11:28 +02:00
Jaime van Kessel
363d828634 Remove the NoIntentIcon
CURA-8623
2022-06-13 13:33:39 +02:00
Jaime van Kessel
525f96db98 Merge branch 'CURA-8610_add_package_metadata' of github.com:Ultimaker/Cura 2022-06-13 13:22:03 +02:00
Jaime van Kessel
7397497260 Add quality_name and quality_changes_name to replacement patterns
CURA-9375
Fixes #12447
2022-06-10 16:00:23 +02:00
Jaime van Kessel
e57af7556c Remove incorrect maximum_value for bridge_skin_density
Whoops. That should have already been removed.

Fixes #12455
2022-06-10 13:54:03 +02:00
p.kuiper
3e5bacd684 The horizontal expansion can be used to create a more robust support structure when needed. Therefore also expose this setting in the Basic settings view.
Relates to PP-108
2022-06-10 10:29:14 +02:00
4DPrinters
98ed17d2df
Update PauseAtHeight.py
Corrected typo on line 333
2022-06-09 14:34:28 -05:00
p.kuiper
633e80292d Bug fix for tree support. Wall count should switch to 1 for tree support.
Relates to PP-108
2022-06-08 22:07:24 +02:00
p.kuiper
ba275c546e Renoved settings that already have a good default value in fdmprinter.def.json. Added support_use_towers to the PVA quality files.
Removed support_use_towers for AA and CC cores, they do not add anything to self support structures.

Relates to PP-108
2022-06-08 21:33:14 +02:00
p.kuiper
6b30273686 Made xy support distance to the wall 1mm iso support_offset (support_offset was 0mm when no support interface was used).
Restored the default 0.1mm z distance for the UM2 familie.

Relates to PP-108
2022-06-08 16:08:46 +02:00
j.delarago
aeb7f33c62 We were previously both scaling down the buildplate and scaling up the disallowed areas of the models with shrinkage compensation. Doing both reduces the max usable area when scaling.
The solution is to do only one of these options.

Removing the disallowed area works fine when scaling models from their center. However we scale 2 or more models from the buildplate center rather than the model center. This means that the models can go outside the buildplate without it being obvious from the visualization.

The better solution is to remove the buildplate x/y scaling and keep the disallowed areas.

Removed shrinkage factor build volume scaling on x and y. This information is shown already by scaling the allowed areas around the objects.

Kept the bounding box scaling for z. This shows the max height a model can be. The objects disallowed area does not show this information.

Also removed scaling on non model disallowed areas on the build plate since this does not need to scale with the build plate anymore.

CURA-9271
2022-06-08 15:25:03 +02:00
p.kuiper
8e3ec5655a Added PVA robustness improvements. Turn of fan when used as support material, will improve strength. Dump extra material in the skirt to purge the hotend with fresh PVA.
Relates to PP-108
2022-06-08 15:10:41 +02:00
p.kuiper
8ef3444b4a Enable interface layer for BAM (also for PVA, but this was already enabled via the BB core variant).
Relates to PP-108
2022-06-08 12:40:28 +02:00
j.delarago
d5511a078c Dialog was immediately being destroyed because a reference to it was not being stored in memory. Added a missingPackageDialog variable to WorkspaceDialog to fix this.
Swapped the loading order of Marketplace extensions so SyncOrchestractor is not fetched by PluginRegistry.getInstance().getPluginObject("Marketplace") in WorkspaceDialog.

CURA-8610
2022-06-08 12:19:36 +02:00
j.delarago
25250a8205 Merge remote-tracking branch 'origin/main' 2022-06-08 11:52:01 +02:00
j.delarago
f9ea517e05 If package.json metadata file is missing from 3mf file output warning instead of error.
CURA-8610
2022-06-08 11:51:54 +02:00
Ghostkeeper
4a08b88f31
Allow setting metadata subentries that don't exist yet
Otherwise it crashes here. The ContainerManager should be flexible enough to allow that sort of thing.
It works with plain entries, but crashed with subentries (like 'properties/diameter') if those weren't present yet in the metadata.

Fixes Sentry issue CURA-3FH.
2022-06-08 11:24:46 +02:00
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