Custom rule copper zone to itself clearance

Hello!

Is it possible to define a rule that catches too small clearances between a copper zone itself as seen in the following image:

I would like to get a DRC error for it.
The following rule almost works as seen from the red marker, but it will also throw errors at all same net vias, pads and tracks in the zone.

(rule same_net_copper_copper_clearance
(condition "A.Type == 'Zone' ")
(constraint physical_clearance (min 0.125mm)))

The problem is when I add a “B” to check the second type it will prevent the rule from doing the self checking from A to itself…

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.