mirror of
https://github.com/Cimos/KiCad-CustomDesignRules.git
synced 2026-06-06 17:51:01 +02:00
Different Fab house design rules implemented as KiCad Custom Design Rules in a .kicad_dru file
assembly
custom
design-rules
dru
fabrication
jlcpcb
jlcpcb-assembly-service
kicad
kicad-library
kicad-pcb
kicad-project
kicad7
kicad8
pcb
pcb-design
pcb-dru
pcb-fabrication
pcb-rules
pcba
pcbway
| .github/ISSUE_TEMPLATE | ||
| JLCPCB | ||
| PCBWay | ||
| .gitignore | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| README.md | ||
KiCad Custom Design Rules
Custom design rules for KiCad 8 that match the manufacturing capabilities of common PCB fab houses. Rules are stored in .kicad_dru files and validated against a paired test board (.kicad_pcb) so each rule has at least one footprint that passes or fails as expected.
Maintained fork of labtroll/KiCad-DesignRules, which has been inactive since November 2024.
Supported fabs
| Fab | Folder | Source of capabilities |
|---|---|---|
| JLCPCB | JLCPCB/ |
https://jlcpcb.com/capabilities/pcb-capabilities |
| PCBWay | PCBWay/ |
https://www.pcbway.com/capabilities.html |
Each folder contains:
<FAB>.kicad_dru— the rule file you copy into your project<FAB>.kicad_pcb,.kicad_sch,.kicad_pro— a small test board exercising the rules
Use in your project
- Copy the relevant
.kicad_drufromJLCPCB/orPCBWay/into your KiCad project folder. - Rename it to match your project:
your-project.kicad_dru. - KiCad picks it up automatically. View under
File > Board Setup > Design Rules > Custom Rules. - Run
Inspect > Design Rules Checker(or press F8) to apply.
Many rules have alternates commented out for different layer counts or copper weights. Read the comments at the top of each rule and uncomment the variant that matches what you're ordering.
KiCad documentation
Contributing
Bug reports, capability updates, and PRs are welcome. See CONTRIBUTING.md for the conventions used in this repo.