zand
February 18, 2025, 1:08pm
1
Hello there
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:
When this command is used:
python “PATH-TO-3RD-PARTY\generate_interactive_bom.py” “PATH-TO-PCB\xxx.kicad_pcb”
It works (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.
dsa-t
February 18, 2025, 2:46pm
2
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
zand
February 18, 2025, 2:51pm
3
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.
dsa-t
February 18, 2025, 2:56pm
4
Try adding --extra-data-file ${PROJECTNAME}.kicad_pcb
1 Like
zand
February 18, 2025, 2:57pm
5
You are the MVP! This also fixed my problem here.
Thank you so much!
1 Like
I ran this
python "${KICAD9_3RD_PARTY}/plugins/org_openscopeproject_InteractiveHtmlBom/generate_interactive_bom.py" --dest-dir "output - ${PROJECTNAME}" --name-format '%f-ibom' --no-browser --extra-fields "Value,Footprint,MPN" --blacklist 'G*,H*,JP*,TP*' --extra-data-file "${PROJECTNAME}.kicad_pcb" "${PROJECTNAME}.kicad_pcb"
To match my configurations.
Tip: run the bellow command to see all possible options.
KICAD9_3RD_PARTY='$HOME/.local/share/kicad/9.0/3rdparty'
python "${KICAD9_3RD_PARTY}/plugins/org_openscopeproject_InteractiveHtmlBom/generate_interactive_bom.py" --help
1 Like