Polygons in Altium are tricky.
The solution to your problem is to use the rule InPolygon
instead of IsPolygon
.
As I understand it, Altium treats polygons as kind of a "meta" descriptor, internally. A "Polygon" object contains the polygon outline. The outline itself is matched with the InPolygon
rule (which is what you want).
This is of course made far more obnoxious by the fact that IsPolygon
is a valid rule token, so your rule will seem to be correct, and even pass the rule-checker, but silently fail when you try to actually repour the polygon, since the IsPolygon
rule matches against something else.
Also, from your included image, you are trying to make a Power Plane Clearance
rule affect a polygon. I think you may need to change that to a Clearance
rule (Under the Electrical
grouping in the rules window, since Altium's polygons are not planes.
This is off the top of my head, ATM. It's been a while since I needed varying plane clearances in Altium
Don't ask how long it took me to figure this out myself....
Oh, as an aside, placing polygons over polygons can have interesting effects, since which polygon is held-back due to the rules is dictated by the pour order. Subsequently, if you modify your layout, and run a command like Repour Violating
, your can wind up with your polygons in a odd state, where a subsequent full Repour
will change the overall polygon outline, even though the polygons already were passing the design rules.
When I was doing through-hole boards, I think I used 12 mil tracks for most signals, and 60 mil pads on most components, leaving 14 mil spacing between track and pad.
I you had set your default track width for autorouting to 24 mils the autorouter would have been unable to route that track, but a narrower track is fine.
There appears to be a thin red track running vertically there - if that's on the copper layer, you have a problem!!
Best Answer
Unless things have changed recently it's set by the clearance design rules. I have no idea what happens if there is no applicable clearance rule but it wouldn't surpise me if it chooses to use a very small clearance.
I usually set a clearance rule specifically for polygons (use "inpolygon" in the query for one of the objects) to give the clearance I want arround polygons, often quite a bit higher than what I use as my regular clearance rule.