/Drill2Gerber

A command-line tool to convert drill files to Gerber

Primary LanguageC++GNU General Public License v3.0GPL-3.0

Drill2Gerber

Drill2Gerber is a command-line tool to convert drill files to Gerber.

It implements a small subset of the Excellon drill format, but has been tested successfully on drill files generated by FreePCB, PCAD, KiCad, Microchip, Mentor Graphics, Autodesk Circuits and Altium Designer.

Installation:

Download and run Drill2Gerber.exe. This will display the copyright and usage information.

Source:

The source is available from the git repository and GitHub.

Changes:

2022-01-23

  • Added support for G85 codes (used to route lines)
  • Added support for Repeat Hole commands
  • Added support for extracting tool sizes from the comments

2020-10-12

  • Now returns "3" when the format is not specified in the drill file header.

2019-02-17

  • Fixed tool definitions to support drill files that include feed-rate and other information.
  • Added support for the ;FILE_FORMAT=2:5 comment, which is non-standard, but used by Altium Designer.

2017-08-19

  • Implemented circular routing

2017-08-09

  • Bumped the version to 1.1
  • Added linear routing support

2016-12-15

  • Generalised the coordinate format
  • Added KiCad support
  • Moved the code to SourceForge git

2016-10-09

  • Added support for Drill files produced by Autodesk Circuits

2015-01-23

  • Removed pause upon successful conversion
  • Fixed bug for Mentor Graphics produced drill files.