Werner's Miscellanea
Sign in or create your account | Project List | Help
Werner's Miscellanea Git Source Tree
Root/
Source at commit 1d72af7 created 13 years 4 months ago. By Werner Almesberger, vialtray: make a tray for vials containing 0402/0603 components (in progress) | |
---|---|
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:-./pcb.pl} |
10 | |
11 | # manual tool positioning !! |
12 | rdate="0 0 0 150 0 0 0 100 0" |
13 | # lower Z by 0.5 mm relative to highest point (-56.8) |
14 | Z=0 |
15 | |
16 | rect=`$RECT $rdata | awk '{$3 = ""; print}'` |
17 | |
18 | # cameo: we inline the tool diameter with the data |
19 | |
20 | $GEN | |
21 | awk '{ if ($3 != "") $3 += '$Z'; print $0; }' | |
22 | $CAMEO -d 0 | |
23 | $ALIGN 0 1 $rect | |
24 | # angle, reference (lower left corner), rect |
25 | $GP2RML 20 2 2 |
26 | # clearance, xy speed, z speed |
27 | # since everything is in the same plane, z clearance must be thickness plus |
28 | # real clearance ! |
29 |
Branches:
master