Wishlist: Use nullable types for footprint/pad property overrides
Description
Right now it is impossible to override certain things like clearances and paste shrink to the value '0' because it's meaning is overloaded with 'inherit'. As of right now the user has to perform hacky workarounds to kind of get what they want, like set the value to something very small like 0.0001. The S-expression format allows for arbitrary tokens to be used instead of fixed types. I propose the token inherit
is used instead of 0. This can be done in a compatible manner by reading old files with the old meaning and saving them with the new token if applicable.
KiCad Version
Application: KiCad
Version: (5.99.0-3155-g91914f1a7), release build
Libraries:
wxWidgets 3.0.5
libcurl/7.72.0 OpenSSL/1.1.1g zlib/1.2.11 zstd/1.4.5 libidn2/2.3.0 libpsl/0.21.1 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.41.0
Platform: Linux 5.8.5-arch1-1 x86_64, 64 bit, Little endian, wxGTK
Build Info:
Date: Sep 4 2020 11:42:55
wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.72.0
OCC: 7.4.0
Curl: 7.72.0
ngspice: 32
Compiler: GCC 10.2.0 with C++ ABI 1014
Build settings:
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=OFF
KICAD_SCRIPTING_PYTHON3=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=OFF
KICAD_USE_OCC=ON
KICAD_SPICE=ON
Edited by Jose Ignacio Romero