I recently submitted a number of files to BatchPCB and was notified by Eric that he was having problems with my drill files because leading and trailing zeros were omitted.
I am using Eagle 5.1.0 lite layout software with default settings. To generate the files I first made sure layers 29 & 30 where turned on, ran ‘silk_gen.ulp’ to correct the silk screen line widths, and the executed SFE-special.cam to generate the files requireed. Then I just zipped them and sent them.
My question is how do I enable leading/trailing zeros in Eagle 5.1.0?
I have attached one of my drill files if it helps:
It’s odd that that should be a problem, I just looked at a drd file generated with the Excellon device in Eagle 4.16r2’s CAM manager and it has no leading zeros (though it does have trailing ones). It’s a design I’ve submitted to BatchPCB recently without problems.
Could you look in the BIN directory of your Eagle installation for the EAGLE.DEF file? Inside it, near the end (in mine at least) there’s a [EXCELLON] section. If you could paste the contents of that section here we could see what’s different.
Actually, given that there’s no difference in the Excellion stuff there, I’m guessing that there’s no difference in the format of your submission and any other passing submission. I’d be interesting to hear from Eric or someone what exactly was fouling it up, so that we can all make an effort to avoid it.
And thinking about it, it can’t be a case of leading AND trailing zeros being omitted because there’s no decimal point in the data. It simply wouldn’t make sense for a CAM processor to generate data that way.
From what I can tell, the X/Y numbers are 1/10000’s of an inch. I have a single 2x5 0.1" pitch header in a design and in my .drd file, it’s clear that 5 of the holes are shifted by 1000 steps from the other 5.
It might be possible to edit the “Drill” line to provide leading zeros, but again I don’t think this is necessary as I’m not aware of anyone having to do this before.
Also, I doubt updating to v5.2 will make a difference here.