Add syntax example using "not".

Fixes https://gitlab.com/kicad/code/kicad/issues/5694
This commit is contained in:
Jeff Young 2020-09-18 22:39:30 +01:00
parent 80acf944a0
commit 2799faf52b
1 changed files with 6 additions and 2 deletions

View File

@ -35,12 +35,16 @@ pad hole graphic text zone
(rule HV
(constraint clearance (min 1.5mm))
(condition "A.netclass == 'HV'"))
(condition "A.NetClass == 'HV'"))
(rule HV_HV
# wider clearance between HV tracks
(constraint clearance (min "1.5mm + 2.0mm"))
(condition "A.netclass == 'HV' && B.netclass == 'HV'"))
(condition "A.NetClass == 'HV' && B.NetClass == 'HV'"))
(rule HV_unshielded
(constraint clearance (min 2mm))
(condition "A.NetClass == 'HV' && not A.insideArea('Shield*')))
# ---- Notes