KiCad Library Update

Hi everyone,

I would like to provide a short update on the status of the KiCad libraries, and an overview of what has been accomplished in the last year. There have been a number of significant improvement which users will notice in the upcoming v5 software release.

1. Footprint repository consolidation

The “old” footprint libraries were previously each stored on GitHub as a separate .pretty repo - https://github.com/KiCad?utf8=✓&q=.pretty

This was a devil to maintain and also very difficult for users wishing to contribute.

These repositories have been marked as legacy - you can still access the old footprint libraries as before but they are no longer accepting any contributions.

The new footprint libraries can be found at https://github.com/kicad/kicad-footprints. These are the footprint libraries that will be distributed with the KiCad v5 release. A few points to note:

a) Many of the footprints are script generated due to the large advantage of using parametric data to generate an entire family of footprints
b) The footprint libraries have been reorganized and there is a new ‘no plural’ naming scheme.
c) No more Housings_xxx footprints
d) A lot of KLC improvements / fixes

Additionally the naming schemes devised for the new KLC have been applied to (most of) the footprints. The naming is based on IPC naming conventions and lends a more consistent and professional feel to the library.

.2. Split symbols and 3D models

The old kicad-library repository contained both schematic symbol data and all the 3D models. With the recent (fantastic) work developing a better database of 3D models, the size of this repository ballooned!

a) https://github.com/kicad/kicad-library has been marked as legacy
b) Symbols can be found at https://github.com/kicad/kicad-symbols
c) 3D models can be found at https://github.com/kicad/kicad-packages3d

.3. Complete restructure of symbols library

There was very little coherent organization of the symbol libs. Now they are organized by function, which provides a very clear categorization of the library.

.4. Library information on the website

Library information has been now included on the website, which means that the libraries now feel much more like an official part of the KiCad ecosystem.

.5. New KLC

The KLC (KiCad Library Convention) has had a major overhaul and is now also on the KiCad website - https://kicad.org/libraries/klc/

.6. Library download page

The libraries are now compiled every couple of days and are available for direct download at https://kicad.github.io

.7. Automated testing suite

Contributions to the KiCad libraries via GitHub are now checked against a number of automated tests to ensure that they conform to the KLC requirements. This speeds up the merging process and allows for contributions to be more thoroughly checked.

In short, a lot has been improved and the libraries continue to grow.

The volume of user contributions has continued to grow throughout 2017 and there have been some really fantastic improvements made by various users. Keep it coming!

I am stepping down from the library administrator role and passing the baton to @Rene_Poschl who has already been a major contributor to the libraries. Thanks everyone for the support and please continue to assist Rene to make the KiCad libraries even better :slight_smile:

22 Likes

Thanks a lot for your works.
Waiting for release 5 I’ll try to use new libraries.

We plan to release a kicad v4 compatibility release. (Will of course have a few footprints missing because kicad 4 does not support all features that are used in the current lib. This will mainly affect the new complex shaped jumper footprints and some connectors with rounded rectangle pads.)

1 Like

I have been playing to and from between the legacy and the new libraries.
I like the work. It is clearly better.
I have noticed, however, that the rescue does not always find the new symbols, despite their presence.

I have a schematic that has the ‘Screw_Terminal_01x02’ from (legacy) Connector lib. When I switch to the new libs, Rescue has a message:

Rescue symbol Connector:Screw_Terminal_01x02 found only in cache library to SlowStarMains-rescue:Screw_Terminal_01x02-Connector.

Is that not odd, because the ‘Screw_Terminal_01x02’ is also in the new Connector_Specialized lib? Why is Rescue telling me it is only found in the cache? And why is it sticking ‘-Connector’ to the end of the part, while the part name does not?

About the new KLC:
Very clear. I like this layout and all the examples. Good work! Inviting even.
I have updated my bookmark to the KLC accordingly.

I found an unimportant typo under S4.3:

Many symbols have corresponding footprints where multiple physical pins are conneceted to a single logical net.

‘conneceted’ should be connected.

If I find more, I will git my way in and make the update, but I have not currently set up a KiCAD git environment on my new machine yet. Of course, if anyone of you already has the KLC in a local repository, you are invited to correct this little spelling error before I can get to it.

1 Like

That link takes you to a well-done, nicely formatted web page. Where can I download a file containing the KLC (in *.pdf or *.doc format)? I believe that link has been posted here on the Forum but I can’t seem to find it with “Search” this morning.

Dale

It would be news to me that such a pdf exists. The KLC is generated by the kicad server from markdown pages but it also includes “shortcodes” (script code understood by the server used). A direct conversion (to my knowledge) is not really possible.

You could try to print the generated webpage to a pdf.

1 Like

OK, I printed a *.PDF from the web page. It’s 12 meg in size so I can’t attach it here. That seems large, but then there are MANY (very informative) illustrations embedded in the document.

My interest started with some file-cleaning and reorganization in preparation for V5.0. I have more-or-less-current copies of the KiCAD documentation on my machines for reference and help, and it seemed like a copy of the KLC should be in there, too. Yes, the on-line page is an excellent resource, and will always be the most current, but my laptop in particular is not always used where internet access is available.

Dale

1 Like

Thank you for your firm but gentle leadership @SchrodingersGat
Library quality has surely improved Alot under your watch :slight_smile:

4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.