From 7597c065d28021e77288196dbbf9dde1768b982a Mon Sep 17 00:00:00 2001 From: daid Date: Tue, 28 Oct 2014 09:51:46 +0100 Subject: [PATCH] Preheat the bed before heating the nozzles. --- Cura/util/profile.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Cura/util/profile.py b/Cura/util/profile.py index 3454602b..a00616e1 100644 --- a/Cura/util/profile.py +++ b/Cura/util/profile.py @@ -1258,7 +1258,7 @@ def getAlterationFileContents(filename, extruderCount = 1): bedTemp = getProfileSettingFloat('print_bed_temperature') if bedTemp > 0 and not isTagIn('{print_bed_temperature}', alterationContents): - prefix += 'M140 S%f\n' % (bedTemp) + prefix += 'M190 S%f\n' % (bedTemp) if temp > 0 and not isTagIn('{print_temperature}', alterationContents): if extruderCount > 0: for n in xrange(1, extruderCount): @@ -1274,8 +1274,6 @@ def getAlterationFileContents(filename, extruderCount = 1): prefix += 'T0\n' else: prefix += 'M109 S%f\n' % (temp) - if bedTemp > 0 and not isTagIn('{print_bed_temperature}', alterationContents): - prefix += 'M190 S%f\n' % (bedTemp) elif filename == 'end.gcode': if extruderCount > 1: alterationContents = getAlterationFile("end%d.gcode" % (extruderCount)) -- 2.30.2