1234 Commits

Author SHA1 Message Date
Kostas Karmas
8eb48672e1 Use the node id as identifier
Now that libSavitar allows us to read the object id from the 3mf file,
this id will be propagated as an id inside CuraSceneNodes and it will
be used as an identifier to find the object that has to be refreshed.

CURA-7333
2020-04-03 11:05:38 +02:00
Kostas Karmas
5bdcc2e5ba Add type to objects_in_filenames
CURA-7333
2020-04-01 18:41:04 +02:00
Kostas Karmas
99a762bcb9 Avoid warning for object in position 0
CURA-7333
2020-04-01 17:42:26 +02:00
Kostas Karmas
97199d72ad Reload nodes based on object index
Refactored the code in order to extract the index of the node inside
the file and then use that index to reload the correct object from the
file.

CURA-7333
2020-04-01 17:08:30 +02:00
Ghostkeeper
e2e69f6646
Increment setting version to 13
Contributes to issue CURA-7282.
2020-04-01 15:14:01 +02:00
Kostas Karmas
b118a46630 Remove TODO message from 3mf reload function
CURA-7333
2020-03-31 18:02:13 +02:00
Kostas Karmas
134541ee6e Fix reloading multiple objects from 3mf file
CURA-7333
2020-03-31 17:57:23 +02:00
Ghostkeeper
8422172000
Increment setting version to 12
This is necessary for the version upgrade to run.

Contributes to issue CURA-7328.
2020-03-30 11:54:18 +02:00
Remco Burema
3c50b78e68
Fix: Definitions could be partly saved between backup restore and quit.
part of CURA-7325
2020-03-26 18:19:47 +01:00
Nino van Hooff
96ed85f9c0 Move UltimakerCloudAuthentication and UltimakerCloudScope
...to their own module
Fixes an import error where UltimakerCloudScope was used my both the
Toolbox and CuraDrive plugins

CURA-7150
2020-03-12 17:48:54 +01:00
Lipu Fei
b03f666bf5 WIP: Make it work with Python 3.7 packaing 2020-02-07 23:14:47 +01:00
Jaime van Kessel
9e94875733
Merge branch 'feature_value_from_container_function' of https://github.com/fieldOfView/Cura 2020-02-04 16:47:45 +01:00
Nino van Hooff
8c250cfbbc Process review comments
CURA-7099
2020-01-29 11:28:29 +01:00
fieldOfView
5a4661db98 Add valueFromContainer() and extruderValueFromContainer() functions 2020-01-28 16:36:06 +01:00
Nino van Hooff
d4eb463f2d Always subscribe to packages after installing them
Now that we subscribe for all situations where a package is installed,
it makes sense to watch package installs and create a 1:1 relation that
way. Prevents code duplication.

CURA-7099
2020-01-28 13:08:57 +01:00
Ghostkeeper
0e5654e44b
Guard against selection pass not existing yet
It could happen that the selection pass is not initialised because you're right clicking on the screen before the first render has happened.

Hopefully this fixes #6976.
2020-01-17 13:09:19 +01:00
Jaime van Kessel
e74f049142
Fix bunch of issues found by pylint 2020-01-10 16:37:46 +01:00
Jaime van Kessel
bb52ba6848
Codestyle fixes 2020-01-10 15:32:53 +01:00
Jaime van Kessel
49211d3233
remove unused import 2020-01-10 15:22:32 +01:00
Jaime van Kessel
81b33b8649
Add some missing typing 2020-01-10 14:58:53 +01:00
Jaime van Kessel
6da5216cac
No longer create the machine manager twice 2020-01-06 14:26:32 +01:00
Lipu Fei
55d31b9846 Move HttpRequestManager to Uranium
CURA-6387
2020-01-03 08:59:29 +01:00
Lipu Fei
e98cf83cb3 Add HttpNetworkRequestManager to CuraApplication
CURA-6387
2020-01-03 08:59:29 +01:00
Remco Burema
56cf2339f2
First initialize error checking.
Change the order of initialization, so the MachineErrorChecker already has its signals attached when the first machine gets loaded.
The increased number of 'processEvents'-calls exposed this oversight by allowing it to run out of order.
(MachineErrorChecker initializes the has-errors field to True if no check has been done yet.)
2020-01-02 14:55:46 +01:00
Jaime van Kessel
62c54d3f3e
Add few more processEvents to make updating of splashscreen a bit smoother
CURA-6823
2019-12-24 13:36:04 +01:00
Nino van Hooff
d110d04c36 Make loading messages more consistent and cleanup usages.
CURA-6823
2019-12-24 10:43:21 +01:00
Nino van Hooff
07fb775ac1 Preload theme in QtApplication
Fixes an error where theme was loaded before the engine is initialized

CURA-6823
2019-12-24 09:51:37 +01:00
Nino van Hooff
6a0fba060e Add loading hint for replacing the global stack
Displayed as a splash message when the application is starting,
logged (not displayed to the user) otherwise

CURA-6823
2019-12-23 17:32:20 +01:00
Nino van Hooff
81976cfd1a Add a few splash loading messages for a better sense of progress
CURA-6823
2019-12-23 16:31:55 +01:00
Jaime van Kessel
9d62a281f7
Remove unused imports 2019-12-13 14:56:02 +01:00
Nino van Hooff
da6d4e6186 Log app display name, version, api version and build type when starting
Only build type was requested, but I figured: why not all the things?
Also fixes an arg typo

CURA-7011
2019-12-10 15:57:15 +01:00
Jaime van Kessel
50d72692d8
Merge branch 'master' of github.com:Ultimaker/Cura into CURA-6522_one_at_a_time_overlapping_build_area 2019-11-20 16:48:00 +01:00
Dimitriovski
caec6ff27c Changed the SettingVersion from CuraApplication.py
CURA-6522_one_at_a_time_overlapping_build_area
2019-11-19 15:46:32 +01:00
Jaime van Kessel
3da53a3a89
Merge branch 'CURA-6856_signed_plugins_and_packages' of github.com:Ultimaker/Cura 2019-11-12 10:48:43 +01:00
Jaime van Kessel
463822f10f
Fix some typing issues 2019-11-08 16:50:23 +01:00
Jaime van Kessel
e2a387b246
Add own getInstance for curaApplicaiton
This makes the typing a bit smarter
2019-11-08 13:59:38 +01:00
Jaime van Kessel
00078fd659
Remove a bunch of unused imports 2019-11-08 13:38:42 +01:00
Lipu Fei
7c36b6a8ba Resolve merge conflicts with master 2019-11-06 12:01:49 +01:00
Remco Burema
4bae97529c
Should check plugins if build-type is 'essentials' now.
part of CURA-6856
2019-11-01 17:03:20 +01:00
Remco Burema
3dabd6023b
Merge branch 'master' into CURA-6856_signed_plugins_and_packages 2019-11-01 16:45:42 +01:00
Jaime van Kessel
26ba0e645a
Ensure that first start machine actions model gets initialized
CURA-6932
2019-10-28 16:33:08 +01:00
Jaime van Kessel
98275d2da0
Create first start model on demand
So if we don't use it, we don't spend any time on it.
2019-10-25 13:44:55 +02:00
Remco Burema
7780d76eb6
Intiial work on 'Singing of Plugins and Material Packages'.
Most of the work is in Uranium right now -- especially since the plugins part is picked up first, and there are already plugins at Uraniums level.

part of CURA-6856
2019-10-24 17:31:53 +02:00
Jaime van Kessel
d905b8b8cc
Add extra reporting stage for splash screen
CURA-6823
2019-10-24 15:55:49 +02:00
Ghostkeeper
9b836d95d9
Remove quality, variant and material manager
We don't use them any more and they are deprecated.

Removing them removes a lot of maintenance.

Contributes to issue CURA-6801.
2019-10-16 13:00:38 +02:00
Lipu Fei
32747d2abe Merge remote-tracking branch 'origin/master' into feature_intent 2019-10-07 21:20:54 +02:00
Nino van Hooff
11d0462c7a Fix recent files python function calls 2019-10-07 10:44:30 +02:00
Nino van Hooff
55fe4ee986 Update documentation and typing
CURA-6824
2019-10-02 13:30:59 +02:00
Nino van Hooff
2df0d96923 Consider user preference when opening project files from cli.
The logic using just a "skip_project_file_check" boolean was too obscure
imho, so used a string value with more explicit values
to improve readability

CURA-6824
2019-10-01 11:54:53 +02:00
Lipu Fei
96a9bcccbb Merge remote-tracking branch 'origin/master' into feature_intent 2019-10-01 09:41:05 +02:00