Do not flag minimum annular ring DRC errors when pad is part another pad
Description
Pads that are embedded in other pads that have the same pin number should not generate a minimum annular ring DRC error. In this case the minimum annular ring has no meaning. I don't know if this has always been like this or is something new so maybe this is a wishlist issue. This issue also affects the master branch.
Here is a sample project that demonstrates the issue:
PTXXXX_boardname_for-via-annular-ring.zip
Steps to reproduce
- Open the attached project.
- Open the board file.
- Run DRC.
- Observe unexpected minimum annular ring error.
KiCad Version
Application: KiCad PCB Editor x86_64 on x86_64
Version: 8.0.1-56-g9704543b7a, debug build
Libraries:
wxWidgets 3.2.4
FreeType 2.13.2
HarfBuzz 8.3.0
FontConfig 2.15.0
libcurl/8.5.0 OpenSSL/3.1.5 zlib/1.3 brotli/1.1.0 zstd/1.5.5 libidn2/2.3.7 libpsl/0.21.2 (+libidn2/2.3.4) libssh2/1.11.0 nghttp2/1.59.0 librtmp/2.3 OpenLDAP/2.5.13
Platform: Debian GNU/Linux trixie/sid, 64 bit, Little endian, wxGTK, X11, gnome, x11
Build Info:
Date: Mar 18 2024 19:36:13
wxWidgets: 3.2.4 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.83.0
OCC: 7.6.3
Curl: 8.5.0
ngspice: 42
Compiler: GCC 13.2.0 with C++ ABI 1018
Build settings:
KICAD_STDLIB_DEBUG=OFF
KICAD_STDLIB_LIGHT_DEBUG=OFF
KICAD_SANITIZE_ADDRESS=OFF
KICAD_SANITIZE_THREADS=OFF