Awesome
gerber_to_order
A KiCad plugin to create zip compressed gerber files to order for Elecrow, FusionPCB, PCBWay or JLCPCB.
Usage
Setup
Install as an addon for KiCad.
- Tools -> Pulugin and Content Manager
- Search gerber_to_order on plugins tab and click install button
Run
Then start PCB editor of KiCad and select Tools -> External plugins -> Gerber to Order.
Supported manufacturers
Name | Information url |
---|---|
Elecrow | Elecrow PCB Manufacturing |
PCBWay | Generate Gerber from KiCad 5.1.6 |
FusionPCB | Service for Fusion PCB |
JLCPCB | How to generate Gerber and Drill files in KiCAD 8?</br>Suggested Naming Patterns |
Development
Clone this repository to someware.
mkdir ~/gitprojects
cd ~/gitprojects
git clone https://github.com/asukiaaa/gerber_to_order.git
Put plugin directory of this project to a directory for plugin. Symbolik link is OK.
For Windows. (It's for KiCad5. TODO: Check and update for KiCad6 and 7.)
mkdir -p ~/AppData/Roaming/kicad/scripting/plugins
cd ~/AppData/Roaming/kicad/scripting/plugins
ln -s ~/gitprojects/gerber_to_order/plugins ./gerber_to_order
For Mac. (It's for KiCad5. TODO: Check and update for KiCad6 and 7.)
mkdir -p ~/Library/Preferences/kicad/scripting/plugins
cd ~/Library/Preferences/kicad/scripting/plugins
ln -s ~/gitprojects/gerber_to_order/plugins ./gerber_to_order
For Linux. (Maybe version name of 6.0 will change by the version of KiCad which you use.)
mkdir -p ~/.local/share/kicad/6.0/scripting/plugins
cd ~/.local/share/kicad/6.0/scripting/plugins
ln -s ~/gitprojects/gerber_to_order/plugins ./gerber_to_order
Release
Create a zip file.
zip kicad-addon metadata.json resources plugins
Then upload kicad-addon.zip for releasing.
License
MIT
References
- Python Plugin Development for Pcbnew
- KiCad Pcbnew Python Scripting: pcbnew Namespace Reference
- KiCad アクションスクリプト GerberZip
- kicad-action-plugins/action_menu_gerber_zip.py
- PCB製造サービス向けのガーバーデータとzipを作るKiCadのプラグインを作ってみた
- KiCadの基板の大きさをpythonで測る
- KiCad 5.1 python_scripts_examples
- KiCad PCB EDA Suite Documentation