PCB Milling And Drilling With Cheap And Simple Height-ProbingPlease read about here: http://phk.freebsd.dk/CncPcb/
A solution using a Python code running on Linux, Mac OS and Windows can be found [[here]]. The solution was tested using Gerber files generated by KiCad? and Eagle.
We will be updating this page documenting.
Workflow
* export the Gerber files from KiCad? (select Plot Origin as Auxiliar Axis)
* use pcb2gcode to convert Gerber files to Gcode, by executing on command line: pcb2gcode --verbose --zup=0.4 --zchange=1 --offset=0,010 --zdown=0,01 --max-deviation=0 --dpi=1000 --toolpath-smoothing-passes=0 example-Component.pho
* execute etch_z_adjust.py: python etch_z_adjust.py
* open the Gcode files with EMC2, run it and it will automatically probe and mill the PCB