Since KiCAD has no options for its drill file output, I need to post-process the file. I can see that the decimal places need to be removed and leading zeros need to be added to the X…Y… lines. What about the other lines?
Can you offer assistance on how to convert this into a usable file?
Here’s how one of my eagle drill files starts (passed batchpcb). I wonder if the “.” is the issue. try filtering the periods out and tell batch pcb its a 2.3 file.
It turns out that KiCAD is using the floating point number format mentioned in this PDF, which, as the beginning of the document states, may or may not be compatible with older drilling machines. I guess the floating point number format may or may not be compatible with PCB manufacturers as well.
I re-uploaded, and ordered, the project and noticed that BatchPCB has “floating point” as one of the options for drill file format. I don’t recall seeing that option before.
The author of KiCAD says the next release (current release is 27-October-2005) will include an option panel for selecting floating point, 2.3, and 2.4 numeric format.
I run a Microsoft-Free zone here, so I cannot use VieMate, but thanks for the suggestion.
Philba:
I’m pretty sure there are free linux and mac gerber viewers around.
Actually, KiCAD comes with a nice gerberviewer with the imaginative name of ‘gerbview’ but it doesn’t show drill files, which share some formatting with gerber files, but are technically not gerber files at all.
After installing gerbview, a free Linux program that reads “drill files” ( http://gerbv.sourceforge.net/ ), I was able to figure out everything in these pesky Kicad files that is unacceptable.
- Decimal format, instead of 2.3 or 2.4 fixed-point format
- Extra stuff (TCST, ICI, ATC) in the header
- Y coordinates should all be negative
I have made a website that converts Kicad drill files to something that should work for BatchPCB. It’s at http://www.RayDarLLC.com/kicad/. You can run your KiCAD drill files through the website and it will send you back a modified file.
I have verified this website’s output with gerbview. But that is as far as I can go. If someone from SFE could try this website with their software, that might help avoid future headaches.