Root/
| 1 | #!/bin/sh -e |
| 2 | DIR=/home/moko/svn.openmoko.org/developers/werner/cncmap |
| 3 | RECT=$DIR/rect/rect |
| 4 | ALIGN=$DIR/align/align |
| 5 | ZMAP=$DIR/zmap/zmap |
| 6 | GP2RML=$DIR/gp2rml/gp2rml |
| 7 | |
| 8 | GEN=${1:-./pcb.pl} |
| 9 | |
| 10 | rdata="17.8 8.9 -55.7 72.0 9.6 -55.3 17.8 68.5 -55.5" |
| 11 | # we need quite a large Z adjustment due to the table's vertical flexibility |
| 12 | Z=-55.40 |
| 13 | |
| 14 | rect=`$RECT $rdata | awk '{$3 = ""; print}'` |
| 15 | |
| 16 | $GEN | |
| 17 | awk '{ if ($3 != "") $3 += '$Z'; print $0; }' | |
| 18 | $ALIGN 0 1 $rect | |
| 19 | # angle, reference (lower left corner), rect |
| 20 | $GP2RML 1.5 0.1 0.1 |
| 21 | # clearance, xy speed, z speed |
| 22 |
Branches:
master
