Browse Source

Add custom rule examples from Martin Straub.

7.0
Jeff Young 4 years ago
parent
commit
3c60b92472
  1. 13
      pcbnew/dialogs/panel_setup_rules_help.md

13
pcbnew/dialogs/panel_setup_rules_help.md

@ -244,12 +244,23 @@ For the latter use a `(layer "layer_name")` clause in the rule.
(rule fully_spoked_pads
(constraint min_resolved_spokes 4))
# Set thermal relief gap & spoke width for all zones
(rule defined_relief
(constraint thermal_relief_gap (min 10mil))
(constraint thermal_spoke_width (min 12mil)))
# Override thermal relief gap & spoke width for GND and PWR zones
(rule defined_relief_pwr
(constraint thermal_relief_gap (min 10mil))
(constraint thermal_spoke_width (min 12mil))
(condition "A.Name == 'zone_GND' || A.Name == 'zone_PWR'"))
# Prevent solder wicking from SMD pads
(rule holes_in_pads
(constraint mechanical_hole_clearance (min 0.2mm))
(condition "B.Pad_Type == 'SMD'"))
# Disallow solder mask margin overrides
(rule "disallow solder mask margin overrides"
(constraint assertion "A.Soldermask_Margin_Override == 0mm")
Loading…
Cancel
Save