Ability to pass more fields than just RefDes & Value from eeschema to pcbnew
Description
Allow to pass parameters (fields) from eechema to pcb physical layers
Working scenario
- In the schematic sheet I add two symbols as mounting holes (references MH1, MH2). These symbols have custom field, called "field4_Silkscreen_text". I set these fields accordingly: MH1 field4_Silkscreen_text = "M2.5x8", and MH2 field4_Silkscreen_text = "M3x8". I want these texts to appear on PCB silkscreen layer;
- On PCB, I add two footprints. These footprints are customized to have parameter "field4_Silkscreen_text" and string on silkscreen layer "#{field4_Silkscreen_text}";
I would expect for silkscreen strings "#{field4_Silkscreen_text}" on my pcb to become "M2.5x8" and "M3x8" - imported from eeschema on the fly.
Such ability would reduce time costs and would be bullet proof then only small cosmetics are needed for next PCB release. Such cosmetics, like board revision / build date / silkscreen typo mistakes could be fixed just from eeschema window. One would need to reexport gerbers for the factory.
Version info
Application: Pcbnew
Version: (5.99.0-1251-g6aaee01f1), release build
Libraries:
wxWidgets 3.0.4
libcurl/7.66.0 OpenSSL/1.1.1d (Schannel) zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.1.1) nghttp2/1.39.2
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Build date: Apr 7 2020 21:01:00
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.71.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.66.0
Compiler: GCC 9.2.0 with C++ ABI 1013
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
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_USE_OCC=OFF
KICAD_SPICE=ON
Edited by Michael Kavanagh