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 eb6f066bbd7a194a28ad336f32ab59f945f5b906 created 13 years 6 months ago. By Werner Almesberger, atusd/cam/: CAM data for cutting the PCB. | |
---|---|
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 | rdata="12.4 9.8 -55.6 125.5 9.4 -55.4 12.9 83.6 -55.7" |
12 | # we need quite a large Z adjustment due to the table's vertical flexibility |
13 | Z=-55.80 |
14 | |
15 | rect=`$RECT $rdata | awk '{$3 = ""; print}'` |
16 | |
17 | $GEN | |
18 | awk '{ if ($3 != "") $3 += '$Z'; print $0; }' | |
19 | $ALIGN 0 1 $rect | |
20 | # angle, reference (lower left corner), rect |
21 | $GP2RML 1.5 0.1 0.1 |
22 | # clearance, xy speed, z speed |
23 |