PCBNEW: Clearance error while routing near hole with unused pad
Description
I'm replicating this from issue #11098 (closed) and #9313 (closed) as it's still happening in recent versions.
When routing tracks in walk around mode, and have removed unused pads feature; tracks violate clearance to the hole of the via with the unused pad. It is flagged in DRC, but shouldn't be possible to lay track that violates clearance in walk around mode.
Steps to reproduce
1.Tools > Remove Unused Pads > Scope: Vias, Action:Remove unused layers > OK
2.Route > Interactive Router Settings > Mode: Walk Around > OK
3.Route net on one layer near a via with an unused pad, violation is allowed.
4.Run DRC using all existing rules used to route net.
KiCad Version
Version: 8.0.0-rc2-123-g6a69396070, release build
Libraries:
wxWidgets 3.2.2
FreeType 2.13.2
HarfBuzz 8.2.1
FontConfig 2.14.2
libcurl/8.3.0 OpenSSL/3.1.3 zlib/1.3 brotli/1.1.0 zstd/1.5.5 libidn2/2.3.4 libpsl/0.21.2 (+libidn2/2.3.4) libssh2/1.11.0 nghttp2/1.56.0
Platform: Arch Linux, 64 bit, Little endian, wxGTK, X11, KDE, x11
Build Info:
Date: Jan 25 2024 18:35:22
wxWidgets: 3.2.2 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.83.0
OCC: 7.6.3
Curl: 8.3.0
ngspice: 41
Compiler: GCC 13.2.1 with C++ ABI 1018
Build settings:
KICAD_USE_EGL=ON
Edited by Madeliene Kattman