mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 15:13:56 -06:00
Add separate definition for Ultimaker 2 with Olsson block
This is necessary because our ContainerTree class can only create one tree per definition. This tree is not created separately for every added printer and as such the tree can't be different for every added printer. However the Ultimaker 2 Olsson block upgrade allows selecting extra variants for the UM2. This changes the available variants in the container tree, so this would be impossible. By making it a separate definition, it now gets a separate tree. However this does mean that we need to do a version upgrade for this as well. Contributes to issue CURA-6775.
This commit is contained in:
parent
e1a52f841f
commit
3c9d191a6e
5 changed files with 16 additions and 4 deletions
12
resources/definitions/ultimaker2_olsson.def.json
Normal file
12
resources/definitions/ultimaker2_olsson.def.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"version": 2,
|
||||
"name": "Ultimaker 2 with Olsson Block",
|
||||
"inherits": "ultimaker2",
|
||||
"metadata": {
|
||||
"has_variants": true
|
||||
},
|
||||
|
||||
"overrides": {
|
||||
"machine_name": { "default_value": "Ultimaker 2 with Olsson Block" }
|
||||
}
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
[general]
|
||||
name = 0.25 mm
|
||||
version = 4
|
||||
definition = ultimaker2
|
||||
definition = ultimaker2_olsson
|
||||
|
||||
[metadata]
|
||||
setting_version = 9
|
|
@ -1,7 +1,7 @@
|
|||
[general]
|
||||
name = 0.4 mm
|
||||
version = 4
|
||||
definition = ultimaker2
|
||||
definition = ultimaker2_olsson
|
||||
|
||||
[metadata]
|
||||
setting_version = 9
|
|
@ -1,7 +1,7 @@
|
|||
[general]
|
||||
name = 0.6 mm
|
||||
version = 4
|
||||
definition = ultimaker2
|
||||
definition = ultimaker2_olsson
|
||||
|
||||
[metadata]
|
||||
setting_version = 9
|
|
@ -1,7 +1,7 @@
|
|||
[general]
|
||||
name = 0.8 mm
|
||||
version = 4
|
||||
definition = ultimaker2
|
||||
definition = ultimaker2_olsson
|
||||
|
||||
[metadata]
|
||||
setting_version = 9
|
Loading…
Add table
Add a link
Reference in a new issue