About PCB milling
One of the most practical and popular ways of producing printed circuit boards (PCBs) at home is to machine them on a small CNC mill such as those sold by sherline.com, or a scratch-built equivalent. Essentially one just engraves the desired traces onto cheaply available copper-clad PCB blanks.
For more information, check out the Wikipedia article on PCB Milling.
pcb2gcode is a command-line program that calculates machine toolpaths from given PCB layouts. Despite it's name, it does NOT accept unix "pcb" files, but standard gerber RS274-X and Excellon files, and creates fully EMC2-compatible RS274-NGC files.
- supports machines with and without spring loaded end mills or depth stops
- full support for milling and drilling single- and double-sided boards
- automatic mirroring of bottom layers
pcb2gcode requires libgerbv, a part of the gerbv gerber file viewer. You will need to install a recent version of gerbv (e.g. v2.2.0 is known to work) from source, the Ubuntu gerbv package will not suffice.
IMPORTANT: currently pcb2gcode won't find the libgerbv shared object file if it's installed to /usr/local, which is the default. To install libgerbv properly, run
./configure --libdir=/usr/lib --includedir=/usr/include make sudo make install
in the gerbv source directory.