I am doing a 2nd spin of a board. In the original, I added a void in the ground plane beneath a component to avoid programming pads on the bottom of the part. On the new board, I no longer need that void. Any attempt to delete it results in the entire zone deleting.
You have to remove each corner of the zone cutout. When only two corners would be left they are both deleted and the cutout (the hole in the zone) disappears.
Unfortunately, it’s one of the quirks. @eelik is right, the only way to get rid of the cutout is to remove it corner by corner.
Intuitive way as suggested by @paulvdh does not work, as it removes the whole zone.
It’s relatively simple operation that should not involve looking up the manual or posting on the forums. So I see possible kicad UX improvement here.
Well, it’s gone. Problem is, I’m not sure what I did. To remove a corner, if you use delete, again the whole zone goes away. The other way to remove a corner is to slide it over another corner. Eventually you are left with a single corner, but if you delete that, same problem. To unfill the zone, I accidentally hit ctl-z rather than ctl-b, and the single corner disappeared. The rest of the zone is still there, thankfully. It;s an RF board and the entire board is a ground plane. Problem solved; not sure why, but moving on. Thanks for all the suggestions.
Bruce
Thanx to halachal (below) I understand.
There are two different ways to make a cutout in a zone.
With a right click on a zelected zone and Zones / Add a Zone Cutout, the cutout becomes a part of the zone itself.
Weirdly enough the “remove corner” does not always pop up in the [RMB] menu.
After I dragged a corner of a Cutout I just made and tried [RMB] again, the remove corner was in the popup menu, and when I selected it, it worked as expeced and removed the corner, and repeating it, when there were two corners left the cutout was removed.
So the trick is to first drag a corner. I guess that the underlying behaviour is that by default KiCad selects the whole zone, and by dragging a corner of the cutout KiCad moves focus from the whole zone to the cutout in the zone itself during editing.
Apparently in addition to keepout areas, zones themselves can have cutouts added (right-click with selected, Zones -> add cutout).
At first this seemed like an unnecessary duplication of functionality to me, but I can imagine some rare circumstance involving overlapping zones where it might be useful.
Apparently there’s more than one way to add this void. I used the cutout as described in the manual. Looks like the keepout area will accomplish the same thing, and is easier to delete.