If you’re talking FreePCB then the format is 2.4 normal. It would help if you tell us how big your board is or if you can find those X,Y coordinates on you board. Heck, if you can find something that seems like (017650, 004686) (your first T14 hole coordinate), then you’d see where the decimal point is, and then you’d know the whole values and fixed-point fractional values…etc.
The .cnc files are NC drill format files. There is also a gerber file generated called _fab.gbr that is called the “fabrication drawing” or “drill drawing”. Are these what batchPCB needs?
BTW - is there a minimum silk line width? I didn’t see one mentioned on the FAQ.
I have used pcb (sometimes also called xpcb) with batchpcb a few times, with no problems. The two drill files it produces contain the plated-through holes and the non-plated-through holes from your design. Since batchpcb doesn’t do non-plated holes, you need to make sure that all the holes in your design are plated-through. In that case the unplated drill file will not have any holes in it, though it’ll still have the header and stuff so it won’t be 0 bytes.
You don’t want to send the “fabrication” gerber to batchpcb; it’s a sort of overview file that would be handy if you were hand-drilling the holes or something, but it’s not needed or used by batchpcb. Batchpcb just wants the copper layers (front and back), soldermask (front and back), and silkscreen (front and back), plus a single drill file.
I don’t know what the LNGROUP1 error is about. I haven’t used pcb in eight months or so and there’s been a fair amount of development on it. If you look at [this explanation of the Gerber / RS-274X format (PDF file), you can see that the LNGROUP1 directive is setting the layer name to “GROUP1”. Maybe batchpcb’s verifier can’t handle the layer name directive? I also have no idea what the “cannot slide non-circular AP (aperture?)” error is about. I suggest checking yor gerbers with [Gerbv. If it looks right in gerbv, then maybe it’s a bug in sparkfun’s home-grown gerber interpreter.](http://gerbv.sourceforge.net/)](http://members.optusnet.com.au/~eseychell/rs274xrevd_e.pdf)
Ignore the LNGROUP line - thats just a note saying its ignoring it.
The problem is noted by: “Cannot slide non-circle AP”
It is indeed a bug in the home-grown interpreter. The issue is that the gerber file instructs the photoplotter to slide a non-circular aperature across the board - and I haven’t yet had time to add support for that [most pcb programs don’t use this feature - and its not easy to handle all cases right.
The gerber interpreter has support for all the necessary later stages [aka, drc’ing the generated polygon] but it just doesn’t have the code to handle generating the polygon from the slide of the aperature.
I’m hoping to get around to fixing this today, but I’m not sure if I will [quite busy here].
Unfortunatly, there is no easy fix re: editing the gerber files :/.
Just wanted to follow up - the bug in the drc bot has been fixed. I’m not sure if the solution will work for all cases - but it seems to work for all the boards tested so far.
FYI PCB does that to make square SMD pads. If you run into any other weird output from pcb, drop a note on the geda-user mailing list, where I and the other pcb developers hang out.