Werner's Miscellanea
Sign in or create your account | Project List | Help
Werner's Miscellanea Git Source Tree
Root/
Source at commit ba5a392555fd70c6f668f0d9750791f9b35eb179 created 12 years 4 months ago. By Werner Almesberger, m1/tools/README: m1nor description | |
---|---|
1 | #!/bin/sh |
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:-./tray.pl} |
10 | |
11 | rdata="0 0 0 150 0 0 0 100 0" |
12 | Z=-27.6 |
13 | |
14 | rect=`$RECT $rdata | awk '{$3 = ""; print}'` |
15 | |
16 | # cameo: we inline the tool diameter with the data |
17 | |
18 | $GEN | |
19 | awk '{ if ($3 != "") $3 += '$Z'; print $0; }' | |
20 | $ALIGN 0 1 $rect | |
21 | # angle, reference (lower left corner), rect |
22 | tee check | |
23 | $GP2RML 5 4 4 |
24 | # clearance, xy speed, z speed |
25 |
Branches:
master