build.sh 529 B

123456789101112
  1. #!/bin/bash
  2. for pcbfolder in ../reform2-*pcb
  3. do
  4. fname=$(basename -- $pcbfolder)
  5. fname=${fname%"-pcb"}
  6. echo
  7. echo "PCB: $fname -----------------------------------------------"
  8. python3 ~/.kicad_plugins/InteractiveHtmlBom/InteractiveHtmlBom/generate_interactive_bom.py --dest-dir ../ibom/$fname --include-tracks --include-nets --netlist-file $pcbfolder/$fname.net --layer-view F --bom-view top-bottom --dark-mode --extra-fields Manufacturer,Manufacturer_No --dnp-field DNP $pcbfolder/$fname.kicad_pcb
  9. done