Open Harvie opened 5 years ago
I find this interesting, I will read it. I don't know about the existence of Gerber X2. Reading grbl directly can be an option? The piercing plugin is not bad either. Modifying so that with a single bit it generates the different diameters would be efficient.
I would like to add support for opening gerber files, because flatcam does not really work with KiCad gerbers for me and i have to fix the g-code in bCNC anyway.
Opening excellon files might be option as well. Right now it's implemented as part of driller plugin #809, which is not really nice approach. I think we should be able to open it through open dialog and convert it to g-code like we do for all other file formats.
On the other hand excellon file format is deprecated as new version of gerber format called "gerber X2" also does drilling.
As a proof of concept I've managed to (kinda) convert gerber to g-code using this simple sed command. But it still misses some of the geometry:
There is interresting document on gerbers: