A collection of tools, useful for manufacturing PCBs at home.

All of the Gerber/Excellon files tested have been from KiCAD. The G-Code produced should be pretty portable, but it's mostly targeted for LinuxCNC and grbl.
Convert board edge Gerber file (Kicad, metric) into machining G-Code. Supports nested pockets. Does not support intersecting polygons or incomplete loops.
> ./edge_router.py -h
usage: edge_router.py [-h] [-i INPUT] [-o OUTPUT] [-r RETRACT] [-s START] [-e END] [-t TOOL]
[-x ENTRY ENTRY] [-f FEED]
Create Routing Job GCode from Board Edge Gerber
options:
-h, --help show this help message and exit
-i INPUT, --input INPUT
Input file path
-o OUTPUT, --output OUTPUT
Output file path
-r RETRACT, --retract RETRACT
Retract height
-s START, --start START
Cut start height
-e END, --end END Cut end height
-t TOOL, --tool TOOL Tool diameter
-x ENTRY ENTRY, --entry ENTRY ENTRY
Entry point
-f FEED, --feed FEED Feedrate in mm/min
Converts .drl
file into G-Code drilling and routing commands. Also, optimises the order of the drilling and includes tool swapping.
> ./drill.py -h
usage: drill.py [-h] [-i INPUT] [-o OUTPUT] [-r RETRACT] [-s START] [-e END] [-x ENTRY ENTRY]
[-f FEED]
Convert a drill file to GCode
options:
-h, --help show this help message and exit
-i INPUT, --input INPUT
Input file path
-o OUTPUT, --output OUTPUT
Output file path
-r RETRACT, --retract RETRACT
Retract height
-s START, --start START
Cut start height
-e END, --end END Cut end height
-x ENTRY ENTRY, --entry ENTRY ENTRY
Entry point
-f FEED, --feed FEED Feedrate in mm/min
- photonic-etcher - Convert Gerbers to SLA 3D printer compatible files for etching.
- cginc - G-Code Visualiser