Different Fab house design rules implemented as KiCad Custom Design Rules in a .kicad_dru file
Find a file
2026-05-11 17:02:24 +10:00
.github/ISSUE_TEMPLATE #24 Add bug report and capability change issue templates 2026-05-11 17:02:24 +10:00
JLCPCB #17 Add no blind/micro vias to JLCPCB rules 2025-04-13 14:39:42 +10:00
PCBWay #6 Update title blocks 2024-08-12 19:52:08 +10:00
.gitignore Cleanup .gitignore 2024-08-12 18:42:26 +10:00
CONTRIBUTING.md #23 Add CONTRIBUTING.md 2026-05-11 17:01:12 +10:00
LICENSE #22 Add MIT LICENSE 2026-05-11 16:59:10 +10:00
README.md #21 Rewrite README for KiCad 8 and multi-fab support 2026-05-11 16:57:47 +10:00

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

  1. Copy the relevant .kicad_dru from JLCPCB/ or PCBWay/ into your KiCad project folder.
  2. Rename it to match your project: your-project.kicad_dru.
  3. KiCad picks it up automatically. View under File > Board Setup > Design Rules > Custom Rules.
  4. 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.

License

MIT