Jobsets: Execute Command (iBom?)

Hello there :slight_smile:

we are so happy with the new jobset feature. This is exactly what we needed in our work environment.

This is our current setup, and it works like a charm (especially with now the variables ${your_variable} working when naming files):

One issue we encounter is the “Execute command” job:

image

When this command is used:
python “PATH-TO-3RD-PARTY\generate_interactive_bom.py” “PATH-TO-PCB\xxx.kicad_pcb”

It works :smiley: (absolut paths used)

My question now: Is the kicad-brd file loaded automatically when the project is opened?

It would be nice to have something like this working (relative paths):
python ${PATH-TO-3RD-PARTY}\plugins\org_openscopeproject_InteractiveHtmlBom\generate_interactive_bom.py ${FILEPATH}

Thank you so much for the help on this one.

Something like this should work:

python "${KICAD9_3RD_PARTY}/plugins/org_openscopeproject_InteractiveHtmlBom/generate_interactive_bom.py" --dest-dir "ibom" --name-format "%f_ibom" --no-browser --extra-fields "MPN,Manufacturer" --dnp-field "kicad_dnp" --extra-data-file ${PROJECTNAME}.kicad_pcb ${PROJECTNAME}.kicad_pcb

Thank you so much @dsa-t !

It worked very well.

It seems I messed up the “/”, “\” and “${PROJECTNAME}.kicad_pcb” - which those fixed it works as expected.

I created an issue Jobset usage iBom KiCad 9 ¡ Issue #493 ¡ openscopeproject/InteractiveHtmlBom as some of the flags seem not to work correctly. E.g. MF and MPN are empty in the html.

Try adding --extra-data-file ${PROJECTNAME}.kicad_pcb

1 Like

You are the MVP! This also fixed my problem here.

Thank you so much!

1 Like