Also use G1 when traveling with avoid_crossing_perimeters enabled
This commit is contained in:
parent
532ae53d0b
commit
8c40cefe1e
1 changed files with 2 additions and 1 deletions
|
@ -339,7 +339,8 @@ sub _plan {
|
||||||
|
|
||||||
# append the actual path and return
|
# append the actual path and return
|
||||||
$self->speed('travel');
|
$self->speed('travel');
|
||||||
$gcode .= join '', map $self->G0($_->[B], undef, 0, $comment || ""), @travel;
|
# use G1 because we rely on paths being straight (G0 may make round paths)
|
||||||
|
$gcode .= join '', map $self->G1($_->[B], undef, 0, $comment || ""), @travel;
|
||||||
return $gcode;
|
return $gcode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue