Create castellated pad with custom hole shape

Hello,
I need to create a pad at the edge of the board looking like this

I was trying to create footprint of a pad and place it over the edge cut (yellow line), the orange should be copper. But the footprint editor basically does not allow custom hole or hole milling, but oval or circle. Is there a way how to put custom “hole” into the footprint editor?
Basically what I need is to mark the yellow outline as edge plated and connect some layers to it. Some ideas how to do that?

Thank you

The simplest would be two pads with oval holes and the same pad number. But that would result in arcs on the top side instead of the flattened part you have now.

Another option is to draw Edge.Cuts in the shape you want, and then use a big pad with custom graphics. But Edge.Cuts is done in the last step and thus it will not have plating on the side.

I’m not really sure how to specify edge plating for routed parts in KiCad.

Edit: Using three oval pads as 3Dogs (below) suggests is probably a good option. Do you have special needs for the radii? This is (probably) one of those things where PCB manufacturers take some liberty and may deviate from your design, unless it’s explicitly stated. Overlapping holes can also be a production problem, especially when they have to be made with a thin router bit

Use 3 overlapping oval holes per slot.
One horizontal at the top, and two vertical for the sides.

Hello guys, thank you. This is exactly what I tried and I was planning to use it as “last option” - overlapping holes. I thought there would be some direct way how to do it, like draw shape (or take given edge cut) and mark it as hole etc…
Unfortunatelly, I was given precise shape of the slot so to fit directly into it will require a lot of work., also there are more slots with different angles …

I suspect that you could draw the outline on a user layer, and just talk to your PCB fabricator about what you wanted to do, and they would be able to help you.

Actually what I need is to connect specific edges with specific layers in specific places :smiley:
So drawind footprint will make this easier, otherwise I would have to draw another 3 layers of connections and somehow override clearance rules in specific places.

So it gets more complicated. Feels like we’re looking though some straw at something that may be a monster. But in general, there is not much support for footprints on inner layers in KiCad. Pads can be moved to an inner layer by hacking into the PCB or footprint file with a text editor, but as far as I know there are no GUI tools to do this. It would also be a bit problematic, as footprints are “universal”, and they do not know how many copper layers there are going to be in the PCB.

1 Like