From ee85e4b7ad9e4dadc7f8343dd720e8ccfcdef864 Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Tue, 2 Jun 2015 12:49:51 -0400 Subject: [PATCH] Set the proper machine_type for 0.5mm nozzle TAZ5 --- Cura/gui/configWizard.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Cura/gui/configWizard.py b/Cura/gui/configWizard.py index 45b7885d..c1a91a39 100644 --- a/Cura/gui/configWizard.py +++ b/Cura/gui/configWizard.py @@ -507,8 +507,8 @@ class MachineSelectPage(InfoPage): profile.putMachineSetting('machine_width', '298') profile.putMachineSetting('machine_depth', '275') profile.putMachineSetting('machine_height', '250') - profile.putMachineSetting('machine_type', 'lulzbot_TAZ_5') profile.putMachineSetting('serial_baud', '115200') + # Machine type and name are set in the nozzle select page else: profile.putMachineSetting('machine_width', '155') profile.putMachineSetting('machine_depth', '155') @@ -1033,11 +1033,12 @@ class Taz5NozzleSelectPage(InfoPage): if self.Nozzle35Radio.GetValue(): profile.putProfileSetting('nozzle_size', '0.35') profile.putMachineSetting('machine_name', 'LulzBot TAZ 5 (0.35 nozzle)') - #TODO: Use existing profiles + profile.putMachineSetting('machine_type', 'lulzbot_TAZ_5') + else: profile.putProfileSetting('nozzle_size', '0.5') profile.putMachineSetting('machine_name', 'LulzBot TAZ 5 (0.5 nozzle)') - #TODO: Use new profiles + profile.putMachineSetting('machine_type', 'lulzbot_TAZ_5_05nozzle') def OnPageChanging(self, e): e.GetPage().StoreData() -- 2.30.2