46 Commits

Author SHA1 Message Date
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
Lipu Fei
2dd7be1271 Add documentation for timers in Material and Quality managers 2018-03-01 10:59:39 +01:00
Jack Ha
86c13e86c7 CURA-4400 first version that disables extruder and updates available quality profiles 2018-02-28 12:56:00 +01:00
Lipu Fei
741dc8b8a3 Remove ContainerGroup in favour of QualityGroup 2018-02-28 11:56:12 +01:00
Lipu Fei
37f86a43de Fix type hinting for getQualityGroupsForMachineDefinition() 2018-02-28 11:49:03 +01:00
Lipu Fei
07824c21e1 Move getMachineDefinitionIDForQualitySearch() into QualityManager.py 2018-02-28 11:48:20 +01:00
Lipu Fei
a0acf8631d Add copyright headers 2018-02-28 11:18:01 +01:00
Lipu Fei
9dcd72fb36 Remove outdated TODOs 2018-02-27 16:06:09 +01:00
Jack Ha
d72f8e8750 CURA-4606 fix warning materials on machines that do not have has_variant_materials 2018-02-21 14:41:45 +01:00
Jack Ha
b3ef4a05d5 CURA-4606 skip non global qualities when looking for extruder qualities 2018-02-21 13:18:59 +01:00
Lipu Fei
c411091fde WIP: Only add global_quality containers for global stack qualities 2018-02-21 11:47:08 +01:00
Lipu Fei
62c31c2f6c WIP: Remove old QualityManager 2018-02-19 22:11:47 +01:00
Jack Ha
7a78f9821f CURA-4606 fixed Create profile 2018-02-19 16:15:35 +01:00
Jack Ha
3ff9cb6b1e CURA-4606 added first Profile management page 2018-02-19 15:07:50 +01:00
Lipu Fei
96f1264364 WIP: Rework profile management page 2018-02-16 16:40:09 +01:00
Jack Ha
8275e506ce CURA-4606 fix material names for 1.75mm materials 2018-02-16 14:23:11 +01:00
Lipu Fei
c79dd313ac WIP: Refactor duplicated code and clean up 2018-02-16 14:23:11 +01:00
Lipu Fei
194988dc9a WIP: Improve quality search fall back 2018-02-16 14:23:11 +01:00
Lipu Fei
c469ebbf9f WIP: Fix material lookup problems and update definition files 2018-02-16 14:23:11 +01:00
Lipu Fei
730cbb25bf WIP: Simplify machine creation 2018-02-16 14:23:11 +01:00
Jack Ha
8aab8f4394 CURA-4606 cleanup and optimization for replaceContainer 2018-02-16 14:23:11 +01:00
Lipu Fei
bf2317a74d WIP: use new QualityChangesGroups 2018-02-16 14:23:11 +01:00
Lipu Fei
d84ea07e9e WIP: add getQaulityChangesGroup() 2018-02-16 14:23:10 +01:00
Lipu Fei
cd53ae0639 WIP: Refactor ProfileMenu.qml 2018-02-16 14:20:03 +01:00
Lipu Fei
8ac9811b41 WIP: Create QualityManager 2018-02-16 14:20:02 +01:00