diff options
| author | Akshay Nair <phenax5@gmail.com> | 2026-05-17 08:35:03 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2026-05-17 10:38:04 +0530 |
| commit | d2e0742e75634253e86ce0ee698b1e71df65f0f7 (patch) | |
| tree | 4a93e32b6d5657a4e970fe32935ac1ff5efde1e7 /justfile | |
| parent | 0c8ce1d38fbfea9f6ac1404193d6fb6f4c328346 (diff) | |
| download | sinthinator-d2e0742e75634253e86ce0ee698b1e71df65f0f7.tar.gz sinthinator-d2e0742e75634253e86ce0ee698b1e71df65f0f7.zip | |
Update schematic and pcb png export
Diffstat (limited to '')
| -rw-r--r-- | justfile | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -2,12 +2,15 @@ HWDIR := "hardware" HWOUTDIR := "hardware/output" KICAD_CLI := "kicad-cli" +default: + echo "noop" + hw: kicad "{{HWDIR}}/sinthinator.kicad_pro" gerbers: clean gen-gerbers gen-drill zip-gerbers -svg: svg-schematic +svg: svg-schematic svg-pcb drc: {{KICAD_CLI}} pcb drc --output --all-track-errors --schematic-parity --format=json --severity-all "{{HWDIR}}/sinthinator.kicad_pcb" @@ -19,7 +22,12 @@ zip-gerbers: cd "{{HWOUTDIR}}/gerbers" && zip -r sinthinator-gerbers.zip ./sinthinator svg-schematic: - {{KICAD_CLI}} sch export svg -t arcana --output . "{{HWDIR}}/sinthinator.kicad_sch" + {{KICAD_CLI}} sch export svg --output . "{{HWDIR}}/sinthinator.kicad_sch" + inkscape sinthinator.svg -w 3840 --export-area-page -o sinthinator.png + +svg-pcb: + {{KICAD_CLI}} pcb render "{{HWDIR}}/sinthinator.kicad_pcb" -w 3840 --background default --side top -o pcb-top.png + {{KICAD_CLI}} pcb render "{{HWDIR}}/sinthinator.kicad_pcb" -w 3840 --side bottom -o pcb-bottom.png bom: {{KICAD_CLI}} sch export bom "{{HWDIR}}/sinthinator.kicad_sch" -o "{{HWOUTDIR}}/sinthinator-bom.csv" |
