mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 19:12:38 -07:00
Use M109 for Makerbot bed control. #294
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user