Lipu Fei
ca785c9df3
Move duplicateQualityChanges() to QualityManager
2018-03-02 17:08:58 +01:00
Ian Paschal
1f403f815d
CURA-4972 Moved validation to SettingOverrideDecorator.py
...
**The diagnosis:**
The issue arrises from the fact that while the original object is subscribed to be validated, that subscription is only created by setting it as a settings override object. A clone of that object, while still a settings-override object, never gets subscribed because it's not explicitly set with the tool.
**The solution (?):**
I moved all the validation stuff over to SettingOverrideDecorator.py, and use its onSettingChanged() function to trigger the validation. Unfortunately, I can't use the timer because of some limitation with QTTimer and threads. So it's _a bit laggy in some places, and I'd be open to tips about how to fix this. It does work reliably though.
2018-03-02 17:05: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
6cae82a64e
Fix comments for createQualityChanges()
2018-03-02 16:42:10 +01:00
Lipu Fei
c6128ef5ba
Move setMaterialName() into MaterialManager
2018-03-02 16:22:22 +01:00
Lipu Fei
6b0095014a
Fix merge conflicts from master
2018-02-28 12:52:45 +01:00
Lipu Fei
ab4cfa5fbb
Use userChanges instead of getContainer(0)
...
CURA-4916
2018-02-28 12:49:41 +01:00
Lipu Fei
07824c21e1
Move getMachineDefinitionIDForQualitySearch() into QualityManager.py
2018-02-28 11:48:20 +01:00
Aleksei S
e533c4604c
Update infill scroll bar if setting is changed in custom mode
...
CURA-4916
2018-02-28 10:52:46 +01:00
Lipu Fei
85e3857785
Use getters to get managers for CuraStackBuilder
2018-02-27 16:12:28 +01:00
Jack Ha
85f3b7dcee
Merge branch 'refactoring_machine_manager' of github.com:Ultimaker/Cura into refactoring_machine_manager
2018-02-27 15:15:13 +01:00
Jack Ha
ae00fc2a7e
CURA-4606 change activeQualityLayerHeight to use self._current_quality(_changes)_group
2018-02-27 15:15:04 +01:00
Jack Ha
cbeaf3b287
CURA-4606 set empty quality when setting active machine when the current quality type is not in the available qualities
2018-02-27 15:14:34 +01:00
Lipu Fei
950f6708c4
Make sure to generate unique name for duplicated quality changes
2018-02-27 14:20:43 +01:00
Jack Ha
fae82ef242
Merge branch 'refactoring_machine_manager' of github.com:Ultimaker/Cura into refactoring_machine_manager
2018-02-27 13:57:37 +01:00
Jack Ha
08bfe93385
CURA-4606 CURA-5020 switching to quality changes now also checks and shows keep or discard user settings
2018-02-27 13:57:30 +01:00
Lipu Fei
a2e84bbe97
Fix set quality group in init machine
2018-02-27 13:49:20 +01:00
Lipu Fei
5412a29ef9
Fix update quality upon material change
2018-02-27 13:05:19 +01:00
Jack Ha
df46241225
CURA-4606 CURA-5012 corrected and moved approximateMaterialDiameter to ExtruderStack
2018-02-27 13:03:08 +01:00
Lipu Fei
17d3be03b4
Use getMaterialManager() in ContainerManager
2018-02-26 19:38:44 +01:00
Lipu Fei
0b8678d2ae
Explicitly create MachineManager
2018-02-26 19:33:16 +01:00
Jack Ha
d471e34e48
Merge branch 'refactoring_machine_manager' of github.com:Ultimaker/Cura into refactoring_machine_manager
2018-02-26 16:33:32 +01:00
Jack Ha
c23827cfa1
CURA-4606 CURA-5003 activate duplicated material and always switch to correct material after some material change
2018-02-26 16:33:25 +01:00
Lipu Fei
9ddc6a52b7
Refactor fix for extruder stack material diameters and nozzle sizes
2018-02-26 11:40:21 +01:00
Jack Ha
11be94c735
Merge branch 'refactoring_machine_manager' of github.com:Ultimaker/Cura into refactoring_machine_manager
2018-02-26 09:30:33 +01:00
Lipu Fei
f487c5b084
Fix profile management page
2018-02-22 23:31:41 +01:00
Lipu Fei
a3a206c6dd
Quality groups are QObjects
2018-02-22 23:07:49 +01:00
Lipu Fei
e53048079d
Remove debugging logs
2018-02-22 23:05:06 +01:00
Jack Ha
cad6a3bb3d
CURA-4606 CURA-5003 select and activate material after create, duplicate
2018-02-22 17:14:23 +01:00
Lipu Fei
d2ffd59431
Switch to the new quality profile when it is created
2018-02-22 16:53:13 +01:00
Lipu Fei
32e1015f25
WIP: Cleanup PrintInformation
2018-02-22 16:07:56 +01:00
Lipu Fei
ab8fda8812
Fix createMachine: evaluate material diameter if it is a function
2018-02-22 15:21:48 +01:00
Lipu Fei
b415a36110
WIP: Remove delayed update in MachineManager
2018-02-22 13:58:35 +01:00
Lipu Fei
25dd63dc21
WIP: Cleanup MachineManager
2018-02-22 13:45:46 +01:00
Lipu Fei
7a2c25226a
Fix initial quality_changes group setup
2018-02-22 12:59:26 +01:00
Lipu Fei
b014800eac
Fix various quality related issues
2018-02-22 11:00:32 +01:00
Lipu Fei
3095140bc3
Fix quality/qualityChanges group initialization
2018-02-22 10:27:18 +01:00
Lipu Fei
d83b803fe0
Fix: Update active material names if materials lookup table gets updated
2018-02-21 16:47:12 +01:00
Lipu Fei
7a3ebe1a42
Fix NozzleMenu active nozzle bullet
2018-02-21 16:36:42 +01:00
Jack Ha
244b109403
CURA-4606 CURA-4995 switching print core now correctly updates the material
2018-02-21 16:30:45 +01:00
Jack Ha
5ba0ac8a43
CURA-4606 switch to first extruder when switching machines; this prevents crashing when switching to single extruder machine
2018-02-21 15:59:49 +01:00
Lipu Fei
70d5cd2462
Fix: Replace all activeQualityName with activeQualityOrQualityChangesName
2018-02-21 14:30:33 +01:00
Jack Ha
435e99a2dd
Merge branch 'refactoring_machine_manager' of github.com:Ultimaker/Cura into refactoring_machine_manager
2018-02-21 14:16:32 +01:00
Jack Ha
631b72c007
CURA-4606 in all quality profiles, rename all the specific 1.75mm materials back to the generic material
2018-02-21 14:16:26 +01:00
Lipu Fei
9a354efd19
Merge remote-tracking branch 'origin/master' into refactoring_machine_manager
2018-02-21 14:05:19 +01:00
Lipu Fei
02472f6ad2
WIP: Fix material name update upon machine switching
2018-02-21 12:39:04 +01:00
Lipu Fei
6cd47453bb
WIP: Fix activeMaterialsCompatible()
2018-02-21 11:36:46 +01:00
Jack Ha
2e3e01ff95
CURA-4606 Cleanup WorkspaceSummaryDialog and prepare for single extrusion mode
2018-02-21 11:13:35 +01:00
Jack Ha
471182333d
CURA-4606 refactored activeMaterialNames
2018-02-21 10:41:39 +01:00