Werner's Miscellanea
Sign in or create your account | Project List | Help
Werner's Miscellanea Git Source Tree
Root/
| 1 | #!/bin/sh |
| 2 | while [ "$1" ]; do |
| 3 | eval "$1" |
| 4 | shift |
| 5 | done |
| 6 | |
| 7 | : ${MILL:=125mil} |
| 8 | : ${OVERLAP:=1.6mm} |
| 9 | : ${X0:=0mm} |
| 10 | : ${Y0:=0mm} |
| 11 | : ${Z1:=0mm} |
| 12 | : ${PIECE_Z:=0mm} |
| 13 | : ${Z_OFFSET:=0mm} |
| 14 | : ${CAMEO:=cameo} |
| 15 | : ${OUT:=out.gp} |
| 16 | |
| 17 | $CAMEO <<EOF |
| 18 | gnuplot $MILL $PART-piece.gp |
| 19 | gnuplot $MILL $PART.gp |
| 20 | $REVERSE |
| 21 | align 1 $X0 $Y0 |
| 22 | z 0 $Z1 |
| 23 | z $Z_OFFSET |
| 24 | z -$PIECE_Z |
| 25 | area $OVERLAP |
| 26 | write $OUT |
| 27 | EOF |
| 28 |
Branches:
master
