SkillAgentSearch skills...

Gerber2nc

Python script to generate g-code toolpaths from gerber files for milling out simple PCBs

Install / Use

/learn @Matthias-Wandel/Gerber2nc
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Gerber2nc

<h1>G-code from Gerber files for PCBs</h1> A Python script to make g-code tool paths from Gerber files for milling out simple PCBs <p> <img src="images/example_pcb.png"> <p> A relatively simple script to calculate CNC tool paths for milling out traces for a simple single sided PCB designed with KiCad (not tested with anything else). <br> It pops up a picture of the traces and toolpaths for review before generating the g-code. <p> <img src="images/example_milled_pcbs.jpg"> <p> No "configuration" -- the parameters are all in the code. The code IS the configuration file, just search for "parameters" in the code if you want to change them. <p> The nice thing about this is if you make changes to your PCB, you can just re-run this script to get updated g-code files.
View on GitHub
GitHub Stars45
CategoryDevelopment
Updated1d ago
Forks8

Languages

Python

Security Score

75/100

Audited on Apr 5, 2026

No findings