From 94fb0d9f68513fe8a6561e2414400ef9fa44773f 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 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)) -- 2.30.2