From: Steven Abadie Date: Mon, 5 Jan 2015 03:41:47 +0000 (-0700) Subject: Revert "Add support for Z offset machine setting" X-Git-Tag: 14.09-1.18~3 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=ccbb92de68b0736e3fb6962166be3739458d190a;p=cura.git Revert "Add support for Z offset machine setting" This reverts commit 6ccd876852e9fcf320cee1b008624bd43a91a70f. This was pulled in from master by accident. --- diff --git a/Cura/gui/preferencesDialog.py b/Cura/gui/preferencesDialog.py index ba7546c3..54bde5a4 100644 --- a/Cura/gui/preferencesDialog.py +++ b/Cura/gui/preferencesDialog.py @@ -87,7 +87,6 @@ class machineSettingsDialog(wx.Dialog): configBase.SettingRow(left, 'machine_depth', index=idx) configBase.SettingRow(left, 'machine_height', index=idx) configBase.SettingRow(left, 'extruder_amount', index=idx) - configBase.SettingRow(left, 'extruder_z_offset', index=idx) configBase.SettingRow(left, 'has_heated_bed', index=idx) configBase.SettingRow(left, 'machine_center_is_zero', index=idx) configBase.SettingRow(left, 'machine_shape', index=idx) diff --git a/Cura/util/profile.py b/Cura/util/profile.py index fe700d40..1db26fe6 100644 --- a/Cura/util/profile.py +++ b/Cura/util/profile.py @@ -509,7 +509,6 @@ setting('extruder_offset_x2', '0.0', float, 'machine', 'hidden').setLabel(_("Off setting('extruder_offset_y2', '0.0', float, 'machine', 'hidden').setLabel(_("Offset Y"), _("The offset of your tertiary extruder compared to the primary.")) setting('extruder_offset_x3', '0.0', float, 'machine', 'hidden').setLabel(_("Offset X"), _("The offset of your forth extruder compared to the primary.")) setting('extruder_offset_y3', '0.0', float, 'machine', 'hidden').setLabel(_("Offset Y"), _("The offset of your forth extruder compared to the primary.")) -setting('extruder_z_offset', '0.0', float, 'machine', 'hidden').setLabel(_("Z-Offset"), _("This value will be added to the Z coordinate of every line in the output G-Code to compensate for a badly calibrate Z height endstop.")) setting('steps_per_e', '0', float, 'machine', 'hidden').setLabel(_("E-Steps per 1mm filament"), _("Amount of steps per mm filament extrusion. If set to 0 then this value is ignored and the value in your firmware is used.")) setting('serial_port', 'AUTO', str, 'machine', 'hidden').setLabel(_("Serial port"), _("Serial port to use for communication with the printer")) setting('serial_port_auto', '', str, 'machine', 'hidden') diff --git a/Cura/util/sliceEngine.py b/Cura/util/sliceEngine.py index d01994ae..9759720c 100644 --- a/Cura/util/sliceEngine.py +++ b/Cura/util/sliceEngine.py @@ -492,7 +492,6 @@ class Engine(object): 'extruderOffset[2].Y': int(profile.getMachineSettingFloat('extruder_offset_y2') * 1000), 'extruderOffset[3].X': int(profile.getMachineSettingFloat('extruder_offset_x3') * 1000), 'extruderOffset[3].Y': int(profile.getMachineSettingFloat('extruder_offset_y3') * 1000), - 'zOffset': int(profile.getMachineSettingFloat('extruder_z_offset') * 1000), 'fixHorrible': 0, } fanFullHeight = int(profile.getProfileSettingFloat('fan_full_height') * 1000)