Date:2011-08-14 09:02:18 (10 years 2 months ago)
Author:Werner Almesberger
Commit:dc3baf5c152aef1395475e638e4517063924a0c1
Message:Moved usb-a-pcb.fpd from f32xbase/c2usb to kicad-libs (incoming)

Files: AUTHORS (1 diff)
modules/INFO (1 diff)
modules/Makefile (1 diff)
modules/usb-a-pcb.fpd (1 diff)

Change Details

AUTHORS
2727  modules/fiducial.fpd
2828  modules/qfn.fpd
2929  modules/qfp.fpd
30  moduled/usb_a_plug_smt.fpd
30  modules/usb-a-pcb.fpd
31  modules/usb_a_plug_smt.fpd
modules/INFO
8686# remains valid.)
8787#
8888F: usb_a_plug_smt
89
90# USB 2.0 from usb_20_040908, page 99
91F: usb-a-pcb
modules/Makefile
1MODULES=8_10-card fiducial mini-usb pads qfn qfp stdpass usb_a_plug_smt
1MODULES=8_10-card fiducial mini-usb pads qfn qfp stdpass \
2        usb-a-pcb usb_a_plug_smt
23
34.SUFFIXES: .fpd .mod
45.PHONY: all clean
modules/usb-a-pcb.fpd
1/* MACHINE-GENERATED ! */
2
3frame contacts {
4    table
5        { n, x, y, h }
6        { 1, c1, yl, hl }
7        { 2, c2, ys, hs }
8        { 3, -c2, ys, hs }
9        { 4, -c1, yl, hl }
10
11    table
12        { ys, yl }
13        { (b+bs)/2, (b+bl)/2 }
14
15    table
16        { hs, hl }
17        { b-bs, b-bl }
18
19    __0: vec @(x, y)
20    __1: vec .(s/2, h/2)
21    __2: vec __0(-s/2, -h/2)
22    pad "$n" . __1
23}
24
25frame outline {
26    set width = 5mil
27
28    __0: vec @(w/2, d/2)
29    __1: vec @(-w/2, -d/2)
30    __2: vec @(w/2, -d/2)
31    line __1 . width
32    line . __0 width
33    __3: vec @(-w/2, d/2)
34    line __1 . width
35}
36
37package "USB-A-PCB"
38unit mm
39
40table
41    { w, d }
42    { 12mm, 11.75mm }
43
44table
45    { s, c1, c2, b, bl, bs }
46    { 1mm, 3.5mm, 1mm, 8.65mm, b-7.41mm, b-6.41mm }
47
48__0: vec @(0mm, -d/2)
49frame contacts .
50frame outline @
51measy outline.__1 >> outline.__3 1mm
52measx outline.__3 >> outline.__0 1mm
53measx __0 -> contacts.__0 -1mm
54measx __0 >> contacts.__0 -2mm
55measy outline.__2 -> contacts.__2 -1mm
56measy outline.__2 >> contacts.__2 -2mm
57measx contacts.__2 -> contacts.__1 -1mm
58measy outline.__2 >> contacts.__1 -3mm

Archive Download the corresponding diff file

Branches:
master



interactive