The rule with a comparison sign less than ("<") constant does not work, but with a comparison sign less than or equal to ("<=") works
Description
Example of a working rule:
(rule "Constrain drill slots"
(constraint disallow pad)
(condition "A.Hole_Size_X != A.Hole_Size_Y && A.Hole_Size_X <= 0.49999mm")
)
Example of a non-working rule:
(rule "Constrain drill slots"
(constraint disallow pad)
(condition "A.Hole_Size_X != A.Hole_Size_Y && A.Hole_Size_X < 0.5mm")
)
Steps to reproduce
Properties of the pad where the rule is checked
KiCad Version
Application: Редактор печатных плат KiCad
Version: 6.0.7-f9a2dced07~116~ubuntu22.04.1, release build
Libraries:
wxWidgets 3.0.5
libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.12
Platform: Linux 5.15.0-43-generic x86_64, 64 bit, Little endian, wxGTK, ubuntu, wayland
Build Info:
Date: Jul 26 2022 19:32:47
wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.74.0
OCC: 7.5.2
Curl: 7.84.0
ngspice: 36
Compiler: GCC 11.2.0 with C++ ABI 1016
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON
Edited by Dmitry Kuzmin