Add my tool to BOM list

Where KiCad/Eeschema keep the info of the BOM plugins list? (How can I add externally my tool to this list?)

It’s in the “eeschema” config file, in the KiCad config folder. There is an entry “bom_plugins” which has the list in sexpr style.

Edit; there is some code in KiPi which may or may not be useful …

1 Like

Thanks @bobc.
This file answer my next question: where is the file at MacOS and Windows.

That’s a very good question!

If the user is using the default setup, in Windows it’s in “C:\Users\__user__\AppData\Roaming\kicad”. However, if the user has redefined KICAD_CONFIG_HOME then you should be able to get that from the process environment. If you are running a script outside of the KiCad process environment you may need to ask the user.

There is also code in KiPi to get the config location in MacOS, I don’t really know anything about MacOS though https://github.com/bobc/kicad-getlibs/blob/master/kipi/kicad_getlibs.py#L170 so it might not even work.

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