As you can see, the via in the middle has to go through all the layers until the connected one, and not further away. It was pointed to me that it is important that such via stops in the inner layer, as drawn.
The front layer should have the pad, even if it is not connected to anything, as it is a landing pad.
I found workarounds for the two issues by manually inserting a via in the PCB editor, instead of the footprint editor, and setting it with the desired parameters. Is it possible to do this in the footprint editor, so all instances of this footprint share the same characteristics?
I deduce you probably don’t have much experience with this. Due to manufacturing limitations, the common way to manufacture this is to first make the full via though the whole PCB, and then drill away the copper stub on the backside. This is common enough to have a standardized name and it’s called “back drilling”.
KiCad does not have support for back drilling yet, you can give the feature request below an upvote:
One of the possible workarounds, is to use very specific via diameters for each back drilling depth. The diameters can be very close to each other (so your Fab will round them all to the same drill diameter), but computers can be precise when needed (KiCad works with integers on nanometer increments internally), and it’s relatively easy to sort those out with a script. However, using the right via diameter for each of your holes is a nuisance, and error prone. The workaround is far from ideal. But it can also be reversed. KiCad does support scripting, and writing a script that modifies via (and pad) diameters to add this workaround for depth drilling is probably not very difficult. But I don’t have any experience with Python scripting in KiCad myself.
Probably not. Footprints do not do much with internal layers. It is not possible for a footprint library to know how many copper layers your PCB is going to have. And the standard method is to use back drilling, and thus this data would not appear in the footprint anyway.
@paulvdh thanks for the information, it is appreciated. Indeed, I don’t have much experience with this kind of design. In KiCad, I see that a blind via from layer top down to layer X seems to represent what I want to do (blind via on the right side):
A bit unfortunate I did not mention blind via’s. Yes, blind vias are also a viable option, and as a plus, they are supported by KiCad. But do be aware they are not standard for PCB manufacturing. They need extra process steps, and thus also cost more, and not all PCB manufacturers support it, so you have to check with your PCB manufacturer for their support and the costs.
My own PCB’s are quite simple 2-layer boards and I don’t know further details.