mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 11:56:05 +08:00
JSON: refactor: moved draft shield options to Cooling category
This commit is contained in:
parent
c06ed1e56d
commit
7c652ed069
@ -1109,6 +1109,47 @@
|
|||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"visible": false
|
"visible": false
|
||||||
|
},
|
||||||
|
"draft_shield_enabled": {
|
||||||
|
"label": "Enable Draft Shield",
|
||||||
|
"description": "Enable exterior draft shield. This will create a wall around the object which traps (hot) air and shields against gusts of wind. Especially useful for materials which warp easily.",
|
||||||
|
"type": "boolean",
|
||||||
|
"default": false
|
||||||
|
},
|
||||||
|
"draft_shield_dist": {
|
||||||
|
"label": "Draft Shield X/Y Distance",
|
||||||
|
"description": "Distance of the draft shield from the print, in the X/Y directions.",
|
||||||
|
"unit": "mm",
|
||||||
|
"type": "float",
|
||||||
|
"min_value": "0",
|
||||||
|
"max_value_warning": "100",
|
||||||
|
"default": 10,
|
||||||
|
"visible": false,
|
||||||
|
"enabled": "draft_shield_enabled"
|
||||||
|
},
|
||||||
|
"draft_shield_height_limitation": {
|
||||||
|
"label": "Draft Shield Limitation",
|
||||||
|
"description": "Whether or not to limit the height of the draft shield.",
|
||||||
|
"type": "enum",
|
||||||
|
"options": {
|
||||||
|
"full": "Full",
|
||||||
|
"limited": "Limited"
|
||||||
|
},
|
||||||
|
"default": "full",
|
||||||
|
"visible": false,
|
||||||
|
"enabled": "draft_shield_enabled"
|
||||||
|
},
|
||||||
|
"draft_shield_height": {
|
||||||
|
"label": "Draft Shield Height",
|
||||||
|
"description": "Height limitation on the draft shield. Above this height no draft shield will be printed.",
|
||||||
|
"unit": "mm",
|
||||||
|
"type": "float",
|
||||||
|
"min_value": "0",
|
||||||
|
"max_value_warning": "30",
|
||||||
|
"default": 0,
|
||||||
|
"inherit_function": "9999 if draft_shield_height_limitation == 'full' and draft_shield_enabled else 0.0",
|
||||||
|
"visible": false,
|
||||||
|
"enabled": "draft_shield_height_limitation == \"limited\""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -1698,47 +1739,6 @@
|
|||||||
"enabled": "adhesion_type == \"raft\""
|
"enabled": "adhesion_type == \"raft\""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"draft_shield_enabled": {
|
|
||||||
"label": "Enable Draft Shield",
|
|
||||||
"description": "Enable exterior draft shield. This will create a wall around the object which traps (hot) air and shields against gusts of wind. Especially useful for materials which warp easily.",
|
|
||||||
"type": "boolean",
|
|
||||||
"default": false
|
|
||||||
},
|
|
||||||
"draft_shield_dist": {
|
|
||||||
"label": "Draft Shield X/Y Distance",
|
|
||||||
"description": "Distance of the draft shield from the print, in the X/Y directions.",
|
|
||||||
"unit": "mm",
|
|
||||||
"type": "float",
|
|
||||||
"min_value": "0",
|
|
||||||
"max_value_warning": "100",
|
|
||||||
"default": 10,
|
|
||||||
"visible": false,
|
|
||||||
"enabled": "draft_shield_enabled"
|
|
||||||
},
|
|
||||||
"draft_shield_height_limitation": {
|
|
||||||
"label": "Draft Shield Limitation",
|
|
||||||
"description": "Whether or not to limit the height of the draft shield.",
|
|
||||||
"type": "enum",
|
|
||||||
"options": {
|
|
||||||
"full": "Full",
|
|
||||||
"limited": "Limited"
|
|
||||||
},
|
|
||||||
"default": "full",
|
|
||||||
"visible": false,
|
|
||||||
"enabled": "draft_shield_enabled"
|
|
||||||
},
|
|
||||||
"draft_shield_height": {
|
|
||||||
"label": "Draft Shield Height",
|
|
||||||
"description": "Height limitation on the draft shield. Above this height no draft shield will be printed.",
|
|
||||||
"unit": "mm",
|
|
||||||
"type": "float",
|
|
||||||
"min_value": "0",
|
|
||||||
"max_value_warning": "30",
|
|
||||||
"default": 0,
|
|
||||||
"inherit_function": "9999 if draft_shield_height_limitation == 'full' and draft_shield_enabled else 0.0",
|
|
||||||
"visible": false,
|
|
||||||
"enabled": "draft_shield_height_limitation == \"limited\""
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user