434 Commits

Author SHA1 Message Date
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
2395c0b1be
Add version upgrade for Cura 4.8
We're changing the unit of one of our settings, so we need to implement a version upgrade to change that for our users in case they changed this setting themselves.

Contributes to issue CURA-7118.
2020-09-02 01:20:59 +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
Kostas Karmas
4b72db90ee Revert ignoring network information in VersionUpgrader
As this will also remove them from machines that go through the VersionUpgrader.
2020-07-28 10:27:34 +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
Kostas Karmas
94d1e1d77b Fix preferences.cfg not being updated in project files
Since the metadata/setting_version field was not written in project files from the 3MF writer,
the preferences were never really updated, because their preferences version was marked as 6000000
(basically omitting the setting_version). Now, if any project file is found without a metadata
setting_version tag, it will default to preference version 6000000 and thus it will start calling
the updatedPreferences() functions starting from VersionUpgrade34to35, properly updating the
preferences and adding the metadata/setting_version field in the preferences.cfg of the project
file.

CURA-6711
2020-07-20 12:23:52 +02:00
Nino van Hooff
18cdce6ef0 Add support_structure to custom visible settings if support_tree_enable
is in that list

CURA-6711
2020-07-15 16:08:18 +02:00
Nino van Hooff
bc51db321f Merge branch 'master' into CURA-6711_support_structure_dropdown 2020-07-15 11:57:34 +02:00
Nino van Hooff
bc34c8dd0b Version upgrade support_tree_enable -> support_structure
CURA-6711
2020-07-13 15:51:14 +02:00
Kostas Karmas
e000efe493 Fix missing import
Related to https://github.com/Ultimaker/Cura/pull/7726
2020-07-08 17:37:00 +02:00
Konstantinos Karmas
79a816db6b
Merge pull request #7726 from Bostwickenator/master
Add PostProcessingPlugin script DisplayProgressOnLCD
2020-07-08 17:30:05 +02:00
Alexander Gee
0a97511d3a
Apply suggestions from code review
Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>
2020-07-08 00:30:19 -05:00
Nino van Hooff
816aaafc19 Revert changes for CURA-5479
It was decided that functionality present in existing plugins is
sufficient. No need to replicate it in our own codebase and
take on the burden of maintenance

CURA-5479
2020-07-07 16:11:03 +02:00
Konstantinos Karmas
56d21ee190
Merge pull request #8026 from Ultimaker/CURA-5479_job_name_template
CURA-5479_job_name_template version upgrade
2020-07-06 10:06:39 +02:00
Nino van Hooff
fe7e89835b Version upgrade for jobname_prefix -> job_name_template
CURA-5479
2020-07-03 14:39:05 +02:00
jelle Spijker
d31c7407ee
Delete removed settings from profiles when upgrading
Part of CURA-7199
2020-06-30 15:10:26 +02:00
jelle Spijker
8af4e0d05a
Remove spaghetti settings from 462 visible_settings when upgrading
Part of CURA-7199
2020-06-29 16:07:34 +02:00
Jaime van Kessel
daa6b4f28d
Add upgrade script for dagoma discoeasy
CURA-7517
2020-06-17 10:46:09 +02:00
Ghostkeeper
9b6f10b6e7
Merge branch '4.6' 2020-06-04 13:37:44 +02:00
Ghostkeeper
2e5f4764bd
Remove duplicated version upgrade plug-in
These two version upgraders do the same operation. Their code is copied. Instead, we can just let one version upgrader upgrade both versions of the files.

Contributes to issue CURA-7413.
2020-06-04 13:37:30 +02:00
Nino van Hooff
98587a9008
Merge pull request #7551 from Ultimaker/doxygen_to_restructuredtext_comments
Converted doxygen style comments to reStructuredText style
2020-05-29 16:46:25 +02:00
Nino van Hooff
89f0970a88 Remove trailing whitespace from Python files 2020-05-29 14:30:33 +02:00
Nino van Hooff
58ffc9dcae Merge remote-tracking branch 'origin/master' into doxygen_to_restructuredtext_comments
# Conflicts:
#	cura/API/__init__.py
#	cura/Settings/CuraContainerRegistry.py
#	cura/Settings/ExtruderManager.py
#	plugins/PostProcessingPlugin/scripts/PauseAtHeight.py
#	plugins/UM3NetworkPrinting/src/Cloud/CloudApiClient.py
#	plugins/UM3NetworkPrinting/src/Cloud/ToolPathUploader.py
#	plugins/UM3NetworkPrinting/src/Network/LocalClusterOutputDeviceManager.py
2020-05-28 17:31:24 +02:00
Jaime van Kessel
f7921394bf
Merge branch '4.6' of github.com:Ultimaker/Cura 2020-05-28 17:21:42 +02:00
Jaime van Kessel
7e53bc179f
Add beta upgrader
CURA-7413
2020-05-28 17:13:26 +02:00
Nino van Hooff
bb2a176e36 Convert doxygen to rst for VersionUpgrades 40+ 2020-05-28 16:21:49 +02:00
Alexander Gee
18098ae893 Use access pattern from PauseAtHeight 2020-05-23 21:10:47 -05:00
Alexander Gee
e807a086b4 Refactor setting names for consistancy, migration script 2020-05-23 16:42:01 -05:00
Kostas Karmas
503d5d2a35 Correctly upgrade the ironing_inset based on the ironing_pattern used
Previously, the ironing_inset was changed in the profiles to reflect
the changes made in the CuraEngine. This inset though was not taking
into account the ironing_pattern (in the CuraEngine, the inset is
compensated differently depending on the pattern).

This commit fixes that in the version upgrader and the printer
definitions in order to maintain the same behavior for the old
profiles.

CURA-7318
2020-05-20 13:56:24 +02:00
Nino van Hooff
81ec7d6582
Merge pull request #7201 from fieldOfView/feature_unify_pause_at_height
Unify pause at height scripts
2020-05-19 15:51:21 +02:00
Ghostkeeper
98fed95725
Adjust the default values for ironing_inset so that the slice result remains the same
The slicer has been adjusted to give this setting a more logical function: It should be an inset of the outer edge of ironing as it appears in layer view where the lines are made thinner according to their flow.
As a result all of the slices with ironing have changed. This adjusts the setting value so that the actual slice output will not change, just the appearance of the setting.

Contributes to issue CURA-7318.
2020-05-18 18:19:57 +02:00
Ghostkeeper
5a8d411c35
Fix upgrading quality-changes profiles per extruder
These have a slightly different syntax apparently.
I thought I tested this before. But apparently not well enough.

Contributes to issue CURA-7433.
2020-05-14 16:44:48 +02:00
fieldOfView
321693d410 Add upgrade script to update instances of removed scripts to unified script 2020-05-14 11:38:30 +02:00
Ghostkeeper
984836c1af
Code style: Spaces around binary operators
Contributes to issue CURA-7433.
2020-05-13 17:25:09 +02:00
Remco Burema
3af8c20ccf
Deltacomb upgrade: Fix deepcopy not working for ConfigParser.
No idea why it worked on ghostkeepers' system. It isn't supposed to: https://bugs.python.org/issue16058
CURA-7433
2020-05-12 18:42:06 +02:00
Remco Burema
44900fad5a
Deltacomb upgrade: Fix leftover issues from last master-merge.
CURA-7433
2020-05-12 18:39:27 +02:00
Remco Burema
ac429d496a
Merge https://github.com/kaleidoscopeit/Cura into kaleidoscopeit-master 2020-05-12 16:41:05 +02:00
Ghostkeeper
89fc4c94bf
Add version upgrade for changed Redo Layer parameter of Pause script
This was changed from a number of layers to just a boolean for 1 or 0 layers.

Contributes to issue CURA-7413.
2020-05-11 18:50:49 +02:00
Ghostkeeper
c3c144345b
Add version upgrade to halve the maximum deviation once again
As explained in the comment. We reverted a change in 4.6, so we must unrevert it in master again.

Contributes to issue CURA-7420.
2020-05-08 09:30:54 +02:00
Ghostkeeper
b02354b209
Merge branch '4.6'
Conflicts:
	plugins/VersionUpgrade/VersionUpgrade460to462/VersionUpgrade460to462.py -> On master we removed the getCfgVersion function, while we moved the entire plug-in to a different folder in 4.6.
	resources/definitions/skriware_2.def.json -> On master we merged a PR that changes more or less all settings, while on 4.6 we doubled the maximum deviation.
2020-05-08 09:10:02 +02:00
Kostas Karmas
69f23eca94 Double the maximum deviation again in the versionUpgrade460to462
CURA-7421
2020-05-04 13:22:22 +02:00
Kostas Karmas
96fde43ae8 Up the setting version inside the VersionUpgrade460to462
CURA-7421
2020-05-04 13:12:17 +02:00
Kostas Karmas
aab2257574 Up the setting version to 14 in CuraApplication
CURA-7421
2020-05-04 13:06:19 +02:00
Kostas Karmas
74bc40eb90 Add version upgrade 460to462
CURA-7421
2020-05-04 13:03:21 +02:00
Kostas Karmas
524a072420 Merge version upgrade 45to46 with 46to47
CURA-7421
2020-05-04 13:00:17 +02:00
Ghostkeeper
dfa021ab20
Fix upgrade of preference if visible settings was not modified
Oops. Small oversight. This could lead to the preferences file being erased completely.

Found during work on Sentry issue CURA-NH.
2020-04-29 14:10:07 +02:00
Jaime van Kessel
174b58374a
Remove unneeded unit tests
The code was moved to uranium, so no need to test them in a plugin.

In some cases they were also testing a specific implementation artifact and not
actual expected behavior.

CURA-7388
2020-04-28 10:23:36 +02:00
Jaime van Kessel
de7e3f824d
Move the getCfgVersion to base version upgrade
They can still be overridden, but in the current situation they were
all the same...
2020-04-22 11:30:35 +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
2e12cc1dc2
Fix missing typing and use American instead of pro'er Bri'ish
American is Ultimaker's code style too.
2020-04-10 01:12:13 +02:00