List all unused project footprints and symbols

Hi all, is there a way of easily listing all project specific footprints and symbols that are NOT in use.

I need to cleanup a project of things i’ve added during development but i cant think of any easy way to achieve this without checking each one individually. Is this possible?

Thanks.

An alternate method might be to export symbols (and footprints in PCB) in the final design to a new library.

image

After export, KiCad will prompt you to update the existing elements to the new library.

The downside is that the export includes built-in symbols/footprints too.

Or, maybe you can figure out a clever script to compare the “new” and “old” libraries?

1 Like

The same I asked some time ago

AFAIK kicad has not an option like this. However it can be done by manipulating footprint, symbols, 3d files outside from kicad as their file format is text based.

1 Like

I think the most effective method is to parse the kicad schematics and pcb files in order to remove (or keep) the unused elements of the library. For example, if a project do not use some footprint then delete the right .mod file. Also If a project do not use some symbol then remove it from the symbol file.

Thanks all, i figured id have to manually review them. Ive cleaned up all the obvious ones but its a shame i cant know for sure without doing the busy work…