From: daid303 Date: Wed, 1 May 2013 12:21:09 +0000 (+0200) Subject: Fix the bottom thickness with the quickprint settings. X-Git-Tag: 13.05~38 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=941d04a1d6601859f77d423074f657aed6b6902c;p=cura.git Fix the bottom thickness with the quickprint settings. --- diff --git a/Cura/gui/simpleMode.py b/Cura/gui/simpleMode.py index dc732174..673b9b7e 100644 --- a/Cura/gui/simpleMode.py +++ b/Cura/gui/simpleMode.py @@ -109,7 +109,7 @@ class simpleModePanel(wx.Panel): put('raft_margin', '5') put('raft_base_material_amount', '100') put('raft_interface_material_amount', '100') - put('bottom_thickness', '0.0') + put('bottom_thickness', '0.3') if self.printSupport.GetValue(): put('support', 'Exterior Only') @@ -131,7 +131,6 @@ class simpleModePanel(wx.Panel): put('layer_height', '0.06') put('fill_density', '20') put('bottom_layer_speed', '15') - put('bottom_thickness', '0.25') elif self.printTypeJoris.GetValue(): put('wall_thickness', nozzle_size * 1.5) put('layer_height', '0.3') diff --git a/Cura/util/sliceEngine.py b/Cura/util/sliceEngine.py index d6bdec7b..d996b921 100644 --- a/Cura/util/sliceEngine.py +++ b/Cura/util/sliceEngine.py @@ -188,7 +188,7 @@ class Slicer(object): def _engineSettings(self): return { 'layerThickness': int(profile.getProfileSettingFloat('layer_height') * 1000), - 'initialLayerThickness': int(profile.getProfileSettingFloat('bottom_thickness') * 1000), + 'initialLayerThickness': int(profile.getProfileSettingFloat('bottom_thickness') * 1000) if profile.getProfileSettingFloat('bottom_thickness') > 0.0 else int(profile.getProfileSettingFloat('layer_height') * 1000), 'filamentDiameter': int(profile.getProfileSettingFloat('filament_diameter') * 1000), 'extrusionWidth': int(profile.calculateEdgeWidth() * 1000), 'insetCount': int(profile.calculateLineCount()),