Jaime van Kessel
05a5f66856
Added few more deprecation warnings for functions that bloat the machine manager
2019-06-07 14:57:32 +02:00
Lipu Fei
58507303fa
Duplicate qualities should have unique names
...
CURA-6426
2019-03-27 14:08:06 +01:00
Jaime van Kessel
8518aba3a5
Adds tests for QualityManager
2019-03-15 14:51:35 +01:00
Lipu Fei
2c8ed99281
Add is_experimental to Qt models and QMLs
...
CURA-5879
2018-11-27 15:50:03 +01:00
Ghostkeeper
27aff4e5da
Fix typing issues
...
Because this function now has typing, it's raising a load of issues with it.
Contributes to issue CURA-5929.
2018-11-12 12:48:49 +01:00
Jaime van Kessel
93467dc29f
Ensure that weeding out the duplicates doesn't mess up the order
...
CURA-5898
2018-11-05 17:33:12 +01:00
Jaime van Kessel
eded0f0297
Make quality manager also include profiles with same GUID in fallback.
...
This ensures that if a (duplicated) material does not have a generic variant, that
the material it was copied from will be added to the fallback list.
CURA-5898
2018-11-05 11:17:39 +01:00
Lipu Fei
7ae6800a14
Fix imports in QualityManager
2018-09-28 14:01:28 +02:00
Jaime van Kessel
3b70e5eb6b
Fix typing
...
For some reason, my MyPy started acting up once I started using the PythonPath while calling it.
2018-09-27 20:01:55 +02:00
Jaime van Kessel
c84a2213a7
Merge branch '3.5' of github.com:Ultimaker/Cura
2018-09-11 11:01:55 +02:00
Jaime van Kessel
729d78e14a
Updated another set of typing
2018-09-10 16:08:31 +02:00
Jaime van Kessel
e7d9f0ce45
Added typing for various setting classes
2018-09-10 15:24:11 +02:00
Lipu Fei
d8421105d4
Fix quality lookup
...
CURA-5694
For a machine, if it has extruder-specific qualities, when we look up
extruder qualities, we should NOT fall back to use the global qualities.
2018-09-10 14:39:10 +02:00
Lipu Fei
d01ec7872d
Fix quality lookup
...
CURA-5694
For a machine, if it has extruder-specific qualities, when we look up
extruder qualities, we should NOT fall back to use the global qualities.
2018-09-10 14:23:46 +02:00
Lipu Fei
9aea0e5109
Fix quality lookup logic for extruders
...
CURA-5694
- Add convenience functions into GlobalStack
- Use "has_variants" and "has_materials" instead of
"has_variant_materials"
- Remove "has_variant_materials"
- For extruder qualities, skip global qualities if the machine has
variants or materials
2018-09-06 08:12:55 +02:00
Lipu Fei
e0aea18177
Reset machines that use a removed quality changes
...
CURA-5675
When a custom quality gets removed, Cura should reset all machines which
use this custom quality to default.
2018-08-29 11:42:45 +02:00
Lipu Fei
8daf02063d
Fix quality lookup fallback mechanism
...
CURA-5668
The last fallback is the global qualities, either machine-specific or
generic, but not using both. Because if a machine defines its own global
qualities, it is intended to override the existing ones, so do not
fallback again in this case.
2018-08-24 15:35:03 +02:00
Diego Prado Gesto
98a0bb5002
CURA-5570 Remove a check that caused empty list of profiles.
2018-08-13 11:15:32 +02:00
Diego Prado Gesto
825a3cd08f
CURA-5570 Fix the configuration sync feature.
...
It crashed Cura because it was using an outdated signature of the method
getMaterialNodeByType.
2018-08-13 09:55:57 +02:00
Aleksei S
033a00ec20
fixed addNodesToCheck function, wrong max index value
...
CURA-5570
2018-08-09 16:06:09 +02:00
Lipu Fei
206a32ae50
Refactor quality lookup
2018-08-03 10:41:36 +02:00
Lipu Fei
e2a97e3a01
Refactor quality lookup table creation
2018-08-03 10:28:21 +02:00
Lipu Fei
066a00653a
Add one more layer to the decision tree
2018-08-02 17:15:34 +02:00
Lipu Fei
af02dc2758
Only use setMetaDataEntry()
2018-07-11 11:14:57 +02:00
Jack Ha
111a3556d2
Fixed possible errors and typing error. CURA-5389
2018-07-09 11:42:30 +02:00
Jack Ha
675c5064ed
Added checkPackageUsageAndUninstall and the package usage check. No confirmation dialog yet
2018-07-05 11:47:06 +02:00
Diego Prado Gesto
6e364f0895
CURA-5330 Fix typing and code-style in the ContainerNode and all the
...
related children, and QualityGroup and its children.
Also fix the related calls in the managers.
2018-06-13 10:55:57 +02:00
Ghostkeeper
1af56871e2
Don't crash if the number of extruders in setting doesn't match
...
...with the actual number of extruders. These could misalign with Custom FDM Printer or when any of the extruders was deleted because of a configuration format error.
Contributes to issue #3570 .
2018-04-25 09:58:10 +02:00
Ghostkeeper
727a164722
Only show error when quality is global with material/nozzle
...
Don't crash. Only show an error message that indicates that there is a problem with this one.
Contributes to issue CURA-5045.
2018-03-27 14:19:36 +02:00
Ghostkeeper
6d3fed8f52
Allow getContainer() to return None
...
And in the rest of the locations we must then check if it's None and handle that gracefully.
Here we assume that the getContainer message shows a message to the user if necessary. For now we'll just log it.
Contributes to issue CURA-5045.
2018-03-26 15:48:03 +02:00
Lipu Fei
22573a685d
Fix quality definition comparison in quality importing
...
CURA-4946
2018-03-14 14:31:30 +01:00
Jack Ha
d70cc072e9
Merge branch 'master' into feature_enable_disable_extruder
2018-03-12 09:06:24 +01:00
Lipu Fei
e09325bf82
Fix project loading for version upgrade
...
CURA-5054
2018-03-09 17:16:27 +01:00
Lipu Fei
c41af83b41
Fix create quality changes for extruders
...
CURA-5054
2018-03-09 16:29:49 +01:00
Jack Ha
bad637eb14
CURA-4400 fixed merge conflicts
2018-03-05 16:47:40 +01:00
Lipu Fei
3004b146ad
Fix: move createQualityChanges() to QualityManager
...
CURA-4606
2018-03-05 13:36:13 +01:00
Lipu Fei
41b7468460
Add comments for quality search priorities
2018-03-03 15:03:54 +01:00
Lipu Fei
aa49b0131e
Remove outdated doc in QualityManager
2018-03-03 14:54:21 +01:00
Lipu Fei
ca785c9df3
Move duplicateQualityChanges() to QualityManager
2018-03-02 17:08:58 +01:00
Lipu Fei
355b8cbac3
Move renameQualityChangesGroup() into QualityManager
2018-03-02 16:58:50 +01:00
Lipu Fei
8324f4f44e
Move removeQualityChangesGroup() into QualityManager
2018-03-02 16:47:25 +01:00
Lipu Fei
fc36df2bea
Remove unnecessary comments in getQualityGroupsForMachineDefinition()
2018-03-02 16:37:23 +01:00
Lipu Fei
e340f8e534
Add documentation for getQualityGroups()
2018-03-02 16:34:42 +01:00
Lipu Fei
27f4574223
Remove some superfluous comments in QualityManager
2018-03-02 16:31:57 +01:00
Lipu Fei
29631fa8eb
Fix QualityManager doc
2018-03-02 16:25:16 +01:00
Lipu Fei
97059daf6a
Separate quality manager related classes into separate files
2018-03-01 16:37:01 +01:00
Jack Ha
ac76d6ea52
Merge branch 'refactoring_machine_manager' into feature_enable_disable_extruder
2018-03-01 13:14:10 +01:00
Lipu Fei
50c61c9934
Document and rename getFallbackMaterialIdByMaterialType()
2018-03-01 11:31:18 +01:00
Lipu Fei
b8ac5b296b
Add doc for map/tree update/recreation
2018-03-01 11:10:05 +01:00
Lipu Fei
d4cb10b061
Add doc for model update
2018-03-01 11:03:42 +01:00