Commit graph

4577 commits

Author SHA1 Message Date
Aleksei S
973970a895 Every print ouput device should define its connection type(usb, network, cluster and etc)
CURA-6011
2018-12-13 16:00:12 +01:00
Lipu Fei
d879cab91a Add all fields for optional extruder in ExtruderModel
CURA-6015
2018-12-13 14:12:44 +01:00
Lipu Fei
df0b1c6c77 Fix ExtruderManager creation in MachineManager
CURA-6015
2018-12-13 14:12:38 +01:00
Lipu Fei
935f7a2512 Remove unused imports
CURA-6015
2018-12-13 14:12:31 +01:00
Lipu Fei
620790ae3d Reduce the creations of ExtrudersModels
CURA-6015
2018-12-13 14:12:23 +01:00
Lipu Fei
2cf80b4578 Remove unused simpleNames flag
CURA-6015
2018-12-13 14:12:04 +01:00
Jaime van Kessel
0a6c1a7c14 Fix CLIENT_ID (again)
It got messed up in a merge again. Ugh.
2018-12-13 13:12:57 +01:00
ChrisTerBeke
f72b58386b Also use CuraConstants for account API root 2018-12-13 11:46:11 +01:00
Lipu Fei
b6ea61612e Fix merge conflicts 2018-12-12 13:26:01 +01:00
alekseisasin
a505adbf40
Merge pull request #4945 from Ultimaker/CURA-6006-login-required
[4.0] CURA-6006 login required
2018-12-12 11:31:38 +01:00
Remco Burema
1b2ef91c13 Merge branch 'CURA-6016_Improve_UI_Speed' into 4.0 2018-12-12 10:54:36 +01:00
Lipu Fei
a6663ea0e8 Fix typing issues
CURA-6005
2018-12-12 10:51:13 +01:00
Diego Prado Gesto
31331e36d2 Revert "Use the capitalized version of the buildplate name"
This reverts commit 11d8831d7a.

Contributes to CURA-6021.
2018-12-12 10:41:01 +01:00
Remco Burema
b413b4cdb6 Correct a typo in typing. [CURA-6016] 2018-12-11 17:21:14 +01:00
Lipu Fei
2275e5c71f Refactor code to use constants in CuraConstants
CURA-6005
2018-12-11 12:13:46 +01:00
Lipu Fei
8e4ad23da1 Add CuraConstants
CURA-6005

Put constant values into a separate file CuraConstants.py
2018-12-11 12:12:35 +01:00
Jaime van Kessel
f67ac8d7c4 Update far less agressively for the material models
CURA-6016
2018-12-11 10:59:17 +01:00
Diego Prado Gesto
f0257e2b79 Merge branch 'master' into ui_rework_4_0 2018-12-11 10:29:46 +01:00
Diego Prado Gesto
77703e1fb8 Catch an exception from numpy that happens when loading some models 2018-12-11 09:58:23 +01:00
Jaime van Kessel
bb1950525a Limit the amount of times the buildplate rebuild is done
CURA-6016
2018-12-11 09:42:34 +01:00
Jaime van Kessel
909f36d28e Let the settingsMenu use the extruders of the active machine instead of the extruderModel
The extruder model gets updated way to much (for all material changes) but we only need the
number and names of the extruders, since the other menu's do this by themselves
2018-12-11 09:24:22 +01:00
Jaime van Kessel
3132b1f689 Update the extruder Model a whole lot less
CURA-6016
2018-12-10 16:56:44 +01:00
Jaime van Kessel
1436301d78 Ensure setActiveExtruderIndex only gets called once when switching machines
CURA-6016
2018-12-10 16:20:00 +01:00
Diego Prado Gesto
d318bb5c87 Merge branch 'master' into ui_rework_4_0 2018-12-10 15:41:28 +01:00
Diego Prado Gesto
11d8831d7a Use the capitalized version of the buildplate name 2018-12-10 15:40:18 +01:00
Jaime van Kessel
d495ec18bb Filter a bit more intelligently on when to check for errors
CURA-6016
2018-12-10 15:28:20 +01:00
Diego Prado Gesto
e479772f4d Merge branch 'master' into ui_rework_4_0 2018-12-10 11:43:24 +01:00
Ellecross
3db3203e0d
Merge pull request #4951 from Ultimaker/CURA-5939_crash_dialog
Merging this Cura 5939 crash dialog together with Aleksei!
2018-12-10 10:28:00 +01:00
Ghostkeeper
c44b74454f
Revert "No longer make BuildVolume set max bounds."
This reverts commit 1467e703ae.
This variable was actually used... In Uranium, by the scale tiny models feature.
2018-12-07 14:22:39 +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
Jaime van Kessel
ab8a2a9b2b Merge branch 'ui_rework_4_0' of github.com:Ultimaker/Cura into CURA-6006-login-required 2018-12-07 10:51:48 +01:00
Jaime van Kessel
2a0954f246 Gracefully handle the conectionError when logging in 2018-12-07 09:35:53 +01:00
Ghostkeeper
05b32548f3
Code style: Start comments with a space
Contributes to issue CURA-5876.
2018-12-06 16:27:56 +01:00
Aleksei S
e8cf9e034d Catch All Exception except: SystemExit, KeyboardInterrupt, GeneratorException
CURA-5939
2018-12-06 13:41:50 +01:00
Aleksei S
84c85439ff The trigger_early_crash did not trigger early crash for testing purposes
CURA-5939
2018-12-06 12:00:26 +01:00
Ghostkeeper
024bf409c9
Merge branch 'CURA-5876-Configuration_dropdown' into ui_rework_4_0 2018-12-05 13:29:06 +01:00
Lipu Fei
a13fb4a81e Merge remote-tracking branch 'origin/master' into ui_rework_4_0 2018-12-04 17:12:24 +01:00
Ghostkeeper
82d8410d18
Don't emit enabledChanged signal if it didn't change
Contributes to issue CURA-5876.
2018-12-04 13:58:54 +01:00
Ian Paschal
0363c1257c Improve exposed progress prop
Contributes to CL-1153
2018-12-04 10:18:09 +01:00
Ian Paschal
3d80e28174 Add some typings
Contributes to CL-1153
2018-12-03 12:15:38 +01:00
Ian Paschal
665e2d3060 Move isActive and timeRemaining logic from QML to Python
Contributes to CL-1153
2018-12-03 12:15:25 +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
Ghostkeeper
1c96c81ba9
Remove unnecessary extra setMetaDataEntry
This is a relic from when you first had to add the metadata entry. Now it does nothing any more because it's being set directly afterwards to the actual value that is desired in the end.

Contributes to issue CURA-5876.
2018-11-30 11:11:17 +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
7d42fdf183 Add missing typing 2018-11-28 11:52:30 +01:00
Jaime van Kessel
0baa4d20b3 Gracefully handle the case where machine definition is no in the map 2018-11-28 11:42:54 +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