Drilling uses G0?

Hi there. I’m new to Kiri:Moto and just getting up and running with an Openbuilds Lead 1010. I created a CAD drawing in order to drill pilot holes to mount T-track, then used Kiri:Moto to create a CAM job using the drilling operation. Next I ran it without a bit, and I noticed the plunge rate was very high. I now see that in the gcode Kiri:Moto produced it’s using G0 for the plunge moves. In fact, I see lines like G0 X1 F300. This confuses me because G0 is a rapid move, and the feed rate portion is ignored. But the bigger issue is that the gcode would result in plunging the drill bit at maximum feed rate.

Why is Kiri:Moto producing G0 commands for the drilling operation? I must be doing something wrong? Here’s the gcode it’s producing for a simple one hole drill operation

G21
G54
G21
G90
M3 S1000
G0 X50 Y50 F6000
G0 Z1.0 F300
G0 Z-0.0100
G0 Z-10
G0 Z1.0
G0 Z10
M5 S0
M30

1 Like

More info:
If I add a roughing cut around the “part” ( just a random rectangle for testing), then the drilling operation uses G1, even if the rough operation doesn’t result in any cuts. I had the rough operation set to do nothing, but somehow having it there triggered Kiri:Moto to produce G1 commands for the drilling instead of G0. Maybe I’m doing something wrong? This is my first rodeo :wink:

G21
G54
G21
G90
M3 S1000
G0 X50.8001 Y50.8000 F6000
G0 Z1.0 F300
G1 Z-0.0100 F50
G1 Z-2.0100
G4 P0.25
G1 Z2.9900 F300
G1 Z-4.0100 F50
G4 P0.25
G1 Z0.9900 F300
G1 Z-6.0100 F50
G4 P0.25
G1 Z-1.0100 F300
G1 Z-8.0100 F50
G4 P0.25
G1 Z-3.0100 F300
G1 Z-9.9750 F50
G4 P0.25
G1 Z-4.9750 F300
G1 Z-11.9400 F50
G1 Z1.0 F300
G0 Z10
M5 S0
M30

When @stewart is back, a .kmz of the problem case is likely to be easy to debug. Also, have you tried choosing older versions to see if it’s a recently-introduced bug?

will try to repro without a workspace. but that would be helpful

@cyclebot fixed in git. will push fix to production in the next 24 hours.

1 Like

Awesome! I was out of town camping and didn’t see these responses in time. Next time I’ll try to post a workspace to assist with the debugging.
-Jesse