Date:2010-12-03 03:27:16 (8 years 7 months ago)
Author:Werner Almesberger
Commit:876e12b0a9dcb707dc7c9dd3c5d09480afea848b
Message:atusb/cam: updated CAM process for new board

- cam/Makefile: added "spool" target
- cam/pcb.pl: removed rotation
- cam/pcb.pl: updated board outline (now it's just a rectangle)
- cam/pcb.pl: updated step sizes
Files: atusb/cam/Makefile (1 diff)
atusb/cam/pcb.pl (3 diffs)

Change Details

atusb/cam/Makefile
1.PHONY: pcb
1DIR=/home/moko/svn.openmoko.org/developers/werner/cncmap
2
3.PHONY: pcb spool
24
35pcb:
46        ./doit >job
7
8spool:
9        PORT=/dev/ttyUSB0 $(DIR)/spool/spool job
atusb/cam/pcb.pl
3030    while (@_) {
3131    $x = shift @_;
3232    $y = shift @_;
33    ($x, $y) = (-$y, $x);
33# ($x, $y) = (-$y, $x);
3434    $x += $x0;
3535    $y += $y0;
3636    print "$x $y $z\n";
...... 
4242{
4343    &cut(
4444      &mil( 0), &mil( 0),
45      &mil( 0), &mil(620),
46      &mil( 810), &mil(620),
47      &mil( 850) , &mil(580),
48      &mil( 890), &mil(620),
49      &mil(1300), &mil(620),
50      &mil(1490), &mil(430),
51      &mil(1630), &mil(430),
52      &mil(1630), &mil(360),
53      &mil(1850), &mil(360),
54      &mil(1850), &mil(430),
55      &mil(2150), &mil(430),
56      &mil(2150), &mil(-70),
57      &mil( 890), &mil(-70),
58      &mil( 890), &mil( 0),
59      &mil( 850), &mil( 40),
60      &mil( 810), &mil( 0),
45      &mil( 0), &mil(640),
46      &mil(1305), &mil(640),
47      &mil(1305), &mil( 0),
6148      &mil( 0), &mil( 0));
6249}
6350
...... 
6552$z = -0.8;
6653# x: corner offset, compensation for rotation, array position
6754# y: corner offet
68&orig(5+16+22*3, 5)
55&orig(25+36*1, 2+17*0)
6956&one;

Archive Download the corresponding diff file



interactive