From: nickthetait Date: Thu, 15 Oct 2015 17:08:06 +0000 (-0600) Subject: Cleanup for T292 X-Git-Tag: lulzbot-17.11~13 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=54d5ce179fb53564f95807e35a97bdea11d8c4ca;p=cura.git Cleanup for T292 --- diff --git a/Cura/gui/printWindow.py b/Cura/gui/printWindow.py index db065427..fe5f4893 100644 --- a/Cura/gui/printWindow.py +++ b/Cura/gui/printWindow.py @@ -9,6 +9,7 @@ import os import ctypes import subprocess from Cura.util import resources +from Cura.util import profile #TODO: This does not belong here! if sys.platform.startswith('win'): @@ -802,11 +803,11 @@ class printWindowAdvanced(wx.Frame): def _moveE(self, step): feedrate = 120 - from Cura.util import profile - toolhead_name = profile.getMachineSetting("toolhead") - toolhead_name = toolhead_name.lower() - if "flexy" in toolhead_name: - feedrate=30 + if "lulzbot_" in profile.getMachineSetting("machine_type"): + toolhead_name = profile.getMachineSetting("toolhead") + toolhead_name = toolhead_name.lower() + if "flexy" in toolhead_name: + feedrate = 30 self._moveXYZE("E", step, feedrate) def _homeXYZ(self, direction):