Custom design rules and a slotted PCB

Is it possible for the custom design rules to take into consideration a slot in the PCB added to increase the creepage path

Consider the rule in the example

(rule HV_HV

wider clearance between HV tracks

(constraint clearance (min “1.5mm + 2.0mm”))
(condition “A.NetClass == ‘HV’ && B.NetClass == ‘HV’”))

This would impose 3.5mm between nets that are part of the HV class. If this distance cannot physically be met on the PCB it is standard to add a slot to increase the creepage path but is there any aspect of the design rules that would take edge.cut into consideration?

Technically the rule is correct as it is CLEARANCE not CREEPAGE but these rules are very useful for constraining the design. I was tempted with added a rule exception block over the slot but I am unsure if this would work

Check out this thread from a few weeks ago. Custom DRC rules with slots

TLDR; Custom DRC rules for creepage are not supported yet, give a thumbs up to this issue to show support: Add DRC checks for creepage (#5159) · Issues · KiCad / KiCad Source Code / kicad · GitLab

1 Like