Net classes based on layer

(NOTE version : K8rc2 )
AND
you probably want a wider copper pour clearance on an inner layer … sooo

(rule "HV zone clearance  inners"
(layer inner)
(condition " A.NetClass == 'HV' && B.Type=='zone'")
(constraint clearance (min 1.0mm)))

image

and you probably want a general smaller clearance, perhaps, this would need to go before the zone clearance so zones are hooked as the last thing it checks

in this order

(rule "HV general clearance  inners"
(layer inner)
(condition " A.NetClass == 'HV' ")
(constraint clearance (min 0.7mm)))

(rule "HV zone clearance  inners"
(layer inner)
(condition " A.NetClass == 'HV' && B.Type=='zone'")
(constraint clearance (min 1.0mm)))

you can see it applying the smaller clearance boundary thin green line for other than zones
image

Hey gkeeth I am getting the hang of this !

3 Likes