Visual indication of overridden properties (clearances, SPICE models, etc.) (lp:#1786116)
Original report created by Evan Shultz (evan-shultz)
From https://github.com/KiCad/kicad-
symbols/issues/418#issuecomment-379481770.
If I add a voltage source with VALUE="AC 1 SIN(0 1 1k)" I get a 1kHz sine
wave source in a Transient analysis. This is easy and handy if I know the
nomenclature for a SPICE voltage source.
Then if I open the Spice Model Editor dialog I can see my 1V, 1kHz sine
wave. Using the dialog I then change the frequency to "10k" and save. This
adds a Spice_Model="ac 1 sin(0 1 10k)" property to the voltage source.
Now, the interesting part happens: the Spice_Model property wins and I get
a 10kHz sine wave. But the old VALUE property looks like I should have a
1kHz sine wave. While it's understandable what's happening in hindsight,
the UI certainly does look confusing.
There may be a way to force the parameters to be in sync or alert the user
if the format of the VALUE field looks like a SPICE source and the
parameters don't match the Spice_Model property value. Or some other
resolution.
Application: kicad
Version: (5.0.0), release build
Libraries:
wxWidgets 3.0.3
libcurl/7.54.1 OpenSSL/1.0.2l zlib/1.2.11 libssh2/1.8.0 nghttp2/1.23.1
librtmp/2.3
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit,
Little endian, wxMSW
Build Info:
wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.60.0
OpenCASCADE Community Edition: 6.8.0
Curl: 7.54.1
Compiler: GCC 7.1.0 with C++ ABI 1011
Build settings:
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=OFF
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_ACTION_MENU=OFF
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_USE_OCC=OFF
KICAD_SPICE=ON
Original tags: eeschema ngspice