Use M109 for Makerbot bed control. #294
This commit is contained in:
parent
e3a9adae4d
commit
1355833cbf
1 changed files with 2 additions and 1 deletions
|
@ -587,7 +587,8 @@ sub export_gcode {
|
|||
print $fh "\n";
|
||||
|
||||
# write start commands to file
|
||||
printf $fh "M190 %s%d ; set bed temperature\n",
|
||||
printf $fh "M%s %s%d ; set bed temperature\n",
|
||||
($Slic3r::gcode_flavor eq 'makerbot' ? '109' : '190'),
|
||||
($Slic3r::gcode_flavor eq 'mach3' ? 'P' : 'S'), $Slic3r::first_layer_bed_temperature
|
||||
if $Slic3r::first_layer_bed_temperature && $Slic3r::start_gcode !~ /M190/i;
|
||||
printf $fh "M104 %s%d ; set temperature\n",
|
||||
|
|
Loading…
Reference in a new issue