pixalynx/pixal-gps
These files define two separate printed circuit boards: a small, two-layer battery cartridge with protection circuitry and contact pads for a pouch cell, and a larger, two-layer wireless charging dock featuring USB-C input, a resonant coil, and wireless power transmission components.
- Version
- 0.1.2
- License
- unset
- Stars
- 0
scripts/prepare-tracker-routing.sh
#!/bin/sh
# Rebuild the tracker's generated copper from scratch after a placement change:
# placement+RF build -> ground mesh -> build -> Specctra DSN for the Freerouting pass.
# Follow with: bun run route:run ; bun run route:import ; bun run build:tracker ; bun run check
set -e
cd "$(dirname "$0")/.."
echo '{ "source": "", "router": "", "legs": [] }' > routing/tracker-routes.json
echo '{ "stubs": [], "links": [], "unresolved": [] }' > routing/tracker-gnd.json
bunx tsci build tracker.circuit.tsx > dist/tracker-place.log 2>&1 || { grep -i "error" dist/tracker-place.log | head; exit 1; }
python3 scripts/gen-gnd-mesh.py dist/tracker/circuit.json routing/tracker-gnd.json GND
bunx tsci build tracker.circuit.tsx > dist/tracker-unrouted-build.log 2>&1 || { grep -i "error" dist/tracker-unrouted-build.log | head; exit 1; }
python3 scripts/audit-copper.py dist/tracker/circuit.json | tail -2
python3 scripts/export-router-dsn.py tracker
rm -f tmp/router/tracker.ses