mirror of
https://github.com/scottbez1/smartknob.git
synced 2025-09-26 23:09:27 +08:00

- Use KiKit for fab automation - Add splitflap scripts for exporting pcb pdfs, and switch to splitflap script for 3d rendering (for consistency with fab automation) - Added support in 3d rendering scripts for soldermask & silkscreen colors, option to skip virtual components - Added silkscreen to base and screen pcbs for commit and date info
17 lines
379 B
Bash
Executable File
17 lines
379 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|
|
|
FONT="$DIR/RobotoMono-Bold.ttf"
|
|
|
|
# Make sure font exists
|
|
ls "$FONT"
|
|
|
|
set -v
|
|
|
|
LABEL="`date --rfc-3339=seconds`\n`git rev-parse --short HEAD`"
|
|
convert -background black -fill white -pointsize 12 -font "$FONT" -size 300x36 label:"$LABEL" -bordercolor black -border 3 $1 +swap -append $1
|
|
|