On 11/1/22 16:58, andy pugh wrote:
On Tue, 1 Nov 2022 at 21:23, John Dammeyer <jo...@autoartisans.com> wrote:

Anyway.  Does anyone know of a Protel 99SE drill file conversion program
to G-Code for CNC?

I found this: https://github.com/DJ027X/drl2ngc

But looking at the code I am not sure it copes with lines that have a Y
coordinate but no X coordinate.

Since drill files were often sent to the CNC drill on paper tape, terse coding was pretty important.  So, any axis that didn't change from one hole to the next was omitted, the decimal point was omitted, and trailing zeroes were suppressed.  This was the standard "Excellon drill format", which actually was a dialect of RS-274D.   I have sent John D. my Pascal program that does the conversion.  It also compensates for the extra depth that needs to be drilled for the flank of the drill to make it through the bottom of the board, based on drill diameter.  And, it also calculates the best feedrate depending on drill diameter.

Jon



_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to