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

- Updated view_base and view_screen KiCad projects to v6 files - Updated footprints to v6 versions - Fixed all DRC errors and most warnings - Updated CI - Run on Ubuntu 22.04 runner - Updated KiBot and KiKit versions - Use KiBot for 3d rendering now instead of custom scripts - Switched to using KiCad text variables for replacement rather than raw text find&replace - Misc design updates - Exposed bottom-side thermal pad underneath TMC6300 to make it easier to possibly hand-solder - Separated GND and GNDA nets, replaced connection with a net-tie, and updated corresponding copper fills around HX711
18 lines
391 B
Bash
Executable File
18 lines
391 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"
|
|
echo "$DIR"
|
|
|
|
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
|
|
|