Cutting Board G-Code Generator / CNC Keyhole Slots

READY Amana 45650 · 3/8" Keyhole Units: IN
←Configure the parameters, then click Generate

Board Preview — 3D

Drag to rotate Wood surface Carved groove Undercut pocket
Rapid G0
Cut G1
Spindle/Dwell
M-code
Setup
Comment

About this cutting board G-code generator

This tool generates G-code for milling a decorative grid of undercut (keyhole or T-slot style) grooves into the face of a cutting board on a CNC router or mill. Enter your board size, bit geometry, feed rates, and slot layout, and the generator builds the toolpath and shows a 3D preview of the result. The defaults match the Amana 45650 keyhole bit.

How to generate G-code for a cutting board

  1. Choose inches or millimeters with the unit toggle.
  2. Enter the board width (X), height (Y), and thickness (Z).
  3. Enter your bit's neck diameter, head diameter, total cutting height, and neck height.
  4. Set the feed rate, plunge rate, spindle speed, and safe retract height.
  5. Set the edge inset, the spacing between slots, and the number of slots per edge group.
  6. Click Generate G-Code, check the 3D preview, then copy the code into your CNC control or sender software.

How the toolpath works

For each slot offset, the generator cuts four full-length passes: one along the bottom edge, one along the top, one along the left, and one along the right. Each pass plunges to full depth in a single move and then cuts edge to edge. Where the horizontal and vertical slots cross, they form a decorative grid. Any slot that would cross the center of the board is skipped, and the layout panel tells you when that happens.

Frequently asked questions

What G-code does the generator output?

The program uses absolute positioning (G90), the XY plane (G17), and either inches (G20) or millimeters (G21). It starts the spindle with M3, uses G0 for rapid moves and G1 for cuts, and ends with M5 and M30. Z=0 is the top surface of the board.

Can I use a bit other than the Amana 45650?

Yes. Enter the neck diameter, head diameter, cutting height, and neck height of any keyhole or T-slot bit in the tool geometry section.

Is it safe to run the G-code as soon as it is generated?

No. Always check the program in a simulator first, confirm your work zero, and do an air cut before you mill. Confirm that the feeds and speeds are right for your wood species, bit, and machine.

Looking for CNC machined or 3D printed parts for your shop? Browse our products or contact us.