From 54d5ce179fb53564f95807e35a97bdea11d8c4ca Mon Sep 17 00:00:00 2001 From: nickthetait Date: Thu, 15 Oct 2015 11:08:06 -0600 Subject: [PATCH] Cleanup for T292 --- Cura/gui/printWindow.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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): -- 2.30.2