On 04/25/2016 11:56 AM, Nicklas Karlsson wrote: > I am looking at using linuxcnc to drill my circuit boards. There is a few > commands in file, a tool table and coordinates. It is not possible run the > file directly in linuxcnc. I think this kind of file could be of general use > then a pattern of holes need to be drilled. Do anyone have any suggestions on > how to attack it? Although Excellon drill files are technically a dialect of RS-274D (alias G-code) they are pretty far from modern dialects. I wrote a program to convert it to standard G-code. See : http://pico-systems.com/codes/cvtexc2.c and http://pico-systems.com/codes/cvtexcm.c
The first one assumes input AND output are in inch units, the 2nd one takes mm in and converts to inches. It has been a LONG time since I used these, so definitely use at YOUR PERIL! Probably the first program will work fine reading in mm and outputting mm if you just adjust where the assumed decimal point is. The code should be pretty transparent if you know c. Jon ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users