Jaime van Kessel
1c7e047a38
Added tests for adding & removing discovered devices
...
CURA-6179
2019-02-28 09:47:25 +01:00
Jaime van Kessel
17fdc86e50
Fix typing
...
CURA-6179
2019-02-27 11:59:50 +01:00
Jaime van Kessel
21c6bba1ce
Add the discovered printer functionality
...
This can be used in the add machine wizard to short circuit the creation of a printer.
So instead of first selecting a printer and then connecting it, it will be possible to have
a list that contains all network discovered printers (from all plugins that can do this).
This means we can select one of those printers and directly add it (thus no longer needing that step)
CURA-6179
2019-02-27 11:05:54 +01:00
Jaime van Kessel
5c354eb6a3
Switch the order of name & id in addMachine call
...
This makes it possible for the name to not be set, in which case it will
default to the name provided by the definition
CURA-6179
2019-02-26 10:45:18 +01:00
Jaime van Kessel
b5c270f00a
Add stubs for MachineManager testing
...
It also adds a first test that checks if the setActiveMachine
2019-02-22 13:49:31 +01:00
Jaime van Kessel
dee739db8b
Merge branch '4.0' of github.com:Ultimaker/Cura
2019-02-21 20:19:30 +01:00
Jaime van Kessel
b64cf1fe1c
Remove unneeded signal call
2019-02-21 16:19:16 +01:00
Ghostkeeper
d42ba9dda0
Merge branch '4.0'
...
Conflicts:
resources/quality/ultimaker2_plus/um2p_pp_0.8_draft.inst.cfg -> Weights being changed while a whole slew of fixes were being done on 4.0
resources/quality/ultimaker2_plus/um2p_pp_0.8_verydraft.inst.cfg -> Ditto
2019-02-15 13:58:47 +01:00
Jaime van Kessel
b09538da63
Ensure that the numberOfExtruders property gets updated after configuration sync
...
CURA-6220
2019-02-14 13:44:43 +01:00
Jaime van Kessel
a8f66a558c
Merge branch '4.0' of github.com:Ultimaker/Cura
2019-02-14 10:53:01 +01:00
Simon Edwards
dc9d3ba2a3
Merge pull request #5293 from Ultimaker/CL-1165_missing_cloud_info
...
CL-1165 Improve cloud connection or not checking
2019-02-13 14:23:05 +01:00
Ian Paschal
3c2791fefe
Improve cloud connection or not checking
...
Contributes to CL-1165
2019-02-12 12:12:59 +01:00
Remco Burema
c50fcf42c5
Fix crash on no output devices in list.
2019-02-12 11:39:03 +01:00
Ghostkeeper
51420c8311
Merge branch '4.0'
2019-02-08 14:23:36 +01:00
Simon Edwards
1163d8f442
Merge pull request #5271 from Ultimaker/CL-1222_cloud_flow_pop_up
...
CL-1222 Cloud flow pop up
2019-02-08 13:26:03 +01:00
Lipu Fei
e5071eac5b
Fix typing
2019-02-07 14:31:40 +01:00
Lipu Fei
47d531e2c5
Fix typing
2019-02-07 14:30:10 +01:00
Lipu Fei
6e40e4a831
Remove unused things
2019-02-07 14:29:59 +01:00
Ian Paschal
01ca3546aa
Add activeMachineAddress to MachineManager for easy access
...
Contributes to CL-1222
2019-02-06 11:59:39 +01:00
Lipu Fei
fff6cb9ce8
Merge remote-tracking branch 'origin/4.0'
2019-02-05 09:48:10 +01:00
Lipu Fei
bac344a692
Show extruder names in disabled message
...
CURA-5693
2019-02-05 09:26:50 +01:00
Ian Paschal
f2ddb2808f
Add firmware check
...
Contributes to CL-1222
2019-02-04 16:02:38 +01:00
Ghostkeeper
e7d2400199
Merge branch '4.0'
2019-02-04 13:06:32 +01:00
Lipu Fei
f7765189c8
Show Extruder 1,2,3,... in message
...
CURA-5693
2019-02-01 13:36:10 +01:00
Jaime van Kessel
5600d5407c
Add default if group_name is not set.
...
Otherwise we get a crash.
CURA-6153
2019-02-01 12:02:59 +01:00
Jaime van Kessel
4aaeb8c2d5
Merge branch 'CURA-6153_wrong_name_on_disconnect' of github.com:Ultimaker/Cura into 4.0
2019-02-01 11:54:35 +01:00
Lipu Fei
efa26c8323
Merge remote-tracking branch 'origin/4.0'
2019-02-01 11:08:33 +01:00
Remco Burema
954fdb20ad
Rename 'connect_group_name' to 'group_name'. [CURA-6153]
2019-01-31 20:21:42 +01:00
Simon Edwards
eeb23c4ba4
Merge pull request #5255 from Ultimaker/CL-1154_monitor_empty_states
...
CL-1154 Monitor empty states
2019-01-31 16:44:25 +01:00
Remco Burema
6cd3a5fe3d
Show correct printer name in selector-header on disconnect. [CURA-6153]
2019-01-31 15:05:27 +01:00
Lipu Fei
c73747ad44
Merge remote-tracking branch 'origin/4.0'
2019-01-31 14:22:59 +01:00
Jaime van Kessel
3734b980d8
When disabling an extruder due to sync, always show a message.
...
Originally it would only show a message if the extruder was actually used,
but this didn't take the flow into account when you would first sync and then load a model.
In that case, the user never got a message and never got any notification that (and why) any of the extruders
got disabled.
CURA-5693
2019-01-31 11:30:37 +01:00
Ian Paschal
389bdeb0c7
Expose configurations the same way as connectivity
...
Contributes to CL-1154
2019-01-31 10:50:14 +01:00
Lipu Fei
4f6d53b009
Do not disable all extruders when syncing
...
CURA-5693
When syncing with a machine with no material/nozzle, do not disable all
extruders. leave the first one enabled.
2019-01-31 08:30:41 +01:00
Lipu Fei
b70e9c9080
Handle empty hotend and material in config syncing
...
CURA-5693
- Disable an extruder if the config states no material or nozzle for
it.
- Show a warning message if an used extruder gets disabled.
2019-01-29 13:06:38 +01:00
Ghostkeeper
232498980c
Merge branch '4.0'
...
Conflicts:
cura/GlobalStacksModel.py -> CuraContainerRegistry being used in stead of ContainerRegistry, but imports were reordered.
plugins/CuraDrive/src/DrivePluginExtension.py -> Typing being solved in two ways.
2019-01-28 16:45:45 +01:00
Jaime van Kessel
3774fdbd02
Refactored the "connection_type" metadata entry so it can support multiple types.
...
After a lot of discussion and finding out what the hell was going on,
we figured out we made a pretty big derp by only setting a single connection_type
in the metadata of the machine. What it's actually doing is describing what connection types
have been configured (and not just randomly displaying whatever output device set the value last)
2019-01-28 14:29:41 +01:00
Jaime van Kessel
24fbb1007d
Merge branch '4.0' of github.com:Ultimaker/Cura
2019-01-16 17:39:43 +01:00
ChrisTerBeke
36e49ee6bb
Make activeMachineIsGroup more robust
2019-01-11 16:08:46 +01:00
ChrisTerBeke
a6114d39e4
Fix merge conflicts with 4.0
2019-01-08 11:49:36 +01:00
Jaime van Kessel
2a4c66888e
Use getNumInstances instead of counting the number of instances in machinemanager
...
This should prevent having to initiate the cached values if we only want to know the number of settings.
2019-01-02 09:39:44 +01:00
Jaime van Kessel
0b0f674e4b
Remove unused code
2019-01-02 09:22:50 +01:00
Jaime van Kessel
d9d1c93bd0
Use "NotConnected" as default for the connection state
...
CURA-6011
2018-12-31 11:25:23 +01:00
Jaime van Kessel
1277fbabc5
Fix connection type not always being seen correctly
...
CURA-6011
2018-12-31 11:15:03 +01:00
ChrisTerBeke
1012eb7553
Assure bool
2018-12-20 14:48:56 +01:00
ChrisTerBeke
bbddbcde9a
cleanup
2018-12-20 14:29:39 +01:00
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