500 Commits

Author SHA1 Message Date
Kostas Karmas
081b0b23a4 Fix setting the time_remaining_method in the versionUpgrader
The DisplayProgressOnLCD script was changed and the "time_remaining" was split into two settings:
the "time_remaining" and the "time_remaining_method". If the "time_remaining" was enabled, the
"time_remaining_method" should be set to "m117".

The VersionUpgrader48to49 was changing the "time_remaining" to "m117" instead of changing the
"time_remaining_method", which was leading to the "time_remaining" having a wrong value and not
being interpreted as a boolean.

This commit fixes that by setting the "time_remaining_method" into "m117" when the "time_remaining"
was True.

CURA-8110
2021-04-06 11:38:28 +02:00
jelle Spijker
27fc435724
Bumped up stack version to 5
CURA-8110_upgrader
2021-04-02 15:02:38 +02:00
jelle Spijker
ebc4f45da6
Revert "Removed the upgrader for the machine and extruder stack"
This reverts commit 4707560d
2021-04-02 14:45:16 +02:00
jelle Spijker
72478994ec
Bumped up the Preference version to 7
reverted the SettingVersion to 16

CURA-8110_upgrader
2021-04-02 14:41:52 +02:00
jelle Spijker
4707560dcb
Removed the upgrader for the machine and extruder stack
It is known that will cause some user scripts to default behaviour.
But this is accepted behaviour, and the benefits of not upgrading
the Cura Application version outweigh this.
2021-04-02 14:03:37 +02:00
jelle Spijker
33e345d1bc
Removed upgrader for instance containers
CURA-8810_version_upgrade
2021-04-02 10:41:14 +02:00
jelle Spijker
5885c5afee
Fixed documentation of upgradeSettingVisibility
CURA-8810_version_upgrade
2021-04-02 09:44:56 +02:00
jelle Spijker
51efeb9767
Upgrade expanded categories as well
CURA-8810_version_upgrade
2021-04-01 16:47:43 +02:00
jelle Spijker
77ea5e5e89
Allow setting visibilities to be upgraded
CURA-8810_version_upgrade
2021-04-01 16:15:47 +02:00
jelle Spijker
85fa07f6dd
Add top_bottom category to visible settings in preference
CURA-8810_version_upgrade
2021-04-01 14:22:32 +02:00
jelle Spijker
b05b36ae56
Added the VersionUpgrade48to49 plugin to bundled packages
CURA-8810_version_upgrade
2021-03-31 15:14:18 +02:00
Ghostkeeper
c85cf7b9cb
Add version upgrade plug-in for 4.9
Needed to happen at some point...

Contributes to issue CURA-7787.
2021-03-31 15:08:47 +02:00
Remco Burema
db33f67666
Partial revert: Don't remove 'Print Thin Walls'.
It still makes sense, even in a libArachne/Variable Line Width sense.

CURA-7148
2020-12-10 12:49:00 +01:00
Remco Burema
df8a716ac3
Remove old 'Print Thin Walls' and 'Fill Gsps'.
In favour of new variable line width processing (Arachne).

CURA-7148
2020-12-09 20:55:37 +01:00
Kostas Karmas
1416466f05 Enable the setting version update to 18 in VersionUpgrade49to50
Contributes to CURA-7683 and CURA-7656
2020-12-02 15:32:26 +01:00
Kostas Karmas
696844f1cf Add VersionUpgrader for libArachne 5.0
Things to note:

* Since there is no VersionUpgrader from 4.8 to 4.9, this versionUpgrader attempts to upgrade
  files made in 4.8. This means that it touches files with setting_version = 16.
* The upgrade of the setting_version to 18 is currently commented out because we are not entirely
  sure that 18 will be the setting_version in 5.0.
* This versionUpgrader removes the following three settings that were removed in libArachne
	* "Compensate Wall Overlaps"
	* "Compensate Outer Wall Overlaps"
	* "Compensate Inner Wall Overlaps"
* The VersionUpgrader also disabled Fuzzy Skin from any profiles that may have it enabled, as fuzzy
  skin currently doesn't work in libArachne.
* The printer definitions have NOT been updated to the new setting_version to avoid having to deal
  with an enormous merge conflict in case the setting_version of 5.0 is something other than 18.
* Since the VersionUpgrader does not alter the setting_version, it will run every time Cura starts.

In short, this versionUpgrader runs and removes the deleted settings but it does not really change
the setting_version of any files.

Contributes to CURA-7683 and CURA-7656
2020-12-02 12:04:06 +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
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