103 Commits

Author SHA1 Message Date
j.delarago
00cbee6985 Add missing continue, this was throwing errors due to it trying to packagedata.get("isbundled") on a None value.
CURA-8610
2022-06-02 17:08:25 +02:00
Remco Burema
8579a6baf3
Merge pull request #12410 from Ultimaker/CURA-8610_save_package_metadata
[CURA-8610] Remove website link from package metadata
2022-06-01 10:17:21 +02:00
j.delarago
61332b0845 Remove website
CURA-8610
2022-06-01 10:14:24 +02:00
Remco Burema
aa83c68387 This error is not about materials, not uninstalling. 2022-05-31 17:20:51 +02:00
j.delarago
29b6450704 Add some more information for the unhappy route and a message to inform the user.
CURA-6990
2022-05-31 16:30:11 +02:00
j.delarago
ec60325a3f Move metadata exporting to 3mf
CURA-8610
2022-05-31 12:39:00 +02:00
Jaime van Kessel
698adc45db Fix crash if 3mf writer could not be imported
Fixes CURA-3NM (Sentry)
2022-04-25 13:45:05 +02:00
Remco Burema
0232b4f639 Upgrade SDK version to 8.0.0 for Cura 5.0 2022-04-20 10:57:38 +02:00
Jaime van Kessel
50954552d2 Fix thumbnail creation
CURA-9120
2022-04-13 16:53:11 +02:00
j.spijker@ultimaker.com
ca430c80be
Change imported namespace pySavitar to Savitar
Because we had to rename our Python bindings module from Savitar to
pySavitar we also changed our import downstream (Cura and Uranium). But
in order to limit the changes on our existing code we decided during the
review that we should just import pySavitar as Savitar.

Contributes to CURA-7924
2022-02-28 10:44:16 +01:00
Remco Burema
7511ac843e Changes needed wrt how we build Savitar with Sip 6.
part of CURA-7924
2022-02-25 14:31:51 +01:00
Remco Burema
abe7c1bf7f
Search/replace Qt5->Qt6.
part of upgrading Qt to v6.2: CURA-8591
2021-12-28 14:46:02 +01:00
Jaime van Kessel
a64aa6ef2d
Merge pull request #10989 from Ultimaker/CURA-8671_dont_send_materials_to_um2c
[CURA-8671] Don't send materials to printers that can't receive them
2021-12-06 09:48:18 +01:00
Jaime van Kessel
a49d9748ee Fix typing mistake 2021-12-02 16:02:36 +01:00
Jaime van Kessel
fb09e55b02 Fix typing
CURA-8723
2021-12-02 15:07:50 +01:00
Jaime van Kessel
9f6dacfced Merge branch 'feature_project_thumbnail' of git://github.com/fieldOfView/Cura 2021-12-02 14:37:14 +01:00
Remco Burema
f5604dfb1e
Add 'capabilities' to ignored metadata.
part of CURA-8671
2021-12-02 12:23:57 +01:00
fieldOfView
0a906accec Add thumbnail to all 3MF files, and add relation and content-type metadata 2021-12-01 21:49:12 +01:00
fieldOfView
0813f27389 Add a thumbnail to 3mf projects 2021-11-30 18:09:41 +01:00
Ghostkeeper
2f1c157547
Don't attempt writing a workspace before there is a global stack
This is normally not possible from the interface. However on MacOS, the application menu gets carried to the top bar of the operating system. It is not blocked there, and the user could write a project file before they even add a printer. This prevents Cura from crashing when they do that.

Fixes Sentry issue CURA-2ZR.
2021-11-23 17:54:26 +01:00
Remco Burema
8aa071056b
Now unused API field only took integers originally.
We want to keep it this way so people can still make plugins work for older versions of Cura, like 3.6, where the 'api' field with just a single major version, instead of the 'supported_sdk_versions', which can be either a version-string like '7.6.0' or a list of version strings.
2021-06-17 11:15:33 +02:00
Remco Burema
04002056ae
Update SDK/API from 7.5.0 to 7.6.0 for 4.10
CURA-8320
2021-06-15 16:08:07 +02:00
Ghostkeeper
08be77adad
Increment SDK version to 7.5.0
The Cura 4.9 release will have expanded functionality. If you have a plug-in that uses this functionality, marking it as using SDK 7.5.0 will notify older Cura releases that they can't use that plug-in.
2021-04-06 13:28:08 +02:00
Ghostkeeper
b815d63096
Add cura: namespace before setting keys, and store the rest in um_node.metadata
This retains per-node metadata entries.

Contributes to issue CURA-7615.
2021-02-08 17:37:38 +01:00
Jaime van Kessel
f338acd4f3
Read & write all generic metadata items from 3mf
CURA-7615
2020-12-23 13:49:52 +01:00
Jaime van Kessel
f9d0da7a12
Store creation & Modification date
CURA-7615
2020-12-23 13:42:40 +01:00
Jaime van Kessel
e69edae9aa
Store application name when saving 3MF file
CURA-7615
2020-12-23 13:32:27 +01:00
Kostas Karmas
03dc8d00fe Up the SDK version to 7.4.0
In preparation for release of the 4.8.

CURA-7795
2020-10-22 11:29:25 +02:00
Ghostkeeper
1ce8ef3293
Catch OSError and related errors when saving workspaces
This should prevent a crash when saving to a path that the file system doesn't support (because of e.g. disallowed symbols in the file name).

Instead it will now show an error message to the user.

Fixes Sentry issue CURA-157.
2020-09-08 13:01:10 +02:00
Kostas Karmas
bd54ef8d5a Update the SDK version to 7.3.0 for 4.7
CURA-7641
2020-08-07 11:12:27 +02:00
Konstantinos Karmas
7bf1af99a5
CURA-7608 Ignore machine network information when handling project files (#8116)
CURA-7608
2020-07-28 09:57:10 +02:00
Ghostkeeper
528c8e2226
Also store setting_version in preferences file for project files
This allows the version upgrade system to update these preferences in order to display the correct list of visible settings.
2020-07-20 11:48:29 +02:00
Ghostkeeper
c7bbc139f7
Catch file writing errors while writing files in the archive
Seems really rare to me, but our users get every possible error some day.

Fixes Sentry issue CURA-ZW.
2020-07-06 17:42:04 +02:00
Ghostkeeper
1fb78d23a5
Remove usage of deprecated extruders property
Use extruderList instead.

Done during Turbo Testing and Tooling.
2020-05-29 17:42:18 +02:00
Nino van Hooff
89f0970a88 Remove trailing whitespace from Python files 2020-05-29 14:30:33 +02:00
Nino van Hooff
176919eee0 Merge branch 'master' into doxygen_to_restructuredtext_comments
# Conflicts:
#	plugins/CuraEngineBackend/CuraEngineBackend.py
#	plugins/CuraEngineBackend/StartSliceJob.py
2020-05-08 15:31:23 +02:00
Nino van Hooff
8f3827d5ae Convert doxygen to rst for 3MFReader/Writer and AMFReader 2020-05-08 15:14:39 +02:00
Nino van Hooff
7302e8ba7f Update missed sdk versions from 7.1 to 7.2.0 for Cura 4.6
CURA-7383
2020-04-21 11:46:12 +02:00
Ghostkeeper
f34edd6bec
Show error when we don't have permission to write workspace
Fixes several Sentry issues, among which Cura-EG.
2020-03-30 14:00:36 +02:00
Ghostkeeper
afea4a76e7
Merge branch 'feature_object_name' of https://github.com/fieldOfView/Cura into fieldOfView-feature_object_name 2020-03-26 17:39:25 +01:00
Ghostkeeper
2b003c30dc
Catch PermissionError when writing workspaces
We'll want to give a proper error message then. We have no mechanism right now to show a message on the screen particular to this error. Instead we'll let it fail (the user sees a message that writing fails) and put a message in the log why it failed.

Fixes Sentry error CURA-DK.
2020-03-25 09:12:14 +01:00
fieldOfView
65346d9200 Store/retreive SceneNode in/from <object> attribute 2020-03-20 07:28:48 +01:00
Ghostkeeper
6f707f3149
Bump SDK version number of Cura 4.5 to 7.1
We've added new things to our API. This allows plug-in developers to use them.

Contributes to issue CURA-7205.
2020-02-10 10:45:07 +01:00
Jaime van Kessel
06ccd882e1
Add missing typing
CURA-6627
2020-01-20 16:03:56 +01:00
Jaime van Kessel
46050f9618
Use getter instead of protected attribute
CURA-6627
2020-01-16 11:25:30 +01:00
Jaime van Kessel
4e0e0c0339
Add skipkeys flag to writing plugin metadata to workspace
CURA-6627
2020-01-16 11:19:29 +01:00
Jaime van Kessel
b8dbc1d160
Store the data from each plugin in it's own folder
CURA-6627
2020-01-16 09:50:45 +01:00
Jaime van Kessel
6ae3172287
Store metadata when writing the workspace 2020-01-14 15:40:38 +01:00
Nino van Hooff
c62ff262ed Change SDK version to 7.0.0
CURA-6858
2019-10-21 14:51:34 +02:00
Lipu Fei
6992fd2991 Update plugin versions to match package versions
CURA-6019
2018-12-17 13:03:21 +01:00