From: daid Date: Fri, 21 Mar 2014 10:48:31 +0000 (+0100) Subject: Minor fixes in how the engine is called due to engine updates. X-Git-Tag: 14.06~53 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=ee09e5a216a39cfcf4c26dd01d1e471e26d4d8dd;p=cura.git Minor fixes in how the engine is called due to engine updates. --- diff --git a/Cura/util/sliceEngine.py b/Cura/util/sliceEngine.py index 03aaff9a..06d5d9d9 100644 --- a/Cura/util/sliceEngine.py +++ b/Cura/util/sliceEngine.py @@ -443,6 +443,7 @@ class Engine(object): 'filamentDiameter': int(profile.getProfileSettingFloat('filament_diameter') * 1000), 'filamentFlow': int(profile.getProfileSettingFloat('filament_flow')), 'extrusionWidth': int(profile.calculateEdgeWidth() * 1000), + 'layer0extrusionWidth': int(profile.calculateEdgeWidth() * 1000), 'insetCount': int(profile.calculateLineCount()), 'downSkinCount': int(profile.calculateSolidLayerCount()) if profile.getProfileSetting('solid_bottom') == 'True' else 0, 'upSkinCount': int(profile.calculateSolidLayerCount()) if profile.getProfileSetting('solid_top') == 'True' else 0, @@ -534,6 +535,10 @@ class Engine(object): settings['gcodeFlavor'] = 1 elif profile.getMachineSetting('gcode_flavor') == 'MakerBot': settings['gcodeFlavor'] = 2 + elif profile.getMachineSetting('gcode_flavor') == 'BFB': + settings['gcodeFlavor'] = 3 + elif profile.getMachineSetting('gcode_flavor') == 'Mach3': + settings['gcodeFlavor'] = 4 if profile.getProfileSetting('spiralize') == 'True': settings['spiralizeMode'] = 1 if profile.getProfileSetting('wipe_tower') == 'True' and extruderCount > 1: