This repository was archived by the owner on Dec 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -euo pipefail
4+
5+ if [ ! -v DOCKER_CMD ]; then
6+ echo " Wibble"
7+ DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && pwd ) "
8+ DOCKER_CMD=" docker run --rm -it -v ${DIR} :/kicad-project productize/kicad-automation-scripts"
9+ else
10+ echo " Wobble"
11+ fi
12+
13+ echo " Running ERC..."
14+ ${DOCKER_CMD} python -m kicad-automation.eeschema.schematic run_erc /kicad-project/neotron-32.sch /kicad-project/build
15+ echo " Printing schematic..."
16+ ${DOCKER_CMD} python -m kicad-automation.eeschema.schematic export /kicad-project/neotron-32.sch neotron-32-schematic.pdf
17+ echo " Running DRC..."
18+ ${DOCKER_CMD} python -m kicad-automation.pcbnew_automation.run_drc /kicad-project/neotron-32.kicad_pcb /kicad-project/build
19+ echo " Generating gebers..."
20+ ${DOCKER_CMD} python -m kicad-automation.pcbnew_automation.plot /kicad-project/neotron-32.kicad_pcb /kicad-project/build
21+ echo " Plotting PCB as PDF..."
22+ ${DOCKER_CMD} python -m kicad-automation.pcbnew_automation.plot -f pdf /kicad-project/neotron-32.kicad_pcb /kicad-project/build
23+
You can’t perform that action at this time.
0 commit comments