It's complaining because there is no format specified in the source drill file. The conversion is looking for a line that begins "INCH" or "METRIC" (ref Excellon manual).
If you cannot get Altium to put that in for you, you'll probably need to use some sort of automated patch utility to inject the format you want above the "%" line on line 17. Unfortunately I cannot simply assume a default.
Last edit: John-Philip Taylor 2020-10-12
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
no problem . thanks for reply
when i process such files with drill2gerber which missing inch in headers it put the tool in infinite loop and use a lot cpu and its stuck in loop , so i think it will be good if the tool check for header first that its ok then process it otherwise abort it.
thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It should return non-0 where there's an error, which is does not. I'll fix that and push the update shortly. That way your tool can rely on the return-code.
🎉
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
Hope you doing well :).
can u please test this altium drill file it giving me error
Error: Unrecognised drill coordinate formatthanks.
Last edit: zahid 2020-10-05
Sure thing - I'll have a look over the weekend...
I have not tested with Altium-files yet, so it is most likely easy to fix.
Quick question out of curiosity... Why not get Altium to export gerber directly instead of converting from drill to gerber?
thanks :)
well am working on tool which get drill files as input and convert them to gerber to process them ahead.
Last edit: zahid 2020-10-05
hi any update on the fix
thanks
My apologies for the delay...
It's complaining because there is no format specified in the source drill file. The conversion is looking for a line that begins "INCH" or "METRIC" (ref Excellon manual).
If you cannot get Altium to put that in for you, you'll probably need to use some sort of automated patch utility to inject the format you want above the "%" line on line 17. Unfortunately I cannot simply assume a default.
Last edit: John-Philip Taylor 2020-10-12
no problem . thanks for reply
when i process such files with drill2gerber which missing inch in headers it put the tool in infinite loop and use a lot cpu and its stuck in loop , so i think it will be good if the tool check for header first that its ok then process it otherwise abort it.
thanks
Ah - you've just highlighted a different bug...
It should return non-0 where there's an error, which is does not. I'll fix that and push the update shortly. That way your tool can rely on the return-code.