Alternate-KiCad-Library
Alternate-KiCad-Library copied to clipboard
KiCad Package and Content Manager adds "PCM_" prefix automatically
I noticed that the library installed via KiCad 7's Package and Content Manager will have PCM_
as the prefix of every footprint library. Could you please change the symbol-footprint binding for the kicad manager release?
I think there is the same issue for KiCad 6.
Yes, the workaround is to rename all the AKL footprint libraries in your library table to remove the 'PCM_' prefix. KiCad 7 added a feature where libraries downloaded via Plugin and Content Manager will be automatically added to library tables, this adds the 'PCM_' and breaks the previous symbol - footprint link. This issue does not occur when the library is installed manually (downloaded/cloned from github). I'm planning to tackle this issue with release of V4.0 (it's still a months away from being ready) and I will close this issue when this behaviour is actually corrected. Thank you for your patience.
I've also updated installation instructions on the official website to hopefully clear some confusion.
Thank you. I eventually removed all "PCM_" prefix from all the library names. This is such an unexpected behaviour. Hope there is a KiCad version detection condition to retrieve the package accordingly.
You can clear this prefix. See Screenshot. After the next start the added Footprintlibraries will show up w/o the prefix You can find the setting also in file kicad.json
Cheers. This will solve my problem and also for people who know it. Actually, I found the kicad.json
file and tried to modify it, which failed in my case. I think we definitely should change the "Preferences" instead.
However, I think this still needs to be solved for the users who just appear to install and use this library. This is more likely to be the initial configuration problem from the KiCad source.
As of now I'm considering writing a script to bulk edit all the symbol libraries in a way to add PCM_ prefixes to all footprint links in the PCM release, but still leave the default behavior for people downloading the library through github. This way people using the PCM will have a seamless experience and people installing manually will not have any new issues. As for now either renaming all footprint library aliases or changing preferences is the only workaround.
@bohrh Thanks! It really helps!
@DawidCislo Maybe it easier to add attention message in plugin download dialog page to remove library nickname prefix in setting before install AKL ?
The current description in the PCM is a bit outdated, it was written when KiCad 6 was new, and had no such issues. It still points users to the website or github, that has the up-to-date instructions on how to remove the prefix from preferences before downloading, and how to rename all the footprint libraries.
Every change to the metadata file has to be reviewed manually by the KiCad devs and I don't want to "spam" them with non-consequential updates to the description.
With the release of AKL 4.0, this issue is fixed - newest version 4.0.1 correctly handles the PCM_ prefix, and for people that don't want any prefixes there's the 4.0 version that works without prefixes.