jq is useful to slice, filter, map and transform structured json data.
brew install jq
(version 1) | |
#Kicad 7 | |
# 2-layer, 1oz copper | |
(rule "Minimum Trace Width (outer layer)" | |
(constraint track_width (min 5mil)) | |
(layer outer) | |
(condition "A.Type == 'track'")) | |
(rule "Minimum Trace Spacing (outer layer)" |
#!/bin/sh | |
git init | |
cat << EOF | tee .gitignore | |
# For PCBs designed using KiCad: http://www.kicad-pcb.org/ | |
# Format documentation: http://kicad-pcb.org/help/file-formats/ | |
# Temporary files | |
*.000 |
git describe --exact-match --tags 2> /dev/null || git rev-parse --short HEAD |