Add extruder start/end gcode duration settings

CURA-11099
This commit is contained in:
c.lamboo 2023-11-13 10:46:44 +01:00
parent 5504cc1b60
commit c4573ba855
2 changed files with 50 additions and 0 deletions

View file

@ -139,6 +139,34 @@ Item
decimals: 0
forceUpdateOnChangeFunction: forceUpdateFunction
}
Cura.NumericTextFieldWithUnit
{
id: extruderStartCodeDurationFieldId
containerStackId: base.extruderStackId
settingKey: "machine_extruder_start_code_duration"
settingStoreIndex: propertyStoreIndex
labelText: catalog.i18nc("@label", "Extruder Start G-code duration")
labelFont: base.labelFont
labelWidth: base.labelWidth
controlWidth: base.controlWidth
unitText: catalog.i18nc("@label", "s")
forceUpdateOnChangeFunction: forceUpdateFunction
}
Cura.NumericTextFieldWithUnit
{
id: extruderEndCodeDurationFieldId
containerStackId: base.extruderStackId
settingKey: "machine_extruder_end_code_duration"
settingStoreIndex: propertyStoreIndex
labelText: catalog.i18nc("@label", "Extruder End G-code duration")
labelFont: base.labelFont
labelWidth: base.labelWidth
controlWidth: base.controlWidth
unitText: catalog.i18nc("@label", "s")
forceUpdateOnChangeFunction: forceUpdateFunction
}
}
}

View file

@ -62,6 +62,17 @@
"settable_per_meshgroup": false,
"type": "str"
},
"machine_extruder_end_code_duration": {
"default_value": 0,
"description": "Duration it takes to execute the end g-code when switching away from this extruder.",
"label": "Extruder End G-Code Duration",
"minimum_value": "0",
"settable_globally": false,
"settable_per_extruder": true,
"settable_per_mesh": false,
"settable_per_meshgroup": false,
"type": "float"
},
"machine_extruder_end_pos_abs":
{
"default_value": false,
@ -108,6 +119,17 @@
"settable_per_meshgroup": false,
"type": "str"
},
"machine_extruder_start_code_duration": {
"default_value": 0,
"description": "Duration it takes to execute the start g-code to when switching away from this extruder.",
"label": "Extruder Start G-Code Duration",
"minimum_value": "0",
"settable_globally": false,
"settable_per_extruder": true,
"settable_per_mesh": false,
"settable_per_meshgroup": false,
"type": "float"
},
"machine_extruder_start_pos_abs":
{
"default_value": false,