DRC error if overlapping pads have different pad number but same net
Description
In imported cadstar design, there are pads that form the "thermal relief vias" of a thermal pad. They have different numbers but are all associated to the same net in the schematic.
When running DRC on this design, a large number of "Hole clearance violations" are shown after running DRC. The expected behaviour is that no violations are reported because the items are all in the same net
Steps to reproduce
- Run DRC on attached minimal design.
KiCad Version
Application: KiCad PCB Editor
Version: (5.99.0-10160-g2b86b34124), release build
Libraries:
wxWidgets 3.1.4
libcurl/7.74.0-DEV Schannel zlib/1.2.11
Platform: Windows 10 (build 18363), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Apr 7 2021 00:04:59
wxWidgets: 3.1.4 (wchar_t,STL containers)
Boost: 1.75.0
OCC: 7.5.0
Curl: 7.74.0-DEV
ngspice: 34
Compiler: Visual C++ 1928 without C++ ABI
Build settings:
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
KICAD_SCRIPTING_ACTION_MENU=ON
KICAD_USE_OCC=ON
KICAD_SPICE=ON