Skip to content

Commit

Permalink
Add helpful bash scripts
Browse files Browse the repository at this point in the history
Signed-off-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com>
  • Loading branch information
gmlewis committed Jan 21, 2023
1 parent 96c64d4 commit b28dfea
Show file tree
Hide file tree
Showing 9 changed files with 50 additions and 0 deletions.
10 changes: 10 additions & 0 deletions examples/bifilar-coil/n.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash -ex
go run main.go -n $@
gerbview \
bifilar-coil.gbl \
bifilar-coil.gbs \
bifilar-coil.gko \
bifilar-coil.gtl \
bifilar-coil.gto \
bifilar-coil.gts \
bifilar-coil.xln
2 changes: 2 additions & 0 deletions examples/bifilar-with-capacitor/big.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash -ex
go run main.go -width 400 -height 400 -prefix big-bifilar-cap -view
2 changes: 2 additions & 0 deletions examples/bifilar-with-capacitor/small.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash -ex
go run main.go -width 100 -height 100 -prefix small-bifilar-cap -view
2 changes: 2 additions & 0 deletions examples/bifilar-with-capacitor/view.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash -ex
go run main.go -view
2 changes: 2 additions & 0 deletions examples/dual-capacitor/view.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash -ex
go run main.go -view
14 changes: 14 additions & 0 deletions examples/hex-bifilar-coil/n.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash -ex
go run main.go -n $@
gerbview \
hex-bifilar-coil.g2l \
hex-bifilar-coil.g3l \
hex-bifilar-coil.g4l \
hex-bifilar-coil.g5l \
hex-bifilar-coil.gbl \
hex-bifilar-coil.gbs \
hex-bifilar-coil.gko \
hex-bifilar-coil.gtl \
hex-bifilar-coil.gto \
hex-bifilar-coil.gts \
hex-bifilar-coil.xln
2 changes: 2 additions & 0 deletions examples/hex-capacitor/view.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash -ex
go run main.go -view
14 changes: 14 additions & 0 deletions examples/n333-bifilar-coil/view.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash -ex
go run main.go -step 0.1 -n 20
gerbview \
n333-bifilar-coil.g2l \
n333-bifilar-coil.g3l \
n333-bifilar-coil.g4l \
n333-bifilar-coil.g5l \
n333-bifilar-coil.gbl \
n333-bifilar-coil.gbs \
n333-bifilar-coil.gko \
n333-bifilar-coil.gtl \
n333-bifilar-coil.gto \
n333-bifilar-coil.gts \
n333-bifilar-coil.xln
2 changes: 2 additions & 0 deletions examples/quad-capacitor/view.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash -ex
go run main.go -view

0 comments on commit b28dfea

Please sign in to comment.