MNT Reform: Open Source Portable Computer https://mntre.com/reform
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
529B

  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