Separate clearances for track and Zone fills

Hi
Is it possible to set separate clearances for Zone fills and Track-to-item?
I’m using Coplanar waveguides for my RF tracks, and these require Ground plane at specific distance from the RF net. I’d like to use general Clearance for my RF tracks (net-class RF) to keep away ground plane at specific distance. However general clearance complains that my tracks are too close (i’d like to allow tracks closer than the calculated waveguide track-to-copper distance). How should I do it in Kicad, the clean way?

That’s easy with Custom Rules. See PCB Editor | 8.0 | English | Documentation | KiCad and there are also examples in the Syntax Help next to the editor.

1 Like

Funny thing is I’m using custom Net class for my “Tight RF” tracks, but the point here is to use condition for two defined items: my RF class tracks and Ground plane. Thanks for pointing me :slight_smile:

Tracks use the netclass settings, and for each copper zone you can set it’s own clearance in the zone properties. I would use custom rules only when needed.

1 Like

In this case, I prefer to use custom net classes since I do put my GND fill all over my PCB, while only for RF I want to keep the clearance higher due to Waveguide calcuations. It’s already working for me :slight_smile: