IEEE 802.15.4 subsystem
Sign in or create your account | Project List | Help
IEEE 802.15.4 subsystem Git Source Tree
Root/
| Source at commit a5ab9bbf0f0749f37c144d7fe4586dbd67c72093 created 6 years 9 months ago. By Werner Almesberger, atusb/: use page layout similar to eeschema's traditional default | |
|---|---|
| 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 | CAMEO=../../../cae-tools/cameo/cameo |
| 8 | |
| 9 | GEN=${1:-./pcb.pl} |
| 10 | |
| 11 | rdata="19.6 13.0 -56.2 19.6 53.1 -56.1 110.7 14.1 -56.2" |
| 12 | rdate="15.9 13.1 -57.2 15.9 77.4 -57.1 120.8 15.1 -57.0" |
| 13 | rdate="17.2 9.5 -57.0 21.5 76.2 -57.1 126.8 9.0 -56.9" |
| 14 | rdata="8.1 11.2 -56.3 8.1 80.1 -56.1 117.2 12.8 -55.9" |
| 15 | # lower Z by 0.3 mm relative to average (-56.1) |
| 16 | Z=-56.6 |
| 17 | |
| 18 | rect=`$RECT $rdata | awk '{$3 = ""; print}'` |
| 19 | |
| 20 | $GEN | |
| 21 | awk '{ if ($3 != "") $3 += '$Z'; print $0; }' | |
| 22 | $CAMEO -d 0.4445 | |
| 23 | $ALIGN 0 1 $rect | |
| 24 | # angle, reference (lower left corner), rect |
| 25 | $GP2RML 2 0.5 0.5 |
| 26 | # clearance, xy speed, z speed |
| 27 | # since everything is in the same plane, z clearance must be thickness plus |
| 28 | # real clearance ! |
| 29 | |
