1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-12 08:14:26 +00:00

Also use G1 when traveling with avoid_crossing_perimeters enabled

This commit is contained in:
Alessandro Ranellucci
2013-06-05 17:12:34 +02:00
parent 532ae53d0b
commit 8c40cefe1e
+2 -1
View File
@@ -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;
}