pcbnew: Interactive router violates clearances around custom-shaped pads
Description
In trying to route traces around footprints containing custom pad shapes, I've noticed that the interactive router does not walk around the clearances set for that pad. It appears that the interactive router is only considering the sacrificial pad when evaluating the clearance.
In the below case, I would expect the router to walk the P5V0 trace around Pad 16 (CHASSIS_GND) respecting that pad's clearance (7 mil) and adhering to the clearance set for the net class (20 mil). Neither of these happens and the router allows the P5V0 trace to short to CHASSIS_GND...
My Settings:
Steps to reproduce
- Make a project with that contains a footprint with custom pad shapes.
- Set interactive router to walk around mode.
- Route a trace (different from that assigned to the custom pad) around the custom pad.
- Observe that router violates netclass and pad clearance rules allowing short circuits.
KiCad Version
Application: KiCad x64 on x64
Version: 7.0.7, release build
Libraries:
wxWidgets 3.2.2
FreeType 2.12.1
HarfBuzz 6.0.0
FontConfig 2.14.1
libcurl/7.88.1-DEV Schannel zlib/1.2.13
Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Aug 14 2023 02:42:39
wxWidgets: 3.2.2 (wchar_t,wx containers)
Boost: 1.81.0
OCC: 7.7.1
Curl: 7.88.1-DEV
ngspice: 40
Compiler: Visual C++ 1936 without C++ ABI
Build settings:
KICAD_SPICE=ON
Edited by Joshua Escobar