Using custom DRC rules for high-voltage spacing, and it is working well. Wild cards in DRC rules are amazing. Example:
# 6mm spacing groups
(rule "A side to B side"
(constraint clearance (min 6mm))
(condition "A.NetClass == 'A*' && B.NetClass == 'B*'"))
(rule "A side to output"
(constraint clearance (min 6mm))
(condition "A.NetClass == 'A*' && B.NetClass == 'O*'"))
(rule "B side to output"
(constraint clearance (min 6mm))
(condition "A.NetClass == 'A*' && B.NetClass == 'O*'"))
# 4mm spacing groups, hot to earth
(rule "A side to Earth"
(constraint clearance (min 4mm))
(condition "A.NetClass == 'A*' && B.NetClass == 'Default'"))
...
However, in some cases, we need to use slots to isolate some pins:
In the above example, the copper on the pads is spaced about 4mm, and we need 6mm, so adding a slot. Is there any way for the DRC rules to account for this?
Also, is there a way to quickly disable the DRC engine while routing to route through exceptions, and then turn it back on again?
Right now I have a keyboard shortcut mapped to the board settings, and I comment/uncomment a (severity ignore)
for the rule I want to temp disable.