AxiDraw® logo Bookmark and Share
Kirlian photograph of circlips

Excellon to G-code converter (09/07/10)

I use CadSoft Eagle ( to design PCBs and I really love it. After a long time of drilling PCBs by hand, I realised that Eagle can output an Excellon drill file which contains all the position and diameter information required. However, this needs to be converted into a G-code file suitable for running on the CNC router. Additionally, home-made PCBs are always a little bit squint/scaled because of non-linearities in the transparency, if it's made on a laser printer. If nothing else, it's impossible to mount it perfectly square on the router bed anyway. This little program does two things. First, it measures the amount of skew and scale distortion in the actual PCB board, based on measurements performed with a webcam and crosshairs. Then, it reads an Excellon file and spits out a G-code file which is corrected for all distortion. You can specify drill depth, speed, and retract height.

I've used it a couple of times and it works pretty well. It's only really worth it for large boards - small boards can be drilled manually quicker than setting up the CNC machine!

Download the installer ZIP file here (includes an example and instructions). VB6 sourcecode here.

26/11/13: See here for an example and video of drilling in action.

Web YouTube Google+ Flickr Twitter Facebook

Page last updated: 26/11/2013, 06:33:37 PM GMT
All content © Lindsay R. Wilson 2014 Contact
For trouble-free viewing, please ensure you are using the UTF-8 character encoding.