Convert Gerber files into SVG format, enabling users to download them as PNG images. This React + Vite application offers intuitive layer toggling, top and bottom side viewing, and support for double-sided PCB milling.
git clone https://github.com/MidlajN/react-gerber-converter.git
cd react-gerber-converter
npm install
npm run dev
Access the application at http://localhost:5173
.
npm run build
This generates a production-ready build.
npm run preview
Serves the production build locally at http://localhost:4173
.
Hosted version available at gerber2png.fablabkerala.in.
- Gerber to SVG Conversion: Convert Gerber files into SVG format.
- Download as PNG: Export SVG images as PNG files.
- Layer Toggle: Toggle visibility of individual layers.
- Top and Bottom Side View: Switch between top and bottom sides of the PCB.
- Support for Double-Sided PCB Milling: Handles PNG images for double-sided PCB milling.
PCBStackup
: Library for handling PCB stack-up data.gerberToSvg
: NPM package for converting Gerber files to SVG.jszip
: JavaScript library for creating, reading, and editing ZIP files.
Contributions are welcome! Fork the repository and submit pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.
If there any known bugs found or run into any issues please let me know. Please enjoy and feel free to share your opinion, constructive criticism, or comments. Email: 👉 [email protected] Thank you!