Remco Burema
e8a1c68d92
Added (partial) test for 'currentAvailableIntents'.
...
part of CURA-6091
2019-06-27 17:07:26 +02:00
Remco Burema
9e3f3c194c
Small refactor: Dont retrieve global-stack twice.
...
Part of CURA-6091
2019-06-25 18:00:58 +02:00
Remco Burema
308fcb6b9f
Fix typing for IntentManager
...
Part of CURA-6091.
2019-06-21 15:39:27 +02:00
Remco Burema
f03c239041
Update some documentation. [CURA-6091]
2019-06-20 17:57:15 +02:00
Remco Burema
d076bfae77
Merge branch 'feature_intent_per_quality' of https://github.com/Ultimaker/Cura into feature_intent_per_quality
2019-06-20 17:49:41 +02:00
Remco Burema
fd80a6c1b6
Change some leftover pseudo-code to real code.
...
Part of CURA-6091.
2019-06-20 17:48:52 +02:00
Ghostkeeper
ede6efb799
Missing documentation
...
Contributes to issue CURA-6091.
2019-06-20 16:09:56 +02:00
Ghostkeeper
96c111553a
Implement selectDefaultIntent
...
Bit of a weird one.
Contributes to issue CURA-6091.
2019-06-20 15:30:57 +02:00
Ghostkeeper
aa0bf2f6ba
Implement selectIntent
...
Selects a certain intent profile, applying it to the stack.
Contributes to issue CURA-6091.
2019-06-20 15:27:07 +02:00
Ghostkeeper
744fbec38c
Implement defaultIntent
...
We keep this function in as a way of documentation.
Contributes to issue CURA-6091.
2019-06-20 15:12:53 +02:00
Ghostkeeper
2b775497b5
Implement complete code for currentAvailableIntentCategories
...
There is an inconsistency here with the available quality types. It's documented in the function for now.
Contributes to issue CURA-6091.
2019-06-20 15:06:24 +02:00
Ghostkeeper
28e2569c86
Implement complete code for currentAvailableIntents
...
Slightly more complex than the original pseudocode was indicating: It needs to filter on the available quality types first in order to only show the quality types that can be printed with all extruders, but still show the union of all intents for those quality types.
Contributes to issue CURA-6091.
2019-06-20 14:48:18 +02:00
Ghostkeeper
c83b9d158b
Final implementation of intentMetadatas and intentCategories
...
Instead of pseudocode.
Contributes to issue CURA-6091.
2019-06-20 14:02:34 +02:00
Ghostkeeper
64e3a99ad3
Also select correct quality level on the stack when changing intent
...
Contributes to issue CURA-6091.
2019-06-19 16:52:54 +02:00
Ghostkeeper
fa65875824
Add psuedocode/boilerplate for intent manager
...
This won't run. Don't try to import this class yet. It's outlining what we need to implement to get intents per stack.
It does no form of caching at this point. Build first, optimise later, right.
Contributes to issue CURA-6091.
2019-06-19 14:29:19 +02:00