From 5813aa2f57d30e8c254f937c2e338133d3ddc980 Mon Sep 17 00:00:00 2001 From: RFBomb Date: Mon, 25 Jan 2021 13:16:17 -0500 Subject: [PATCH] Adds checkbox for 'machine_use_extruder_offset_to_offset_coords' in printer settings page. --- .../MachineSettingsPrinterTab.qml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/plugins/MachineSettingsAction/MachineSettingsPrinterTab.qml b/plugins/MachineSettingsAction/MachineSettingsPrinterTab.qml index 758efd2e4e..176119bd68 100644 --- a/plugins/MachineSettingsAction/MachineSettingsPrinterTab.qml +++ b/plugins/MachineSettingsAction/MachineSettingsPrinterTab.qml @@ -330,6 +330,24 @@ Item } } + /* + - Proposed fix for this issue: https://github.com/Ultimaker/Cura/issues/9167 + - Allows user to toggle if GCODE coordinates are affected by the extruder offset. + - Machine wide setting. CuraEngine/src/gcodeExport.cpp is not set up to evaluate per extruder currently. + - If it is moved to per-extruder (unlikely), then this should be moved to the extruder tab) + */ + Cura.SimpleCheckBox // "GCode Affected By Extruder Offsets" + { + id: ApplyExtruderOffsetsToGCodeCheckbox + containerStackId: machineStackId + settingKey: "machine_use_extruder_offset_to_offset_coords" + settingStoreIndex: propertyStoreIndex + labelText: catalog.i18nc("@label", "Apply Extruder offsets to GCode") + labelFont: base.labelFont + labelWidth: base.labelWidth + forceUpdateOnChangeFunction: forceUpdateFunction + } + /* The "Shared Heater" feature is temporarily disabled because its implementation is incomplete. Printers with multiple filaments going into one nozzle will keep the inactive filaments retracted at the