From fd4d7fa76d4991c010f2f53967d985f995904b99 Mon Sep 17 00:00:00 2001 From: ahalekelly Date: Sun, 31 Mar 2024 00:00:36 -0700 Subject: [PATCH] Add track to via rule, separate from track to PTH rule --- JLCPCB/JLCPCB.kicad_dru | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/JLCPCB/JLCPCB.kicad_dru b/JLCPCB/JLCPCB.kicad_dru index c42eb3c..7e898bc 100644 --- a/JLCPCB/JLCPCB.kicad_dru +++ b/JLCPCB/JLCPCB.kicad_dru @@ -114,10 +114,15 @@ ) (rule "Clearance: track to PTH hole perimeter" - (condition "A.isPlated() && B.Type == 'track' && A.Net != B.Net") + (condition "A.isPlated() && A.Type != 'via' && B.Type == 'track' && A.Net != B.Net") (constraint hole_clearance (min 0.33mm)) ) +(rule "Clearance: track to Via hole perimeter" + (condition "A.Type == 'via' && B.Type == 'track' && A.Net != B.Net") + (constraint hole_clearance (min 0.254mm)) +) + # TODO: try combining with rule "Clearance: PTH to track, different nets" (rule "Clearance: track to pad" (condition "A.Type == 'pad' && B.Type == 'track' && A.Net != B.Net")