CNC Software

pcb2gcode – generate CNC G-code from Gerber files

pcb2gcode is a command-line CAM application for manufacturing printed circuit boards with a CNC mill. It reads Gerber and drill data and produces the G-code needed to isolate copper tracks, drill holes and route the finished board.

The program is designed around repeatable, scriptable PCB production rather than interactive CAD editing. That makes it well suited to workflows where board designs are exported from electronic design automation software and then converted automatically into machine-ready files.

This is free and open source software.

Key Features

  • Converts Gerber layers into G-code for PCB isolation milling.
  • Produces drilling toolpaths from PCB drill data.
  • Board-outline routing can generate the final cut needed to separate the PCB from its stock.
  • Autolevelling compensates for small variations in board height that can otherwise affect isolation depth.
  • Supports front and back board layers for double-sided PCB workflows.
  • Provides controls for cutter dimensions, isolation width and machining depth.
  • Feed rates, plunge rates and spindle-related machining parameters can be configured from the command line or project settings.
  • Supports multiple isolation passes when a wider clearance around tracks is required.
  • Configuration files make complex machining settings repeatable across jobs.
  • Command-line operation allows pcb2gcode to be integrated into scripts and automated manufacturing workflows.
  • An associated graphical frontend is available separately for users who prefer a GUI.
  • Native MCP support can expose pcb2gcode operations to compatible external automation clients without changing its conventional command-line workflow.

Website: github.com/pcb2gcode/pcb2gcode
Support:
Developer: pcb2gcode contributors
License: GNU General Public License v3.0

pcb2gcode is written in C++. Learn C++ with our recommended free books and free tutorials.


Related Software

CNC Software
Universal Gcode Sendergcode platform used for interfacing with advanced CNC controllers
LinuxCNCDrive milling machines, lathes, 3d printers, laser cutters, ...
CNCjsWeb-based interface for CNC milling controller
gSenderConnect to and control Grbl-based CNCs
OpenCamLibLibrary providing computer aided manufacturing (CAM) algorithms
bCNCCross-platform Python application for CNC machines
Kiri:MotoBrowser-based Slicer for 3D printers, CNC mills, and Laser cutters
OpenBuilds CONTROLConnect and control your CNC, Laser, Plasma or Dragknife machine
Luban3-in-1 software tailor-made for Snapmaker machines
InkcutControl 2D plotters, cutters, engravers and CNC machines
RayforgeLaser cutters and engravers tool
MeerK40tLaser cutting software
CAMotics3-axis CNC GCode simulator
MachinekitPlatform for machine control applications

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted