1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-12-28 20:15:32 +02:00

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

- atben/Makefile (gerber, fab): use pcbnew with --origin=aux for Gerber,
  drill, and DXF
- atben/atben.brd: set auxiliary origin to lower left corner of board
This commit is contained in:
Werner Almesberger 2011-03-14 12:21:51 -03:00
parent bdfed80aab
commit 073675a7ed
2 changed files with 11 additions and 11 deletions

View File

@ -44,14 +44,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 03:15:39 2011
PCBNEW-BOARD Version 1 date Mon Mar 14 09:56:35 2011
# Created by Pcbnew(2010-12-27 BZR 2685)-unstable
@ -9,7 +9,7 @@ EnabledLayers 12E88001
Links 55
NoConn 0
Di 47751 24269 62686 35581
Ndraw 22
Ndraw 23
Ntrack 365
Nzone 0
BoardThickness 630
@ -61,7 +61,7 @@ PadSize 786 196
PadDrill 0
Pad2MaskClearance 20
Pad2PasteClearance -10
AuxiliaryAxisOrg 0 0
AuxiliaryAxisOrg 48071 35472
$EndSETUP
$EQUIPOT
@ -1151,6 +1151,11 @@ Te "110219"
Po 51950 30550 400 400 70 900
De 15 1 0 Normal
$EndTEXTPCB
$TEXTPCB
Te "110219"
Po 51950 30550 400 400 70 900
De 21 1 0 Normal
$EndTEXTPCB
$TRACK
Po 0 49233 28680 49233 28877 80 -1
De 15 0 1 0 800
@ -2500,9 +2505,4 @@ $FILLSEGMENTS
54420 28847 61840 28847
$endFILLSEGMENTS
$endCZONE_OUTLINE
$TEXTPCB
Te "110219"
Po 51950 30550 400 400 70 900
De 21 1 0 Normal
$EndTEXTPCB
$EndBOARD