Lipu Fei
27b3a71a98
Sort branded materials for dropdown menu
...
CURA-4606
2018-03-06 11:26:16 +01:00
Ghostkeeper
3e8f29d380
Allow floating point values for moving print head
...
The X, Y, Z coordinates and speed don't necessarily have to be full millimetres or millimetres per minute.
Fixes #3271 .
2018-03-06 09:37:47 +01:00
Aleksei S
a35d4ae400
Fix: After clicking "cancel" button while sending a print job
...
the connection is disconnected
CURA-4960
2018-03-05 16:43:58 +01:00
Lipu Fei
3004b146ad
Fix: move createQualityChanges() to QualityManager
...
CURA-4606
2018-03-05 13:36:13 +01:00
Lipu Fei
6199e8e15a
Fix merge conflicts with master
2018-03-05 13:27:00 +01:00
Ghostkeeper
32fedf9559
Obtain filament diameter from stack for length calculation
...
Otherwise we get it from the global stack which is always 2.85mm.
Fixes #3284 .
2018-03-05 13:02:11 +01:00
Lipu Fei
a29a6122f1
Merge remote-tracking branch 'origin/master' into refactoring_machine_manager
2018-03-05 11:29:21 +01:00
Lipu Fei
d79a9f6449
Add logging for quality settings model
2018-03-05 10:35:54 +01:00
Lipu Fei
f86c2a2f8a
Add comments for quality settings model
2018-03-05 10:32:59 +01:00
Lipu Fei
2255dc628b
Remove unnecessary comments
2018-03-05 10:31:04 +01:00
Lipu Fei
b4deb3e828
Better logging in quality profile model
2018-03-05 10:23:36 +01:00
Ghostkeeper
396ea274c4
Invert Y direction of nozzle offsets
...
If there is a Y offset it should now move the disallowed areas in the correct direction
The initial placement of the disallowed borders was already correct.
Fixes #1977 .
2018-03-05 09:24:21 +01:00
Lipu Fei
174bc7dbd7
Remove commented code in MachineManager
2018-03-03 16:04:30 +01:00
Lipu Fei
a220b55856
Simplify code in MachineManager
2018-03-03 16:01:59 +01:00
Lipu Fei
413e4ca55d
Add doc for _setEmptyQuality()
2018-03-03 15:59:59 +01:00
Lipu Fei
bb04afa2ab
Remove non-sense comments in MachineManager
2018-03-03 15:57:28 +01:00
Lipu Fei
89716acc11
Remove redundant code in MachineManager
2018-03-03 15:56:08 +01:00
Lipu Fei
51fadc9868
Remove unnecessary _onMaterialsUpdated()
2018-03-03 15:53:46 +01:00
Lipu Fei
632be11323
Remove "#NEW"s
2018-03-03 15:51:51 +01:00
Lipu Fei
a2c2282b44
Use context to evaluate materialDiameter
2018-03-03 15:50:33 +01:00
Lipu Fei
7216641fad
Update doc for _fixMaterialDiameterAndNozzleSize()
2018-03-03 15:44:28 +01:00
Lipu Fei
a09bf7faa6
Move comments for _fixMaterialDiameterAndNozzleSize()
2018-03-03 15:31:59 +01:00
Lipu Fei
6db26eaca5
Add getDefaultMaterial() in MaterialManager
2018-03-03 15:29:49 +01:00
Lipu Fei
86e12fc437
Add getDefaultVariantNode() in VariantManager
2018-03-03 15:21:29 +01:00
Lipu Fei
5d5932547c
Cleanup imports for ContainerManager
2018-03-03 15:07:42 +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
e3e470cb96
Simplify set update
2018-03-03 14:48:08 +01:00
Lipu Fei
c93643bc2f
Move createMaterial() to MaterialManager
2018-03-02 17:30:19 +01:00
Lipu Fei
cf2252f4f9
Simplify for loop in duplicateMaterial()
2018-03-02 17:22:19 +01:00
Lipu Fei
5f0bb3a283
Move removeMaterial() to MaterialManager
2018-03-02 17:20:26 +01:00
Lipu Fei
7642afb9fe
Move duplicateMaterial() to MaterialManager
2018-03-02 17:16:35 +01:00
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
0944653412
Change VariantType to an Enum
2018-03-02 16:41:19 +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
c6128ef5ba
Move setMaterialName() into MaterialManager
2018-03-02 16:22:22 +01:00
Lipu Fei
f7377e6321
Fix extruder_stacks.items()
2018-03-02 16:20:03 +01:00
Lipu Fei
d372fc75e7
Fix type hinting for getFallbackMaterialIdByMaterialType()
2018-03-02 16:16:51 +01:00
Lipu Fei
a6f22fd9cc
Remove unnecessary comments
2018-03-02 16:10:59 +01:00
Lipu Fei
2135e30aad
Simplify for loop in _calculateInformation()
2018-03-02 16:10:06 +01:00
Lipu Fei
844a597e08
Fix materials models
2018-03-02 09:28:25 +01:00
Lipu Fei
97059daf6a
Separate quality manager related classes into separate files
2018-03-01 16:37:01 +01:00
Lipu Fei
31d1a3b5db
Code style fix
2018-03-01 16:31:00 +01:00