From: daid Date: Tue, 28 Oct 2014 08:51:46 +0000 (+0100) Subject: Preheat the bed before heating the nozzles. X-Git-Tag: lulzbot-14.12~53 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=94fb0d9f68513fe8a6561e2414400ef9fa44773f;p=cura.git Preheat the bed before heating the nozzles. --- diff --git a/Cura/util/profile.py b/Cura/util/profile.py index 75f80903..28970aea 100644 --- a/Cura/util/profile.py +++ b/Cura/util/profile.py @@ -1260,7 +1260,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): @@ -1276,8 +1276,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))