Commit graph

1015 commits

Author SHA1 Message Date
HellAholic
85e20def91
Merge branch 'main' into CURA-12016_improve-loading-time-with-many-printers 2025-11-25 13:10:36 +01:00
Erwan MATHIEU
c35b16f9f2 Trigger property error checking when appropriate
CURA-12811
2025-10-24 14:10:23 +02:00
Erwan MATHIEU
f19cc66ddb Fix actions relying on never-updating property
CURA-12811
2025-10-22 15:50:40 +02:00
Erwan MATHIEU
b5f510face Fix painting when switching between printers with different number of extruders
CURA-12730
We now always allocate a data range for all possible extruders (16) instead of only the ones the actual printer can support.
2025-09-24 16:25:23 +02:00
Remco Burema
a2ed64d41e Set proper import.
Some checks failed
conan-package / conan-package (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
done as part of CURA-12016
2025-07-30 18:02:42 +02:00
Timur Seitosmanov
5040e7f230 Trigger machine error checking during startup. Otherwise slicing will keep failing until selected printer is changed. 2025-07-30 15:21:17 +02:00
Erwan MATHIEU
bf8fcd4ecb Find global stacks explicitly
CURA-12016
Add a method to load instances of GlobalStack instead of loading all the ContainerStack and then filtering them. This makes the code more explicit and saves some time.
2025-07-29 10:53:05 +02:00
Remco Burema
4e7807b0fc Prevent crash when the quality-type is _actually_ not supported.
part of CURA-12406
2025-02-26 13:25:02 +01:00
Remco Burema
beac50d44f Fix fallback for when a material was selected that didn't have the current intent.
CURA-12406
2025-02-26 13:02:41 +01:00
Remco Burema
2e7450bbf3 Also check for 'abstract color' (support) when a single material is added.
Previously, this was only checked on 'load all' leading to some weird edge-ish cases where loading an any-color material on a printer that does support it, briefly also made it available on printers that (otherwise would, but) don't -- but only for that session.

part of CURA-12159 (also refer to CURA-11634)
2024-10-02 11:49:29 +02:00
Erwan MATHIEU
d0080042ff Slightly simplify code
CURA-11634
2024-09-30 13:10:37 +02:00
Erwan MATHIEU
ff1657305e
Merge branch 'main' into CURA-11634-Show-Any-Color-in-color-submenu 2024-09-30 13:03:09 +02:00
Paul Kuiper
99b6fd7616 Adjusted code to filter out the abstract colors per machine.
CURA-11634
2024-09-26 14:51:22 +02:00
Jaime van Kessel
eb963d7cbf
Add supress signals when renaming profiles
This fixes the situation where sometimes a signal was emitted while we were still
in the process of changing things

CURA-6842
2024-09-25 14:18:49 +02:00
Remco Burema
268fd354b2 Mark isExcludedMaterial as deprecated.
done as part of CURA-11501
2024-08-16 00:44:37 +02:00
Remco Burema
8805c6a1b5 Split methods to prevent API-break.
done as part of CURA-11501
2024-08-15 15:54:05 +02:00
Erwan MATHIEU
1e5fa8523f Use proper method to check for excluded materials
CURA-11501
2024-08-15 11:13:15 +02:00
Erwan MATHIEU
9f5658adb7 Add missing intent translation
CURA-11976
2024-06-28 16:43:38 +02:00
Jaime van Kessel
a5a25f676e
Improve currentIntentCategory logic
CURA-11854
2024-04-24 13:15:21 +02:00
Jaime van Kessel
600cd7669c
Use the activeIntent from intentmanager instead of active stack
Otherwise the behavior of the model changes depending on what stack you
have active. I think that this was caused by some code duplication where one
copy of the code was updated but not the other one. This bug was here for quite
some time, but strangely enough, it was never found...

CURA-11854
2024-04-24 10:34:33 +02:00
Saumya Jain
c1e5fe0a42 Update MaterialNode initialization and metadata retrieval
Although this is rare scenario.This allows for metadata retrieval from the container directly if one is provided, otherwise metadata is fetched using the container_id from the ContainerRegistry. Updated the MaterialNode creation in the VariantNode class(only one scenario) to pass the container.

CURA-11748
2024-04-10 09:27:37 +02:00
Erwan MATHIEU
ce6642e992 Improve UI responsiveness
Treat settings to check for errors one by one instead of by batch of 10, because this can take a few 100s of milliseconds, which makes the UI choppy and barely allows for user interactions

CURA-11475
2024-03-18 13:24:52 +01:00
Saumya Jain
68669794de selected printer is active printer also in case it is a cloud printer
CURA-11403
2024-03-04 18:03:11 +01:00
Saumya Jain
c879809836 selected printer is active printer in UCP
CURA-11403
2024-03-04 16:47:09 +01:00
HellAholic
1a57f12172 change label to name to align with items in global_container_stack check 2024-01-16 10:01:26 +01:00
c.lamboo
19eaf89fcd Merge branch '5.6'
# Conflicts:
#	conanfile.py
2023-11-28 15:25:37 +01:00
c.lamboo
6cca534304 Fix previous commit
CURA-11394
2023-11-28 10:34:08 +01:00
c.lamboo
02655cde2e Add tool tip + icon + description for solid intent
CURA-11394
2023-11-28 10:07:16 +01:00
saumya.jain
1a139f44bc parsing method printer nozzles
CURA-11138
2023-10-30 16:13:50 +01:00
c.lamboo
98f0f9819d Remove superfluous comma from balanced description
CURA-11131
2023-10-06 12:19:44 +02:00
c.lamboo
ec1cd6b192 Add description to balanced intent
CURA-11131
2023-10-06 12:16:22 +02:00
Jaime van Kessel
82c4a10c1d
Rename "Default" intent to "Balanced"
CURA-11131
2023-10-06 11:03:49 +02:00
Jaime van Kessel
1a41f2650a
Don't show invisible materials in material selection
CURA-10953
2023-09-07 13:24:40 +02:00
Jaime van Kessel
331ff75315
Insert "generic color same brand" logic for qualities
So instead of always falling back to generic brand and generic color,
we first try to fall back to generic color with the same brand for qualities

CURA-10953
2023-09-06 12:55:36 +02:00
saumya.jain
f9981d3df1 Clicking Show all connected printers shows all cloud printers offline and online
CURA-10770
2023-08-04 14:14:08 +02:00
Jaime van Kessel
1e240e3229
Let intent selection use the quality_definition instead of direct def
The issue was that sometimes intents are also shared.

CURA-10788
2023-07-21 10:57:39 +02:00
c.lamboo
fec5ebb709 Don't crash on NotADirectoryError or PermissionError when trying to load custom intent icons
CURA-9709
2023-06-14 13:52:47 +02:00
Casper Lamboo
f73154a2c5
Use camelCase for python function definition
CURA-10599

Co-authored-by: Jaime van Kessel <nallath@gmail.com>
2023-06-12 14:35:11 +02:00
c.lamboo
731a2d10ed Merge branch '5.4' into CURA-10599_fix_exclude_materials
# Conflicts:
#	resources/i18n/cs_CZ/cura.po
#	resources/i18n/cura.pot
#	resources/i18n/de_DE/cura.po
#	resources/i18n/es_ES/cura.po
#	resources/i18n/fi_FI/cura.po
#	resources/i18n/fr_FR/cura.po
#	resources/i18n/hu_HU/cura.po
#	resources/i18n/it_IT/cura.po
#	resources/i18n/ja_JP/cura.po
#	resources/i18n/ko_KR/cura.po
#	resources/i18n/nl_NL/cura.po
#	resources/i18n/pl_PL/cura.po
#	resources/i18n/pt_BR/cura.po
#	resources/i18n/pt_PT/cura.po
#	resources/i18n/ru_RU/cura.po
#	resources/i18n/tr_TR/cura.po
#	resources/i18n/zh_CN/cura.po
#	resources/i18n/zh_TW/cura.po
2023-06-12 13:37:34 +02:00
c.lamboo
c049595fe3 Don't crash when file is not found for intent profiles
CURA-9709
2023-06-12 11:51:07 +02:00
Jelle Spijker
c8c6b59a08
Merge branch '5.4' into CURA-10599_fix_exclude_materials 2023-06-08 12:35:02 +02:00
Jelle Spijker
22134f2d3c
Merge branch '5.4' into CURA-9709_custom_icons_with_profiles
# Conflicts:
#	cura/Machines/Models/IntentSelectionModel.py
2023-06-07 16:20:48 +02:00
c.lamboo
da589e2f00 Fix exclude materials
CURA-10599
2023-06-07 16:20:09 +02:00
Jaime van Kessel
e2ac1ef810
Add anealing description and icon
CURA-10633
2023-06-06 12:42:09 +02:00
c.lamboo
27cc89ff89 Allow for custom descriptions/icons in packaged intents
CURA-9709
2023-05-31 12:54:56 +02:00
Joey de l'Arago
2b7eca29af Continue if a printer has no active materials. This was causing a crash when loading the material combinations for a printer with two empty material slots.
CURA-10110
2023-02-22 13:43:06 +01:00
jspijker
fe4679e4e8 Check before removing
Cura shouldn't crash when the abstract machine isn't in the other_machine_stack
2023-01-13 13:30:09 +01:00
c.lamboo
16c64014b2 Resolve formula in Keep or Discard dialog
CURA-10111
2023-01-04 13:17:56 +01:00
Remco Burema
8f65af61e5 Connect compare-and-safe profile dialog buttons to actions.
Some rework was needed as to not get the entire Preferences window to show up, which previously came along with the add profile action.

part of CURA-9347
2022-11-30 18:48:07 +01:00
Joey de l'Arago
dd0411f171 isOnline was incorrectly being used instead of isNetworked. This caused offline printers not to show an Icon.
Fixed

CURA-9424
2022-11-15 14:56:25 +01:00