Cutout zone XOR

Hi all,

Working in a F.Cu Layer I’ve defined 4 rectangular signal zones. Then I’d like to surround them with a bigger GND zone using a sort of XOR operation like this

Is there any option to do this in kiCad?



That section was written after 6.0.5 was released.

The most up-to-date documentation is always online

There is no packaging issue, that’s just older. As Graham says, check online by default for best results.

I’ll try to explain this better. Here’s an example of what I mean.


The steps (that I know) to draw this layout are:

(1) Make a big rectangular GND zone.
(2) Add 4 cutout zones inside the GND zone.
(3) Add 4 small zones into the cutout spaces and associate them with nets.

(2) and (3) are no immediate…
My alternative approach is as follows:

(1) Make 4 small zones in a free way and associate them with nets
(2) Make the bigger GND zone overlapping the 4 zones.
(3) Perform a XOR operation and voilà!

I think this could be a nice-to-have feature but I don’t know if it’s feasible or not.
What’s your opinion?


Steps 1 and 2 can be 2 and 1, it doesn’t matter. Now play with zone priorities as told before by Andy.

Yes, this is exactly what zone priorities are for. Higher number wins (so make the 4 small zones higher priority than the bigger GND zone).

There is no XOR function in KiCad. Not for zones, and not for other items. And that is because an XOR function would not be useful. What KiCad does (and also what you want) is to first draw the inner zones (so give those a higher priority) and then “painting” the larger zone around it while keeping a specified clearance.

Great! I didn’t know this about priorities. Thank you Jeff.

Understood. Thank you everyone for your help!

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