Guide · 5 min read

How a desktop CNC router works, from drawing to cut

Six steps sit between an idea on screen and a groove in a board. Here's what each one does.

A CNC router is a cutting tool that a computer moves. The "CNC" stands for computer numerical control. On a desktop machine, the part that cuts is a spinning bit held in a router or spindle, and three motors move it left and right (X), front to back (Y), and up and down (Z).

The machine itself doesn't know what you want to make. It follows a list of moves. Most of the work for a beginner is in producing that list, and it happens in six steps.

DesignCAD: draw the partToolpathsCAM: choose bits, cutsG-codea text file of movesSenderstreams the fileControllerturns moves into stepsMachinemotors and spindle
The six steps. The top row happens on a computer; the bottom row is the machine. Original drawing.

1. Design (CAD)

You draw the part in a CAD program: the outline of a sign, the shape of a coaster, the pockets in a tray. Some makers ship their own. Carbide 3D includes Carbide Create with its machines, and Onefinity lists compatibility with Vectric, Carveco, Fusion 360, Easel and Carbide Create.

2. Toolpaths (CAM)

CAM software turns the drawing into the actual path the bit will follow. This is where you pick which bit to use, how deep each pass goes, and in what order the cuts happen.

3. G-code

The CAM program writes the result out as G-code, a plain text file of instructions. Wikipedia describes G-code as the language "that tells the motors where to move, how fast to move, and what path to follow". A line might say "move to X 100, Y 50 at this speed".

4. The sender

A program on your computer, called a sender, streams the G-code to the machine a few lines at a time and shows you where the job is up to. Sienci Labs names gSender as the sender most of its customers use; SainSmart lists UGS and Candle for its Genmitsu machines; Carbide 3D uses Carbide Motion.

5. The controller

The controller is the box of electronics on the machine. It reads each G-code move and works out the exact pulses each motor needs. Many hobby machines run firmware called GRBL or its newer relative grblHAL. GRBL's own description says it "accepts standards-compliant g-code" and plans speeds ahead so it can "look up to 16 motions into the future". There's more on this in GRBL, grblHAL and the controller box.

6. The machine

Finally the motors turn, the screws or belts move the axes, and the bit cuts. The parts of a typical desktop router look like this:

Gantry (X axis)Spindle on the Z axisSpoilboard (work surface)Y railFrame
The main parts of a gantry-style desktop CNC router. Drawing, simplified. Original drawing.

The gantry is the bridge that spans the work surface and carries the X axis. The Z axis hangs off the gantry and holds the router or spindle. The spoilboard is the board on top of the frame that the work sits on. Wikipedia sums up the arrangement: "A CNC wood router is a computer controlled machine to which the router or spindle mounts."

Where CNC came from

Computer control of machine tools is older than most people expect. Wikipedia's article on numerical control says "the first NC machines were built in the 1940s and 1950s", as existing machines fitted with motors that followed points read from punched tape, and that these were "rapidly augmented with analog and digital computers, creating the modern CNC machine tools". The desktop routers in this site's record are the same idea at hobby scale.

What a CNC router cuts

Wikipedia describes a CNC router as "a computer-controlled cutting machine" used for "cutting various materials, such as wood, composites, metals, plastics, glass, and foams", and notes they come in configurations "from small home-style D.I.Y. 'desktop', to large industrial routers". What any one machine can cut is a different question; the makers' pages are the place to check which materials they claim.

The same article makes a point beginners often miss: "typical CNC operated systems can only make carvings on flat planes". A three-axis router moves the bit in X, Y and Z, so it can carve depth into a flat board, but it can't reach under an overhang or cut all the way around a round part without extra hardware. Some makers sell a rotary axis for this; Onefinity's compare page, for example, lists "Rotary support" for the Gen 2 Elite.

The bit

CNC routers mostly cut with end mills rather than drill bits. Wikipedia's explanation of the difference: "While a drill bit can only cut in the axial direction, most milling bits can cut in the radial direction." In other words, an end mill can move sideways through material while it spins, which is what lets a router cut a shape. Rounded "ball end cutters", in the article's words, "mill radiused slots or fillets".

The bit is held in the router or spindle by a collet, which Wikipedia describes as "a segmented sleeve, band or collar". Its taper turns the tightening force into grip: it "serves to translate a portion of the axial drawing force into a radial clamping force". There's more on this in router or spindle.

What G-code looks like to the controller

GRBL's own documentation explains how it reads a file. Commands set "modes" that stay in effect until changed, "so you don't have to constantly tell the parser how to parse it", and the modes come in "modal groups" such as the units group, which "sets whether your G-code program is interpreted in inches or in millimeters". A few of the groups GRBL lists:

You rarely type any of this. The CAM program writes it, and the sender streams it.

The sender, in practice

Two free senders come up often. Sienci Labs' gSender describes itself as "totally free" and says it "accepts standard, grbl-compliant g-code from all the common CAM programs" and is "designed to be generic so any standard grbl or grblHAL CNC will work". Universal G-Code Sender describes itself as "a Java based, cross platform G-Code sender, compatible with GRBL, TinyG, g2core and Smoothieware". Machines with their own controllers usually come with their own software instead; Carbide 3D's run Carbide Motion.

Where to go next

When you read a spec sheet, almost every line maps onto one of these parts. Work area, travel and footprint covers the sizes, leadscrew vs ballscrew covers how the axes move, and router or spindle covers the part that cuts.

Sources

Read on 1 November 2026. Quotes are copied from these pages.