From: daid Date: Tue, 28 Oct 2014 08:51:46 +0000 (+0100) Subject: Preheat the bed before heating the nozzles. X-Git-Tag: 14.10-RC5~12 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=7597c065d28021e77288196dbbf9dde1768b982a;p=cura.git Preheat the bed before heating the nozzles. --- 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))