(version 1)
# INDiPCB offer design rules for KiCad 6 and later.
# https://indipcb.com/cheap-pcb-manufacturing
#
# The offer price is for the simplest boards: 1 or 2 copper layers, a rectangular board within the
# offer size, and the wider tracks and holes below. A board that passes these rules can be priced
# at the offer. A board that only passes indipcb-prototype.kicad_dru is still built on our own line, at the standard price.
#
# How to use: save this file in your project folder with the same name as the project,
# e.g. my-board.kicad_dru next to my-board.kicad_pro, then reopen the board and run
# Inspect > Design Rules Checker. Or open Board Setup > Design Rules > Custom Rules and
# paste in the rules below. Board size and layer count are not checked here: keep to them by hand.
# Limits as of 2026-11-24.

(rule "INDiPCB offer: minimum track width 0.254 mm (10 mil)"
	(constraint track_width (min 0.254mm)))

(rule "INDiPCB offer: minimum copper clearance 0.254 mm (10 mil)"
	(constraint clearance (min 0.254mm)))

(rule "INDiPCB offer: minimum drill 0.5 mm"
	(constraint hole_size (min 0.5mm)))

(rule "INDiPCB offer: minimum via diameter 0.9 mm"
	(constraint via_diameter (min 0.9mm)))

(rule "INDiPCB offer: minimum annular ring 0.2 mm"
	(constraint annular_width (min 0.2mm)))

(rule "INDiPCB offer: copper to board edge 0.3 mm"
	(constraint edge_clearance (min 0.3mm)))
