WishList: Rule that determines whether a via hole is partially or completely inside a pad of a testpoint. Or more generally any pad.
Description
Rule that determines whether a via hole is partially or completely inside a pad of a testpoint. Or more generally any pad.
(rule "Distance between 1mm test points pad to via Hole"
#(constraint hole_clearance (min 0mm))
(constraint clearance (min 0.01mm))
#(condition "A.Type =='Via' && B.Reference == 'TP*")
(condition "A.Type =='Via' && B.Type == 'Pad' && A.Net == B.Net")
)
I have tried some combinations but I don't detect violations.
It would be useful to have the possibility to specify that the rule also applies to the same net as the track, via and pad.
I believe that "clearence" does not make this distinction and I don't know which keywords make this distinction.
I hope I was clear.
Steps to reproduce
- NC
KiCad Version
Application: Pcbnew
Version: (5.99.0-7926-g487aa37d2e), release build
Libraries:
wxWidgets 3.0.5
libcurl/7.71.0 OpenSSL/1.1.1g (Schannel) zlib/1.2.11 brotli/1.0.7 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.41.0
Platform: Windows 10 (build 19042), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Dec 29 2020 21:59:30
wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.73.0
OCE: 6.9.1
Curl: 7.71.0
ngspice: 32
Compiler: GCC 10.2.0 with C++ ABI 1014
Build settings:
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=OFF
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
KICAD_SCRIPTING_ACTION_MENU=ON
KICAD_USE_OCE=ON
KICAD_SPICE=ON
Edited by Jon Evans