Skip to content
Snippets Groups Projects
Commit 4bc3e955 authored by Michael Adams's avatar Michael Adams
Browse files

Turn laser off when doing G0 rapids

parent bdb75e70
No related branches found
No related tags found
No related merge requests found
......@@ -362,7 +362,8 @@ public class GenericGcodeDriver extends LaserCutter {
x = isFlipXaxis() ? getBedWidth() - Util.px2mm(x, resolution) : Util.px2mm(x, resolution);
y = isFlipYaxis() ? getBedHeight() - Util.px2mm(y, resolution) : Util.px2mm(y, resolution);
currentSpeed = getTravel_speed();
sendLine("G0 X%f Y%f F%d", x, y, (int) (travel_speed));
currentPower = 0.0;
sendLine("G0 X%f Y%f S0 F%d", x, y, (int) (travel_speed));
}
protected void line(PrintStream out, double x, double y, double resolution) throws IOException {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment