pcb2gcode
« Back to VersTracker
Description:
Command-line tool for isolation, routing and drilling of PCBs
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: pcb cnc g-code electronics fabrication
Install: brew install pcb2gcode
About:
Pcb2gcode is a command-line tool that converts Gerber and drill files into G-code for CNC machining. It enables the isolation of traces, the routing of outlines, and the drilling of holes, making it essential for producing custom printed circuit boards. This tool bridges the gap between PCB design software and fabrication hardware.
Key Features:
  • Isolation routing for creating copper traces
  • Outline cutting and hole drilling
  • Support for multiple tool diameters
  • Command-line interface for automation
Use Cases:
  • Milling single-sided or double-sided PCB prototypes
  • Creating custom circuit boards at home using a CNC machine
  • Generating G-code for PCB fabrication from standard design files
Alternatives:
  • FlatCAM – FlatCAM offers a graphical user interface (GUI), whereas pcb2gcode is strictly command-line driven.
  • Candle (GRBL) – Candle is a sender/controller for G-code, while pcb2gcode generates the G-code itself.
Version History
Detected Version Rev Change Commit
Dec 16, 2024 6:40am 8 VERSION_BUMP 9f259284
Nov 25, 2024 8:59am 7 VERSION_BUMP f6197059