Drill file for CNC drilling

This question is mainly for developpers.
Is there a possibility to add .nc g-code export for drilling PCBs on CNC machines?
It would be easier straight from KiCAD than using some converters.
http://zastos.com/ConverterSetupC.exe
http://zastos.com/ConverterSetupD.exe
I wrote, long time ago, a converter for Protel (up ti 99SESp6), but KiCAD format looks much nicer for tweaking as it can be in decimal format.

Opened for any questions.

I have done CNC milling from Kicad on a couple of occasions using FlatCam but you might like to have a look at this project as a possible alternative - https://github.com/realthunder/fcad_pcb I have not tried it out yet but it looks like a capable option.

I am not sure that this functionality is ever likely to be considered as core to KiCad - it is occasionally useful to be able to turn a board around quickly by milling, but the limitations are significant. I speak as someone who bought a CNC to do this a few years back but rapidly realised that this is not really a cost effective or productive solution - you can get ten 10x10 cm boards with solder mask and HASL for £10/$15 from China and only a few $/£ more including a stencil. You would be lucky to be able to buy bare FR4 copper boards for that price. Milling is quite demanding in terms of setup, does not provide solder mask or HASL and the resolution and functionality is limited. Without solder mask, soldering fine pitched components is a challenge. I have broken several drills mid job and wasted the board. I am not saying that it is not possible for someone to do a two layer, 0.5mm pitch boards but the yield is low and the time expended is disproportionate.

Well, it looks that I will have to modify my code and produce a KiCAD2GCode converter :smiley:
Anyway, for prototypes I still rely on photosensitized boards and graphical film (usuallu I have a film in less than an hour from sending files to my friends with photoploter) and a bit of “chemistry”. Etched board produced in short time, when needed

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.