Add custom rule examples from Martin Straub.
This commit is contained in:
parent
a4349ae638
commit
3c60b92472
|
@ -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…
Reference in New Issue