Hello,
I have a footprint with a simple mechanical hole, where the solder mask is removed from around the hole.
I do this by expanding the solder mask (solder mask expansion).
This is the result:
However, the solder mask expansion is not showing on both the layout editor and the 3D viewer:
Here the purple disc (solder mask) is only the size of the hole.
And here, the green solder mask is present. (The darker ring is the absence of copper, Pad clearance, which is displayed fine)
It could be a bug for NPTH holes (because for THT the mask-expansion is displayed), but I need to investigate a bit more and that needs some time. Maybe someone is faster in the meantime.
I just noticed this too. I had designed a PCB in 7.0.1 with a 0.1mm solder mask expansion around a NPTH. I then designed a board in 7.0.2 with the same footprint, but the solder mask expansion was gone!
After some investigation I realised it’s a difference in behaviour between the two versions. Here’s the same Pad Properties dialog in each:
Notice how the mask is visible around the pad in the first but not in the second.
It wouldn’t bother me so much, but perhaps contrary to the OP’s report, for me this difference extends right through to gerbers. That’s actually where I first picked it up - I re-generated gerbers for the original project in 7.0.2, and the Mask layers changed even though the source files have not changed.
Perhaps it could be justified that the new behaviour is “correct” (after all, when the pad size is the same as the hole size, KiCad elects to delete the copper layers, so maybe there is no copper to expand from?) but I don’t think gerbers changing between a 0.0.1 release is correct! Certainly it is unexpected since the mask layer remains but the expansion setting is silently ignored.
In the 7.99 Nightly (master branch) it seems to work.
I have some strange key-hole effect going on in the NPTH-hole, though (default KiCad footprint, 2,1mm mounting hole, the first one that comes up in the library “Mountint Hole”).