1
0
mirror of git://projects.qi-hardware.com/f32xbase.git synced 2025-04-21 12:27:27 +03:00

Renamed hw/ to c2usb/, to make room for other hardware.

This commit is contained in:
Werner Almesberger
2010-10-20 10:57:42 -03:00
parent 77d684804c
commit 8eaef6b062
15 changed files with 0 additions and 0 deletions

21
c2usb/cam/doit Executable file
View File

@@ -0,0 +1,21 @@
#!/bin/sh -e
DIR=/home/moko/svn.openmoko.org/developers/werner/cncmap
RECT=$DIR/rect/rect
ALIGN=$DIR/align/align
ZMAP=$DIR/zmap/zmap
GP2RML=$DIR/gp2rml/gp2rml
GEN=${1:-./pcb.pl}
rdata="19.6 13.0 -56.2 19.6 53.1 -56.1 110.7 14.1 -56.2"
# lower Z by 0.5 mm relative to highest point
Z=-56.6
rect=`$RECT $rdata | awk '{$3 = ""; print}'`
$GEN |
awk '{ if ($3 != "") $3 += '$Z'; print $0; }' |
$ALIGN 0 1 $rect |
# angle, reference (lower left corner), rect
$GP2RML 3 0.1 0.1
# clearance, xy speed, z speed