IEEE 802.15.4 subsystem
Sign in or create your account | Project List | Help
IEEE 802.15.4 subsystem Git Source Tree
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 | 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 | # lower Z by 0.5 mm relative to highest point (-56.8) |
15 | Z=-57.3 |
16 | |
17 | rect=`$RECT $rdata | awk '{$3 = ""; print}'` |
18 | |
19 | $GEN | |
20 | awk '{ if ($3 != "") $3 += '$Z'; print $0; }' | |
21 | $CAMEO -d 0.4445 | |
22 | $ALIGN 0 1 $rect | |
23 | # angle, reference (lower left corner), rect |
24 | $GP2RML 2 0.5 0.5 |
25 | # clearance, xy speed, z speed |
26 | # since everything is in the same plane, z clearance must be thickness plus |
27 | # real clearance ! |
28 |