19 Commits

Author SHA1 Message Date
Lipu Fei
b81635ac8e Update setting_version to 5 and add 34 -> 40 upgrade
CURA-5450

Also update setting_version for all qualities and variants.
2018-06-12 10:17:35 +02:00
Lipu Fei
ed390738f4 Update all qualities and variants to version 4 2018-04-05 15:14:15 +02:00
Ghostkeeper
d8a066c1e7
Increment instance container version number instead of just quality_changes
Otherwise when we load that quality_changes file we'll deny it because the instance container version number is wrong.

Contributes to issue CURA-5054.
2018-03-09 16:14:24 +01:00
Lipu Fei
0505b16ffb WIP: Update quality profiles
- Add a new field "variant" in "metadata" section for quality profiles.
  "material" will only contain values such as "generic_abs", and
  "variant" will contain values such as "0.25 mm", "AA 0.4", etc.

- Reformat "metadata" section to have the following order:
   - setting_version
   - type
   - quality_type
   - weight
   - global_quality
   - material
   - variant
2018-02-16 14:20:02 +01:00
Lipu Fei
b6dd87081c Add upgrade script for 3.0 to 3.1
CURA-4451

- Add upgrade script for 3.0. to 3.1
- Upgrade old stack files so they will use "empty_quality" as the
  "Not Supported" quality profile.
- Increase SettingVersion to 4
2017-10-30 12:45:25 +01:00
Lipu Fei
fdf5dc049e Update all containers to setting_version 3
CURA-4270
2017-09-04 15:47:04 +02:00
Lipu Fei
3983da30aa Update setting_version to 2 for qualities
CURA-3975
2017-07-06 14:19:20 +02:00
Jaime van Kessel
e40f60a52b Changed profile names
CURA-3777
2017-05-15 16:52:25 +02:00
Ghostkeeper
f0f8871496
Add setting_version to all profiles
This represents the data version number (as opposed to the format version).

Contributes to issue CURA-3427.
2017-05-12 13:40:54 +02:00
Jaime van Kessel
0c1829af1e Revert "Upgrade built-in instance containers"
This reverts commit b162be4df8c12c89112ba558136e87b63e67e713.
2017-03-16 11:15:20 +01:00
Ghostkeeper
b162be4df8
Upgrade built-in instance containers
These are now upgraded to version 3, meaning that they will have to increase their version numbers and remove any start_layers_at_same_position settings they define. None of these profiles define any start_layers_at_same_position so it's just the version number then.

Contributes to issue CURA-3479.
2017-03-10 16:49:57 +01:00
Ghostkeeper
35f43df2f6
Make generic quality profiles global
This way they will also be put in the global profile.

Contributes to issue CURA-2723.
2016-10-25 13:06:42 +02:00
fieldOfView
c056d44785 Made quality profile weights consistent
draft: -2
fast: -1
normal: 0
high: 1

CURA-2549
2016-10-06 14:07:01 +02:00
Arjen Hiemstra
b894e3888c Introduce a quality_type metadata entry that can be used to distinguish qualities
Since we want the profile to be selected based on material and we have
profiles like "ABS Normal" and "PLA Normal" we need some way to make
sure we select the same.

Contributes to CURA-2006
2016-08-10 10:55:25 +02:00
fieldOfView
cd803bc36e Determine readonly state from location in filesystem instead of a metadata property
CURA-1684
2016-06-09 13:16:23 +02:00
fieldOfView
a21498c375 Add weights to generic quality profiles
CURA-1278
2016-06-09 08:29:05 +02:00
Jaime van Kessel
4fc565711d Added read-only property to profiles
CURA-1585
2016-06-03 11:19:33 +02:00
Arjen Hiemstra
c23980437d Fix naming of quality profiles 2016-05-23 14:43:56 +02:00
Jaime van Kessel
dafff9159e Added materials & qualities
CURA-1278
2016-05-18 11:03:44 +02:00