I need to create a footprint with through-hole pads that are not symmetrical between the top and bottom layers.
Let’s say I want a 2x3mm rectangle on the top layer and a 1.6mm circular pad on the bottom layer. I have tried to to do this with 2 pads with the same number, one on F.Cu and F.Mask and one on B.Cu and B.Mask, but it seems it drives the DRC crazy, reporting both tracks near pad and unconnected items (between the top and bottom pads) errors.
While I could just ignore the errors, another problem is that I am not able to draw a track on the BOTTOM layer in the area occupied by the TOP pad/clearance. I had to put them there with some hacks :).
Create a circular pad. Specify it for ALL copper layers (i.e., both top and bottom layer). Make the diameter 1.6mm. (I hope this leaves an acceptable annular ring for the hole size you need.)
Create a rectangular pad, 2x3mm, with the SAME pad number as the circular pad, and the same hole size. Specify it as TOP COPPER ONLY.
Place the two pads at the same coordinate location.
Now read the tutorial posted by @Rene_Poschl (above), and explain to yourself why this padstack works. (He also has a worthwhile tutorial about creating schematic symbols.)
Thanks for your replies. That seems to fix the “unconnected items” error, but still I cannot draw tracks on the bottom layer there the pad on the top layer is.
I am using the latest KiCad 5.0.2, was the tutorial tested with this version?
Mmmmh, there’s still something wrong: one of these pads is connected to GND and I have a filled zone on GND.
On the top layer, the connection to the pad stops where it stops on the bottom layer, while it should continue since the top pad is narrower. I guess a picture is worth more than a thousand words, so here it is:
Tom presented a workaround in the bug. You can set the zone connection of the smaller inner pad to solid. This might however be a problem if you connect a zone on the bottom side. (you will then not be able to have thermals there)