Jaime van Kessel
884a3ea819
Fix selection for intents if only one of the extruders has an intent
...
CURA-6598
2019-09-19 09:54:47 +02:00
Ghostkeeper
2cca95384d
Don't look for quality group for empty material
...
Just don't add it to the list of available intents then.
Contributes to issue CURA-6775.
2019-09-13 16:09:02 +02:00
Ghostkeeper
0b92c3f3df
Use .container property rather than deprecated getContainer() function
...
Contributes to issue CURA-6600.
2019-09-10 14:56:16 +02:00
Jaime van Kessel
b00b8c8c58
Merge branch 'feature_intent_container_tree' of github.com:Ultimaker/Cura into feature_intent_interface
2019-08-29 16:28:26 +02:00
Jaime van Kessel
de1065f0a3
Prevent crash if extruder is not yet set
...
CURA-6598
2019-08-29 14:04:05 +02:00
Jaime van Kessel
ba0c16d968
Update intents model to use container tree
...
CURA-6598
2019-08-29 13:53:23 +02:00
Jaime van Kessel
5401a4db15
Ensure that each intent gets it's own bar in recommended
...
CURA-6598
2019-08-29 11:53:19 +02:00
Jaime van Kessel
24d6d5b102
Update intent models to also house nested qualities
...
CURA-6598
2019-08-29 11:45:19 +02:00
Ghostkeeper
c9191beb61
Fix updating intents list when printer changes
...
Contributes to issue CURA-6600.
2019-08-28 11:11:13 +02:00
Ghostkeeper
d4cd5a7ea5
Add convenience function to get quality groups for current printer
...
This is used very often all over the code.
Contributes to issue CURA-6600.
2019-08-15 17:01:22 +02:00
Ghostkeeper
ed19e9e15c
Use ContainerTree to find quality groups
...
Contributes to issue CURA-6600.
2019-08-15 17:01:22 +02:00
Lipu Fei
4e0b9d7b78
Fix typing
...
CURA-6597
2019-07-09 13:02:01 +02:00
Lipu Fei
8863516aa4
Rename function name and fix tests
...
CURA-6597
2019-07-09 12:53:44 +02:00
Lipu Fei
659a276f65
Rename signal
...
CURA-6597
2019-07-09 11:29:27 +02:00
Ghostkeeper
e2fd90506a
Include intent profiles from the default intents
...
If we have the default intent category, list all quality types available.
Contributes to issue CURA-6597.
2019-07-09 10:56:21 +02:00
Ghostkeeper
86750c0446
Don't continue after returning empty list
...
Oops. Shouldn't have pushed...
Contributes to issue CURA-6597.
2019-07-09 10:54:47 +02:00
Ghostkeeper
07c5c4d9f0
Return empty model if there is no printer added yet
...
Contributes to issue CURA-6597.
2019-07-09 10:26:49 +02:00
Ghostkeeper
45cb34c3e4
Refresh list of intents upon changing category
...
The category is changed after constructing by the QML code in order to set its property.
This is now updating twice: Once for the default category and once for the final one set by QML. This is a bit inefficient. But make it work before optimising it!
Contributes to issue CURA-6597.
2019-07-05 11:19:16 +02:00
Ghostkeeper
6ba70f3425
Rewrite IntentModel to return quality types rather than actual profiles
...
We don't want the profiles, because that'd be specific to one extruder. We want the quality types and intent categories as tuples again.
Contributes to issue CURA-6597.
2019-07-04 11:04:44 +02:00
Ghostkeeper
3f29bce263
List intents per category
...
This is the naive one. We want to list the default intents multiple times, once for every quality level.
Contributes to issue CURA-6597.
2019-07-03 16:51:47 +02:00
Jaime van Kessel
35ec70a3cf
Add a selector for the intent profile
...
CURA-6534
2019-06-05 11:13:32 +02:00
Jaime van Kessel
2d8c19203e
Expose intent model to QML
...
CURA-6534
2019-06-05 09:57:42 +02:00
Jaime van Kessel
2e7f8b066a
Ensure that the intent model gets populated
...
CURA-6534
2019-06-04 17:32:11 +02:00
Jaime van Kessel
266cf52cbc
Add stub for the IntentModel
...
CURA-6534
2019-06-04 17:24:34 +02:00