1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-04 23:04:38 +02:00

atben: set origin for fab files to lower left corner of board

- atusb/Makefile (gerber, fab): use pcbnew with --origin=aux for Gerber,
  drill, and DXF
- atusb/atusb.brd: set auxiliary origin to lower left corner of board
This commit is contained in:
Werner Almesberger 2011-03-14 13:24:09 -03:00
parent 695f6c2d57
commit 6b3a049003
2 changed files with 17 additions and 17 deletions

View File

@ -61,14 +61,14 @@ PCB_FILES = README-PCB $(NAME)-PCB_Edges.dxf $(NAME).drl \
$(NAME)-PCB_Edges.gbr
gerber:
pcbnew --plot=gerber \
pcbnew --plot=gerber --origin=aux \
-l `pcbnew --list-layers $(NAME).brd | tr '\012' ,` \
--fill-all-zones $(NAME).brd \
--exclude-pcb-edge
fab: gerber
pcbnew --plot=dxf -l PCB_Edges $(NAME).brd
pcbnew --drill $(NAME).brd
pcbnew --plot=dxf --origin=aux -l PCB_Edges $(NAME).brd
pcbnew --drill --origin=aux $(NAME).brd
tar Ccfz .. $(NAME)-pcb-$(VERSION).tar.gz \
$(PCB_FILES:%=$(DIR)/%)
cd ..; zip -l $(DIR)/$(NAME)-pcb-$(VERSION).zip \

View File

@ -1,4 +1,4 @@
PCBNEW-BOARD Version 1 date Mon Mar 14 12:49:34 2011
PCBNEW-BOARD Version 1 date Mon Mar 14 13:22:43 2011
# Created by Pcbnew(2010-12-27 BZR 2685)-unstable
@ -60,7 +60,7 @@ PadSize 600 600
PadDrill 320
Pad2MaskClearance 20
Pad2PasteClearance -10
AuxiliaryAxisOrg 0 0
AuxiliaryAxisOrg 46350 51750
$EndSETUP
$EQUIPOT
@ -1972,6 +1972,11 @@ $DRAWSEGMENT
Po 0 46350 36950 52750 36950 50
De 28 0 900 0 0
$EndDRAWSEGMENT
$TEXTPCB
Te "20110214"
Po 46811 40591 300 300 70 900
De 21 1 0 Normal
$EndTEXTPCB
$TRACK
Po 0 47750 45400 50100 47750 80 -1
De 0 0 1 0 0
@ -2952,7 +2957,7 @@ ZLayer 0
ZAux 8 E
ZClearance 100 T
ZMinThickness 100
ZOptions 1 16 F 200 200
ZOptions 1 16 S 200 200
ZCorner 50200 43350 0
ZCorner 51050 42500 0
ZCorner 52650 42500 0
@ -3030,7 +3035,7 @@ ZLayer 0
ZAux 5 E
ZClearance 100 T
ZMinThickness 100
ZOptions 1 16 F 200 200
ZOptions 1 16 S 200 200
ZCorner 52650 43950 0
ZCorner 52650 42600 0
ZCorner 51100 42600 0
@ -3066,7 +3071,7 @@ ZLayer 0
ZAux 9 E
ZClearance 100 T
ZMinThickness 100
ZOptions 1 16 F 200 200
ZOptions 1 16 S 200 200
ZCorner 52650 46850 0
ZCorner 52650 44050 0
ZCorner 50400 44050 0
@ -3119,7 +3124,7 @@ ZLayer 0
ZAux 13 E
ZClearance 100 T
ZMinThickness 100
ZOptions 1 16 F 200 200
ZOptions 1 16 S 200 200
ZCorner 52650 51700 0
ZCorner 52650 47000 0
ZCorner 51200 47000 0
@ -3479,7 +3484,7 @@ ZLayer 15
ZAux 9 E
ZClearance 100 T
ZMinThickness 100
ZOptions 1 16 F 200 200
ZOptions 1 16 S 200 200
ZCorner 52650 46850 0
ZCorner 52650 44050 0
ZCorner 50800 44050 0
@ -3566,7 +3571,7 @@ ZLayer 15
ZAux 8 E
ZClearance 100 T
ZMinThickness 100
ZOptions 1 16 F 200 200
ZOptions 1 16 S 200 200
ZCorner 50700 42850 0
ZCorner 51050 42500 0
ZCorner 52650 42500 0
@ -3709,7 +3714,7 @@ ZLayer 15
ZAux 5 E
ZClearance 100 T
ZMinThickness 100
ZOptions 1 16 F 200 200
ZOptions 1 16 S 200 200
ZCorner 52650 43950 0
ZCorner 52650 42600 0
ZCorner 51100 42600 0
@ -3743,9 +3748,4 @@ $FILLSEGMENTS
52411 43850 52600 43850
$endFILLSEGMENTS
$endCZONE_OUTLINE
$TEXTPCB
Te "20110214"
Po 46811 40591 300 300 70 900
De 21 1 0 Normal
$EndTEXTPCB
$EndBOARD