7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2024-11-22 11:14:59 +00:00
kicad/pcbnew/dialogs/panel_setup_rules_help_5examples.md
2024-11-18 21:50:20 +00:00

697 B

Examples

(version 1)

(rule HV
   (constraint clearance (min 1.5mm))
   (condition "A.hasNetclass('HV')"))


(rule HV
   (layer outer)
   (constraint clearance (min 1.5mm))
   (condition "A.hasNetclass('HV')"))


(rule HV_HV
   # wider clearance between HV tracks
   (constraint clearance (min "1.5mm + 2.0mm"))
   (condition "A.hasNetclass('HV') && B.hasNetclass('HV')"))


(rule HV_unshielded
   (constraint clearance (min 2mm))
   (condition "A.hasNetclass('HV') && !A.enclosedByArea('Shield*')"))


(rule heavy_thermals
   (constraint thermal_spoke_width (min 0.5mm))
   (condition "A.hasNetclass('HV')"))