Add M103 after retraction and M101 before restart when Makerbot G-code flavor is selected. #1119
This commit is contained in:
parent
71608e799e
commit
974379c955
1 changed files with 3 additions and 0 deletions
|
@ -419,6 +419,8 @@ sub retract {
|
|||
# this makes sure we leave sufficient precision in the firmware
|
||||
$gcode .= $self->reset_e;
|
||||
|
||||
$gcode .= "M103 ; extruder off\n" if $self->config->gcode_flavor eq 'makerbot';
|
||||
|
||||
return $gcode;
|
||||
}
|
||||
|
||||
|
@ -426,6 +428,7 @@ sub unretract {
|
|||
my $self = shift;
|
||||
|
||||
my $gcode = "";
|
||||
$gcode .= "M101 ; extruder on\n" if $self->config->gcode_flavor eq 'makerbot';
|
||||
|
||||
if ($self->lifted) {
|
||||
$self->speed('travel');
|
||||
|
|
Loading…
Reference in a new issue