How about making the BOM output file path configurable?

Currently the output path for BOMs ist fixed. As I have my own directory structure (as everyone has IMHO), I always have to shift the file around. Admittedly not a VERY big deal, but then …

Do you join me in wanting the output path to be configurable, e.g. via a path variable or something?
I want to get some opinions before filing a feature request.

1 Like

How do you generate your bom? It’s likely already configurable.

AFAIK there’s no gui setting ATM to set the output location of BOM file. It always outputs to the project’s base folder.
I generate my BOMs via EESCHEMA’s Generate BOM.

kicad_vTxgVt0V6a

Editing the command line is no solution, as %O yields the full pathname. So “/Manufacture/%O” is nonsensical.

I guess (don’t remember), you can edit your “BOM_PartsBox” to output file anywhere. Just parse working directory %I, extract working dir from it, and produce any kind of output file, relative to %I, from within python script (completely ignoring %O).

I could do that for sure, no problem. But then: how about the built-in scripts? Edit them, too? Each time I update KiCad?

Anyways it is inconsistent. All other fabrication outputs (.rpt, .pos, netlist) let the user choose the path. BOM does not.

The “BOM system” is kind of hackish. It might see overhaul in v7 along with other significant changes to fabrication outputs.

You would have to edit the BOM scripts for now…yes kicad updates would screw you up if you edited in place. You have to copy them to your own folder and load them from there.

No problem, just wanted to bring it up.
Good to hear the fabrication output system might be redesigned. Ok, it might be 1-2 years to V7, but anyways…

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