500 Commits

Author SHA1 Message Date
digitalfrost
efe3bdb83e VersionUpgrade.py: Use enumerate
Use enumerate instead of range(len
2022-08-13 12:07:41 +02:00
Remco Burema
0232b4f639 Upgrade SDK version to 8.0.0 for Cura 5.0 2022-04-20 10:57:38 +02:00
j.delarago
b2b1961b57 Merge branch 'master' into qt6_beyond_the_splash
# Conflicts:
#	cura/PrinterOutput/PrinterOutputDevice.py
2022-04-06 15:24:30 +02:00
Ghostkeeper
c658ad6d3a
Correct new preferences version
Apparently this was also incremented since we made the original version of this upgrade for 4.9. Works now.

Contributes to issue CURA-8466.
2022-03-29 15:11:51 +02:00
Ghostkeeper
0eed64a2ea
Upgrade 19 to 20, not 17 to 19
I was mixing up the versions there. The new version needs to be 20, since 19 was already used for 4.13. We can't use 18 since that was reserved by the betas from which we can never upgrade.

Contributes to issue CURA-8466.
2022-03-29 14:53:50 +02:00
Ghostkeeper
764e18d62c
Don't disable fuzzy skin any more
It's added back in for the stable release.

Contributes to issue CURA-8466.
2022-03-29 14:13:30 +02:00
Ghostkeeper
60b1876a24
Replace Equalize Filament Flow with equivalent setting
Instead of removing it, let's replace it with something that performs the same sort of functionality.

Contributes to issue CURA-8466.
2022-03-29 14:12:52 +02:00
Ghostkeeper
f2ea7718cb
Remove Filter Out Tiny Gaps setting
It is no longer used since we've removed the Fill Gaps Between Walls setting. This setting is no longer referred to from CuraEngine.

Contributes to issue CURA-8466.
2022-03-29 13:54:39 +02:00
Ghostkeeper
8db3e04e58
Upgrade correct setting_versions
Also removed this mistake from Arachne Beta 1. Cura 4.13 already had stack version 5, so it's no longer necessary to have both.

Contributes to issue CURA-8466.
2022-03-29 13:46:44 +02:00
Ghostkeeper
8a546bb6ef
Rename VersionUpgrade49to50 to VersionUpgrade413to50
It's going to upgrade from 4.13 to 5.0. We will not support an upgrade path from the alpha/preview-betas to the stable release.

Contributes to issue CURA-8466.
2022-03-29 10:34:21 +02:00
Jelle Spijker
3f8907d02a
Merge branch 'master' into CURA-8640_PyQt6
# Conflicts:
#	cura/CuraApplication.py
#	resources/qml/Preferences/Materials/MaterialsSyncDialog.qml
#	resources/qml/Preferences/Materials/MaterialsView.qml
2022-03-24 11:53:44 +01:00
Ghostkeeper
60c91b5680
Fix crash when visible_settings is missing from pre-4.8 project files
Found this while testing the new Qt interface.
2022-02-24 16:31:32 +01:00
Ghostkeeper
3c12a2629e
Only attempt to remove hidden container stacks if the directory exists
Otherwise we can't even look for them.

Contributes to issue CURA-8591.
2022-01-05 17:25:51 +01:00
Jaime van Kessel
b7af37022a Fix vesion update for beta 1 to beta 2
WHoops! Reviewed by Jelle ;)
2021-11-26 15:13:50 +01:00
Ghostkeeper
b8ccb32836
Merge branch 'master' into libArachne_rebased
Conflicts:
	resources/definitions/ultimaker2.def.json -> Additions in Arachne around a place where we fixed an enum setting.
	resources/definitions/ultimaker3.def.json
	resources/definitions/ultimaker_s3.def.json
	resources/definitions/ultimaker_s5.def.json
2021-11-12 15:08:29 +01:00
Remco Burema
86046a32b3
Merge branch 'master' into merge_main_20211019 2021-10-20 08:38:01 +02:00
Ghostkeeper
5ed57e403c
Delete existing log-in information to force the user to log in again
Otherwise they won't be able to sync material profiles.

Contributes to issue CURA-8609.
2021-10-18 13:17:22 +02:00
Ghostkeeper
ef568ce622
Only get quality-changes fields for quality-changes profiles
And make the upgrade more robust against weird input, too.

Contributes to issue CURA-8510.
2021-09-24 16:32:38 +02:00
Konstantinos Karmas
b322edfa53 Update the flsun quality_changes profiles during version upgrade
So that they are also mapped from the global qualities to the flsun_sr-specific ones. This way they will be able to still be used in the newer Cura versions.

CURA-8510
2021-09-23 16:21:46 +02:00
Konstantinos Karmas
3e143a012a Change the setting version to 19
Since the setting version 18 is used in the arachne beta build, we decided to make the the setting version to 19 in the normal releases, so that we make sure that projects made in arachne beta won't use any version upgrade scripts if a user attempts to open them in 4.12.

CURA-8510
2021-09-15 16:25:04 +02:00
Ghostkeeper
7521e174b0
Add version upgrade for Cura 4.12
Yep, there's gonna be a 4.12.

Contributes to issue CURA-8510.
2021-09-14 16:23:38 +02:00
Jaime van Kessel
cfb147853e Merge branch 'master' of github.com:Ultimaker/Cura into libArachne_rebased 2021-09-13 14:57:40 +02:00
luz paz
d68f375e38 Fix various typos
Found via `codespell -q 3 -S *.po,*.pot -L childs,initialy,lod,ned,te,slicable,sur,tutoriels,wont`
2021-09-07 11:33:54 -04:00
Jaime van Kessel
9bdeb82314 Add the missing preference upgrade for 4.9 to 4.10
This could break backups in certain cases

CURA-8521
2021-08-30 10:51:27 +02:00
Konstantinos Karmas
ef1d1dda5b Fix skipping the 48to49 upgrade in arachne
Currently:
* 48to49 upgrades the machine stacks from 4000016 to 50000**16**
* 49to50 upgrades the machine stacks from 4000016 to 50000**18**
As a result, the versionUpgrader in arachne skips the 48to49 because it sees that the 49to50 also increments the setting version.
This is now fixed by making sure that the 49to50 upgrades from **5**000016 to 5000018.

CURA-8468
2021-08-18 09:47:06 +02:00
Jelle Spijker
7f79ccdf33
Merge pull request #10261 from Ultimaker/CURA-8468_fix_project_loading
Fix project loading Arachne
2021-08-13 09:27:28 +02:00
Jaime van Kessel
fb18b278bf
Merge pull request #10245 from Ultimaker/CURA-7279_back_pressure_compensation
[CURA-7279] Back-Pressure Compensation
2021-08-11 15:52:32 +02:00
Jaime van Kessel
988de58c4e Fix version upgrader for arachne
CURA-8468
2021-08-09 17:13:40 +02:00
Jaime van Kessel
5ea0344a65 Remove duplicated code from versionupgrader 2021-08-09 16:43:23 +02:00
Remco Burema
586198c628
Remove direct flow equalization in favour of line-width based.
CURA-7279
2021-08-06 16:56:56 +02:00
Remco Burema
b72e200e2c
Add wall_min_flow[_retract] to removed settings in upgrade.
Also remove these settings from profiles which included them.

CURA-8442
2021-08-04 11:07:21 +02:00
Ghostkeeper
88954922d4
Merge branch 'master' into libArachne_rebased
Conflicts:
	resources/texts/change_log.txt -> Adding 4.10 release notes in between 4.9 and Arachne.
2021-06-30 16:46:19 +02:00
Ghostkeeper
3300192abc
Change outer_before_inner setting to an enum
We'll offer the option to print from outside to inside, from inside to outside, or from inside to outside except that the very innermost centre wall is printed last.

Contributes to issue CURA-8109.
2021-06-17 17:57:51 +02: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
Ghostkeeper
611208368c
Merge branch 'master' into libArachne_rebased
Conflicts:
	cura/CuraApplication.py: Setting version
	fdmprinter and fdmextruder: Setting version
	intents, qualities and variants: Setting version
	Changelog: 4.9.1 was added, should be below Arachne changes
2021-06-16 18:04:54 +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
kaleidoscopeit
59a0625046 Deltacomb configs for VersionUpgrade Plugin 2021-05-20 17:44:53 +02:00
Ghostkeeper
9a7b19f8ac
Only upgrade stacks based on TwoTrees printers
Both extruder stacks and global stacks though.

Contributes to issue CURA-8212.
2021-05-18 17:37:08 +02:00
Ghostkeeper
a00b21a802
Be more robust to broken input files
We've seen from experience that people do end up with broken files, due to user-modifications and whatnot. Corrupting it further won't make things better for the user.

Contributes to issue CURA-8212.
2021-05-18 17:37:08 +02:00
Ghostkeeper
5d3b442efb
Remove debugging print statement
Don't know how this passed code review. I think I was the one to review it, too.
2021-05-18 13:41:36 +02:00
Kostas Karmas
89d71d5ddd Fix comment
CURA-8212
2021-05-10 17:43:27 +02:00
Kostas Karmas
caaf5ccd14 Add version upgrader from 4.9 to 4.10 for twtrees
Makes sure to upgrade the old twotrees_bluer into the new two_trees_bluer definition.

CURA-8212
2021-05-10 17:40:05 +02:00
Remco Burema
f22e223d72
Merge branch 'master' into libArachne_rebased 2021-04-16 18:17:04 +02:00
Remco Burema
7f6133ca94
Merge pull request #9535 from Ultimaker/CURA-8093_Check_client_scope_when_upgrading_from_4.8
CURA-8093: Check client scope when upgrading from 4.8
2021-04-09 09:48:55 +02:00
Ghostkeeper
b3c03b8771
Merge branch 'master' into libArachne_rebased
Conflicts:
	resources/texts/change_log.txt -> 4.9 got added while we added the Arachne change log as well. I put 4.9 below the Arachne info.
2021-04-08 13:49:52 +02:00
Kostas Karmas
dca0612ee7 Add descriptive comment for deleting the user auth data
CURA-8093
2021-04-08 12:49:33 +02:00
Kostas Karmas
72080a3cca Delete the auth data on upgrade from 4.8 if the scope doesn't match
If the user account scope is outdated, delete it when upgrading from 4.8 to 4.9. This means that
the user will have to log in again, to make sure they get the correct account scope.

CURA-8093
2021-04-08 12:46:52 +02:00
Jaime van Kessel
d49a90029f
Fix final set of typing issues 2021-04-07 14:03:35 +02:00
Kostas Karmas
39e9dcd4f5 Fix VersionUpgrade48to49 crashing if there is no "categories_expanded"
If the 4.8 is started from a clean install and no category gets expanded in the settings panel,
then the "categories_expanded" key will not exist in the [cura] preferences in cura.cfg.
As a result, when the 4.9 gets started in this specific case, the version upgrade 48 to 49 will
produce a crash and will be considered as "failed", which will then lead to cura requesting from
the user to go from the entire onboarding flow instead of landing on the "What's new" pages (even
though everything else has been properly updated).

This commit fixes that by checking whether the "categories_expanded" key exists in the cura.cfg.
2021-04-06 16:37:06 +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