Menu

altium drill sample

zahid
2020-10-05
2020-10-12
  • zahid

    zahid - 2020-10-05

    Hi
    Hope you doing well :).
    can u please test this altium drill file it giving me error
    Error: Unrecognised drill coordinate format

    thanks.

     

    Last edit: zahid 2020-10-05
  • John-Philip Taylor

    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?

     
  • zahid

    zahid - 2020-10-05

    thanks :)

    Quick question out of curiosity... Why not get Altium to export gerber directly instead of converting from drill to gerber?

    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
  • zahid

    zahid - 2020-10-12

    hi any update on the fix

    thanks

     
  • John-Philip Taylor

    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
  • zahid

    zahid - 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

     
  • John-Philip Taylor

    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.

     
    🎉
    1

Log in to post a comment.

MongoDB Logo MongoDB