1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-07-01 03:58:55 +03:00

atusb/cam: it's obsolete now - removed

This commit is contained in:
Werner Almesberger 2011-01-03 13:43:10 -03:00
parent fd76be6f91
commit 2ac2420227
3 changed files with 0 additions and 91 deletions

View File

@ -1,9 +0,0 @@
DIR=/home/moko/svn.openmoko.org/developers/werner/cncmap
.PHONY: pcb spool
pcb:
./doit >job
spool:
PORT=/dev/ttyUSB0 $(DIR)/spool/spool job

View File

@ -1,26 +0,0 @@
#!/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
CAMEO=../../../cae-tools/cameo/cameo
GEN=${1:-./pcb.pl}
rdata="8.1 11.2 -56.3 8.1 80.1 -56.1 117.2 12.8 -55.9"
# we need quite a large Z adjustment due to the table's vertical flexibility
Z=-56.6
rect=`$RECT $rdata | awk '{$3 = ""; print}'`
$GEN |
awk '{ if ($3 != "") $3 += '$Z'; print $0; }' |
$CAMEO -d 0.4445 |
$ALIGN 0 1 $rect |
# angle, reference (lower left corner), rect
$GP2RML 2 0.5 0.5
# clearance, xy speed, z speed
# since everything is in the same plane, z clearance must be thickness plus
# real clearance !

View File

@ -1,56 +0,0 @@
#!/usr/bin/perl
$d = 2.54/1000*12;
$r = $d/2+0.1;
sub orig
{
$x0 = $_[0];
$y0 = $_[1];
}
sub mil
{
return $_[0]/1000*25.4;
}
sub cut
{
if (defined $x) {
if ($x == $_[0]+$x0 && $y == $_[1]+$y0) {
shift @_;
shift @_;
} else {
print "\n";
}
}
while (@_) {
$x = shift @_;
$y = shift @_;
# ($x, $y) = (-$y, $x);
$x += $x0;
$y += $y0;
print "$x $y $z\n";
}
}
sub one
{
&cut(
&mil( 0), &mil( 0),
&mil( 0), &mil(640),
&mil(1305), &mil(640),
&mil(1305), &mil( 0),
&mil( 0), &mil( 0));
}
$z = -0.8;
# x: corner offset, compensation for rotation, array position
# y: corner offet
&orig(25+36*1, 2+17*0)
&one;