Add setting to determine whether to use firmware retraction

This allows printers to determine this for themselves. By default it's based on the g-code flavour in the same way as it is now implemented in the engine.

Fixes #1097.
This commit is contained in:
Ghostkeeper 2017-11-17 11:13:15 +01:00
parent f27494d60a
commit 94dd524785
No known key found for this signature in database
GPG key ID: 5252B696FB5E7C7A

View file

@ -318,6 +318,17 @@
"settable_per_extruder": false,
"settable_per_meshgroup": false
},
"machine_firmware_retract":
{
"label": "Firmware Retraction",
"description": "Whether to use firmware retract commands (G10/G11) instead of using the E property in G1 commands to retract the material.",
"type": "bool",
"default_value": false,
"value": "machine_gcode_flavor == 'RepRap (Volumetric)' or machine_gcode_flavor == 'UltiGCode' or machine_gcode_flavor == 'BFB'",
"settable_per_mesh": false,
"settable_per_extruder": false,
"settable_per_meshgroup": false
},
"machine_disallowed_areas":
{
"label": "Disallowed areas",