Allow picking from multiple PCB footprints for a single database part
Description
Similar to #13584 (closed), the kicad_dbl
mapping file contains a key named "footprints"
which currently accepts a value LibraryNickname:FootprintName
. The following is a feature request to add the ability to specify multiple footprint names in this field and allow the user to pick one of those footprints in the UI when placing a part in the schematic.
Example use case
IPC-7351 defines multiple density levels for land protrusion in footprints (least, nominal, most). A user could create a footprint for each of these density levels and pick the appropriate footprint for each design.
Similar existing functionality
Currently there is a selection box which allows the user to choose from multiple footprints based on a footprint filter defined in the schematic symbol, but I don't believe there is any way to get this working with multiple footprints specified in a database library:
KiCad Version
Application: KiCad arm64 on arm64
Version: (7.0.0-rc1-253-g7844602210), release build
Libraries:
wxWidgets 3.2.1
FreeType 2.12.1
HarfBuzz 5.3.1
FontConfig 2.14.0
libcurl/7.85.0 SecureTransport (LibreSSL/3.3.6) zlib/1.2.11 nghttp2/1.47.0
Platform: macOS Ventura Version 13.1 (Build 22C65), 64 bit, Little endian, wxMac
Build Info:
Date: Jan 18 2023 01:20:13
wxWidgets: 3.2.1 (wchar_t,wx containers)
Boost: 1.80.0
OCC: 7.6.3
Curl: 7.77.0
ngspice: 38
Compiler: Clang 13.0.0 with C++ ABI 1002
Build settings:
KICAD_SPICE=ON