mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-26 06:04:40 +02:00
atusb/cam/mkmk: move project name to central NAME variable
Also prematurely updated alignment, oops.
This commit is contained in:
parent
dda673e8bf
commit
50bd38c13e
@ -2,12 +2,14 @@
|
||||
PATH=$PATH:/home/qi/cae-tools/cameo
|
||||
PATH=$PATH:/home/moko/svn.openmoko.org/developers/werner/cncmap/gp2rml
|
||||
|
||||
NAME=atusb
|
||||
|
||||
cameo <<EOF
|
||||
mm
|
||||
|
||||
gerber 35mil ../atusb-PCB_Edges.gbr
|
||||
gerber 35mil ../$NAME-PCB_Edges.gbr
|
||||
rotate 90
|
||||
align 1 4.6mm 9.0mm # align relative to board corner
|
||||
align 1 2.5mm 8.5mm # align relative to board corner
|
||||
translate 3mm 3mm # move to PCB zone assigned to project
|
||||
array 20mm 37mm 3 1 # skip over previous boards (201012xx)
|
||||
array 37mm 19mm 0 1 # skip over previous boards (201101xx)
|
||||
@ -17,7 +19,7 @@ z -0.8mm # board thickness
|
||||
z -0.5mm # tool extra depth
|
||||
clear
|
||||
|
||||
excellon ../atusb.drl
|
||||
excellon ../$NAME.drl
|
||||
drill 7mil 15mil # 12.5-13.5 mil drill
|
||||
optimize
|
||||
write drill.gp
|
||||
@ -30,7 +32,7 @@ write mill.gp
|
||||
remainder
|
||||
empty
|
||||
|
||||
gerber 20mil ../atusb-PCB_Edges.gbr # 35 mil endmill, 15 mil deflection
|
||||
gerber 20mil ../$NAME-PCB_Edges.gbr # 35 mil endmill, 15 mil deflection
|
||||
offset
|
||||
append mill.gp
|
||||
EOF
|
||||
|
Loading…
Reference in New Issue
Block a user