14 Commits

Author SHA1 Message Date
Lipu Fei
7eba73adc5 Handle excluded_materials in getAvailableMaterials()
CURA-5223

Move the handling of excluded_materials into MaterialManager
getAvailableMaterials().
2018-04-12 16:12:07 +02:00
Aleksei S
2240c38fd7 Exclude HIPS and PETG material for UM
CURA-5149
2018-03-26 17:11:38 +02:00
Lipu Fei
80c2b3b7e8 Use set for searching
CURA-5149
2018-03-26 14:40:25 +02:00
Lipu Fei
5b36b4fb84 Check for Ultimaker printers based on manufacturer
CURA-5149
2018-03-26 14:40:25 +02:00
Aleksei S
767789d394 Filter generic list for Ultimaker printers.
CURA-5149
2018-03-26 13:51:37 +02:00
Ghostkeeper
9f89678e42
Update when switching printers
I confused globalContainerChanged with activeStackChanged.

Contributes to issue CURA-4606.
2018-03-14 08:26:12 +01:00
Ghostkeeper
5afcf2beac
Don't update brand and generic materials models upon switching active extruder
Because the list of materials can't change by that action.

Contributes to issue CURA-4606.
2018-03-12 16:28:41 +01:00
Ghostkeeper
bb7fccbd48
Add logging for every setting model update
You can clearly see that some models are updated 4 times or so now.

Contributes to issue CURA-4606.
2018-03-12 14:48:56 +01:00
Ghostkeeper
d8853b8a98
Sort profile models case-insensitively
Cast every sorting key to uppercase before doing this. Don't cast to lowercase or there will be problems with characters that don't have lowercase and with Turkish dotted i vs. undotted i.

Fixes #3460.
2018-03-09 11:40:33 +01:00
Lipu Fei
844a597e08 Fix materials models 2018-03-02 09:28:25 +01:00
Lipu Fei
d6f6dbe45e Rename to available_material_dict 2018-03-01 15:12:34 +01:00
Lipu Fei
b4c3536999 Move getAvailableMaterials() into MaterialManager 2018-03-01 15:02:57 +01:00
Lipu Fei
c21174eea8 Fix the usage of protected variables in material models 2018-03-01 11:55:29 +01:00
Lipu Fei
580244a546 Split material models into separate files 2018-03-01 11:50:55 +01:00