ChrisTerBeke
af2061cd52
Simplify some checks for connection types and group size
2018-12-20 14:26:30 +01:00
ChrisTerBeke
2f92f6ef50
Simplify checking if cloud or network printer, small fixes
2018-12-20 13:45:59 +01:00
ChrisTerBeke
0edeb11a78
Merge branch '4.0' into STAR-322_cloud-connection
2018-12-20 13:14:24 +01:00
Remco Burema
a9f4b70b5c
Emit 'number of extruders changed' signal after add machine. [CURA-6045]
2018-12-20 09:53:58 +01:00
ChrisTerBeke
beb68213f4
Remove much logging or use debug level, fix cloud icon not appearing right away
2018-12-19 14:14:44 +01:00
ChrisTerBeke
80d2a78463
Fix optional type for output device
2018-12-19 11:47:41 +01:00
ChrisTerBeke
1b356a3219
Move cloud connection check logic to Python
2018-12-19 11:41:22 +01:00
Lipu Fei
71e71e0a4f
Merge pull request #4975 from Ultimaker/CURA-6011_connection_types
...
[4.0] Every output device should define its connection type
2018-12-18 13:23:02 +01:00
Jaime van Kessel
d4bb50886f
Merge branch 'CURA-6011_connection_types' of github.com:Ultimaker/Cura into CURA-6011_connection_types
2018-12-18 09:40:20 +01:00
Jaime van Kessel
84a7f2e5a2
Fix review comments
...
CURA-6011
2018-12-18 09:40:08 +01:00
Lipu Fei
6017c2b4d2
Replace isProfileUserCreated with hasCustomQuality
...
CURA-6028
2018-12-18 08:56:56 +01:00
Diego Prado Gesto
b5d8db6a77
Merge branch '4.0' into CURA-6011_connection_types
2018-12-17 15:44:02 +01:00
Jaime van Kessel
aad7540366
Fix situation where multiple connect configurations would cause issues
...
CURA-6011
2018-12-17 13:31:38 +01:00
Jaime van Kessel
ee74b9f89f
Once the connectiontype is recovered, it's converted to a string
...
So we need to check if that's the case.
CURA-6011
2018-12-17 13:09:01 +01:00
Jaime van Kessel
938287095f
Use connection type instead of um_network_key to see if a printer has a network connection
...
CURA-6011
2018-12-17 10:47:14 +01:00
Lipu Fei
df0b1c6c77
Fix ExtruderManager creation in MachineManager
...
CURA-6015
2018-12-13 14:12:38 +01:00
Diego Prado Gesto
15f81da95b
Do not show the layer height in the header panel when the profile is not supported
2018-12-07 13:47:58 +01:00
Ghostkeeper
7df4c01814
Merge branch 'ui_rework_4_0' into CURA-5876-Configuration_dropdown
...
Conflicts:
cura/Settings/MachineManager.py -> rowCount vs. count
resources/qml/ExtruderIcon.qml -> Someone changed stuff that I had overwritten.
resources/qml/Menus/ConfigurationMenu/PrintCoreConfiguration.qml -> Someone changed stuff that I had removed.
resources/qml/Toolbar.qml -> Git was wrong, not a conflict.
resources/themes/cura-light/theme.json -> Git was wrong, not a conflict.
2018-12-03 11:45:05 +01:00
Ghostkeeper
f3af5a72ad
Use ListModel.count instead of rowCount
...
The .count property properly updates when the model is changed.
Contributes to issue CURA-5876.
2018-12-03 11:13:26 +01:00
Ghostkeeper
18bb403413
No longer switch away from extruder when disabling
...
It feels confusing when this happens.
Contributes to issue CURA-5876.
2018-11-30 15:42:46 +01:00
Ghostkeeper
4e2f51e7e8
Use public activeExtruderIndex rather than internal _activeExtruderIndex
...
So that this getter still does what it needs to do if we ever decide to add side-effects.
Contributes to issue CURA-5876.
2018-11-30 11:13:04 +01:00
Lipu Fei
5df7cdde48
Merge remote-tracking branch 'origin/master' into ui_rework_4_0
2018-11-29 08:54:22 +01:00
Jaime van Kessel
adf16310c7
Merge pull request #4883 from Ultimaker/CURA-5879_experimental_qualities
...
CURA-5879 experimental qualities
2018-11-28 11:34:21 +01:00
Jaime van Kessel
94c4366194
Merge branch 'master' of github.com:Ultimaker/Cura into ui_rework_4_0
2018-11-27 17:55:13 +01:00
Lipu Fei
2c8ed99281
Add is_experimental to Qt models and QMLs
...
CURA-5879
2018-11-27 15:50:03 +01:00
Jaime van Kessel
854755277c
Fix styling of comments
...
Because sentences should start with capitals
2018-11-27 14:37:01 +01:00
Jaime van Kessel
3ad1802ab6
Prevent a KeyError from messing
...
CURA-5978
2018-11-27 14:34:29 +01:00
Diego Prado Gesto
a01ff9419d
Merge branch 'ui_rework_4_0' into CURA-5942_printer_selector
2018-11-27 11:13:34 +01:00
Lipu Fei
2e81b97623
Use global_stack.extruders to find extruders
...
CURA-5978
2018-11-27 08:45:45 +01:00
Diego Prado Gesto
692868a0b4
Create a function that given a printer type name, it will return and
...
abbreviated name.
Contributes to CURA-5942.
2018-11-22 15:45:38 +01:00
Remco Burema
3dab627670
Merge pull request #4618 from Ultimaker/CURA-5834_fix_material_model_update
...
CURA-5834 Fix material model update
2018-10-23 14:54:34 +02:00
Diego Prado Gesto
94ef0b92fe
Fix typo in the getCompatibleMaterialDiameter function.
...
Contributes to CURA-5834.
2018-10-23 10:25:13 +02:00
Lipu Fei
cbd8c8739d
Merge from master
2018-10-23 08:08:37 +02:00
Lipu Fei
eef7be3ed6
Use empty string for empty build plate
...
CURA-5844
Or there can be a configuration mismatch.
2018-10-22 11:54:13 +02:00
Lipu Fei
97e6354c13
Fix material update upon extruder-compatible diameter change
...
CURA-5834
Material models and the material container on an extruder need to be
updated when the extruder's compatible diameter gets changes.
2018-10-19 13:48:52 +02:00
Lipu Fei
59704e4c0e
Make sure that a machine's default actions are added before it gets activated
...
CURA-5812
2018-10-19 09:58:06 +02:00
Lipu Fei
9b94db8957
Directly use empty containers in MachineManager
...
CURA-5812
Instead of looking up for the empty containers via ContainerRegistry,
import and use them directly.
2018-10-19 09:57:57 +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
Lipu Fei
3b62284276
Merge remote-tracking branch 'origin/3.5'
2018-09-18 16:15:55 +02:00
Lipu Fei
ddc5d983a1
Fix single extrusion machines without an ExtruderStack
...
CURA-5736
2018-09-18 13:35:25 +02:00
Jaime van Kessel
e7d9f0ce45
Added typing for various setting classes
2018-09-10 15:24:11 +02:00
Jaime van Kessel
a8fc6aabcc
Switch incorrect usage of getMachineExtruders to getActiveExtruderStacks
2018-09-07 16:27:56 +02:00
Jaime van Kessel
20ec8828ed
Fix incorrect type hinting
...
The type hinting indicated that the property was a dict, but it could also be None.
In cases where it was None, it would cause an exception, which was also fixed (since
unpacking None will break)
2018-09-07 15:32:07 +02:00
Lipu Fei
8e891b69b0
Move type hinting imports into TYPE_CHECKING block
2018-08-13 13:48:00 +02:00
Lipu Fei
25e6fd8bec
Fix incorrect type hinting
2018-08-13 13:47:26 +02:00
Lipu Fei
42b509cd4a
Fix a wrong type hinting
2018-08-13 13:44:07 +02:00
Diego Prado Gesto
de1b8edb72
Merge branch 'master' into CURA-5570_beyond_comprehension
2018-08-13 09:57:36 +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
Lipu Fei
9239e82b1f
Make mypy happy
...
CURA-5578
2018-08-08 12:56:49 +02:00
Lipu Fei
910ffe0ad5
Fix quality reset upon material deletion
...
CURA-5621
2018-08-07 16:15:05 +02:00