Error in KiCAD 7.0.6 resolving clearance between pad and zone using custom rules
Description
Custom rules for clearance between an SMD pad and a zone is not respected. Below, the rule is respected for the highlighted track and is set to 0.15 mm. The last rule is applied: However, as can also be seen in the picture, it is not respected for the pad:
As can be seen, the the rule is not respected. It looks like it has to do with which layer the things are sitting in. On the top, it can be seen that both items are sitting on the B.Cu layer, however, this is not considered to be fulfilled in the rule in the bottom.
Steps to reproduce
The issues can be seen in the attached project.
KiCad Version
Application: KiCad x64 on x64
Version: 7.0.6, 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: Jul 6 2023 04:56:45
wxWidgets: 3.2.2 (wchar_t,wx containers)
Boost: 1.81.0
OCC: 7.6.3
Curl: 7.88.1-DEV
ngspice: 40
Compiler: Visual C++ 1936 without C++ ABI
Build settings:
KICAD_SPICE=ON
Edited by Graham Keeth