Date:2011-03-23 05:57:55 (8 years 2 months ago)
Author:Werner Almesberger
Commit:2e5329039c2a4c9d131be003d3db703a938cfdfb
Message:include overview images in PCB and SMT fab packages

- atben/README-PCB, atusb/README-PCB: added overview images for PCB front
and back
- atben/README-SMT, atusb/README-SMT: added overview image for PCB front
- atben/README-SMT, atusb/README-SMT: clarified that the Gerbers are in
the PCB archive
- makefiles/Makefile.kicad (PCB_FILES): moved list of gerbers to
$(GERBERS)
- makefiles/Makefile.kicad (gerber): generate Gerbers only if necessary
- makefiles/Makefile.kicad (overview, uoverview, clean): renamed
overview.png to $(NAME)-overview.png and turned phony target into file
target
- makefiles/Makefile.kicad ($(NAME)-front.png, $(NAME)-back.png, clean):
added generation of front and back images
Files: atben/README-PCB (2 diffs)
atben/README-SMT (1 diff)
atusb/README-PCB (2 diffs)
atusb/README-SMT (1 diff)
makefiles/Makefile.kicad (4 diffs)

Change Details

atben/README-PCB
66- via holes: diameter is nominally 10 mil, but any size <= 15 mil can be used
77- mechanical tolerances: <= +/- 0.1 mm on all sides
88
9
910Layer stacking, from top to bottom:
1011
1112atben-SilkS_Front.gto Front silk screen
...... 
1415atben-Back.gbl Back copper
1516atben-Mask_Back.gbs Back solder mask
1617
18
1719Other design files:
1820
21atben-front.png Illustration of the PCB's front side (without holes)
22atben-back.png idem, for the back side
1923atben-PCB_Edges.gbr Board edges, for routing (Gerber)
2024atben.dxf idem (AutoCAD DXF)
2125atben.drl Excellon drill file
2226
27
2328Interpretation of files:
2429
2530- for all coordinates, the origin is the lower left corner of the board
atben/README-SMT
99
1010Design files:
1111
12atben-front.png Illustration of the PCB's front side (with silk screen)
1213atben-bom.csv Bill of materials
1314atben-pos.csv Automatic insertion file
1415* footprints
1516
16The PCB design files are in a separate archive, atben-pcb-*
17The PCB design files (Gerbers, etc.) are in a separate archive, atben-pcb-*
1718
1819
1920Interpretation of files:
atusb/README-PCB
66- via holes: diameter is nominally 10 mil, but any size <= 15 mil can be used
77- mechanical tolerances: <= +/- 0.1 mm on all sides
88
9
910Layer stacking, from top to bottom:
1011
1112atusb-SilkS_Front.gto Front silk screen
...... 
1415atusb-Back.gbl Back copper
1516atusb-Mask_Back.gbs Back solder mask
1617
18
1719Other design files:
1820
21atusb-front.png Illustration of the PCB's front side (without holes)
22atusb-back.png idem, for the back side
1923atusb-PCB_Edges.gbr Board edges, for routing (Gerber)
2024atusb.dxf idem (AutoCAD DXF)
2125atusb.drl Excellon drill file
2226
27
2328Interpretation of files:
2429
2530- for all coordinates, the origin is the lower left corner of the board
atusb/README-SMT
1111
1212Design files:
1313
14atusb-front.png Illustration of the PCB's front side (with silk screen)
1415atusb-bom.csv Bill of materials
1516atusb-pos.csv Automatic insertion file
1617* footprints
1718
18The PCB design files are in a separate archive, atusb-pcb-*
19The PCB design files (Gerbers, etc.) are in a separate archive, atusb-pcb-*
1920
2021
2122Interpretation of files:
makefiles/Makefile.kicad
3131
3232
3333.PHONY: all gen generate sch brd xpdf front back clean
34.PHONY: gerber gerbv fab
34.PHONY: gerber gerbv fab fab-pcb fab-smt
3535
3636all:
3737        @echo "make what ? target: gen sch brd xpdf front back clean"
...... 
7777
7878# --- Industrial production ---------------------------------------------------
7979
80PCB_FILES = README-PCB $(NAME)-PCB_Edges.dxf $(NAME).drl \
81        $(NAME)-SilkS_Front.gto $(NAME)-Mask_Front.gts \
82        $(NAME)-Front.gtl $(NAME)-Back.gbl $(NAME)-Mask_Back.gbs \
83        $(NAME)-PCB_Edges.gbr
80GERBERS = $(NAME)-SilkS_Front.gto $(NAME)-Mask_Front.gts \
81      $(NAME)-Front.gtl $(NAME)-Back.gbl $(NAME)-Mask_Back.gbs \
82      $(NAME)-PCB_Edges.gbr
8483
85SMT_FILES = README-SMT $(NAME)-bom.csv $(NAME)-pos.csv
84PCB_FILES = README-PCB $(NAME)-front.png $(NAME)-back.png \
85        $(NAME)-PCB_Edges.dxf $(NAME).drl $(GERBERS)
8686
87gerber:
87SMT_FILES = README-SMT $(NAME)-front.png $(NAME)-bom.csv $(NAME)-pos.csv
88
89gerber: $(GERBERS)
90
91$(GERBERS): $(NAME).brd Makefile
8892        pcbnew --plot=gerber --origin=aux \
8993          -l `pcbnew --list-layers $(BRD) | tr '\012' ,` \
9094          --fill-all-zones --exclude-pcb-edge \
...... 
138142
139143# --- Overview images ---------------------------------------------------------
140144
141overview: gerber
142        $(PRETTYGERBV) $(NAME) all overview.png
145$(NAME)-front.png: gerber
146        $(PRETTYGERBV) $(NAME) front $(NAME)-front.png
147
148$(NAME)-back.png: gerber
149        $(PRETTYGERBV) $(NAME) back $(NAME)-back.png
150
151$(NAME)-overview.png: gerber
152        $(PRETTYGERBV) $(NAME) all $(NAME)-overview.png
143153
144uoverview: overview
145        qippl overview.png wpan/tmp/$(NAME)-$(VERSION)-overview.png
154uoverview: $(NAME)-overview.png
155        qippl $(NAME)-overview.png \
156          wpan/tmp/$(NAME)-$(VERSION)-overview.png
146157
147158# --- Cleanup -----------------------------------------------------------------
148159
...... 
154165        rm -f $(NAME)-Back.gbl $(NAME)-Mask_Back.gbs
155166        rm -f $(NAME)-SilkS_Back.gbo $(NAME)-SoldP_Back.gbp
156167        rm -f $(NAME)-Comments.gbr $(NAME)-Drawings.gbr
157        rm -f overview.png
168        rm -f $(NAME)-overview.png $(NAME)-front.png $(NAME)-back.png
158169        rm -f $(NAME)Front.pos $(NAME)-pos.csv
159170
160171spotless:: clean

Archive Download the corresponding diff file



interactive