mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-03 17:25:01 +08:00
Also use G1 when traveling with avoid_crossing_perimeters enabled
This commit is contained in:
parent
532ae53d0b
commit
8c40cefe1e
@ -339,7 +339,8 @@ sub _plan {
|
||||
|
||||
# append the actual path and return
|
||||
$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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user