Date:2012-06-13 09:51:49 (7 years 3 months ago)
Author:Adam Wang
Commit:9f07d100ad67e31e495e43fec39f6b8167376f4a
Message:dcjack.fpd: added DCJACK-${L}x${W}

Files: modules/INFO (1 diff)
modules/dcjack.fpd (1 diff)

Change Details

modules/INFO
4848# http://www.kemet.com/kemet/web/homepage/kechome.nsf/vapubfiles/KEM_TC102_LOWESR.pdf/$file/KEM_TC102_LOWESR.pdf
4949#
5050
51# SOCKET, PCB, DC POWER JACK
52F: dcjack
53#
54# - DCJACK-${L}x${W}, package drawing, land pattern
55# for example SCPRE SCD441CPS011B00G
56# http://downloads.qi-hardware.com/hardware/milkymist_one/datasheet/Supply/SCD441CPS011B00G.pdf
57#
58
5159# SOCKET, DIN, PCB, 180, 5PIN, 5WAYS, 45 DEGREE
5260F: din-5
5361#
modules/dcjack.fpd
1/* MACHINE-GENERATED ! */
2
3frame outline {
4    __0: vec @(0mm, W/2)
5    __4: vec __0(p2x+px/2, 0mm)
6    line __0 . w
7    __1: vec @(L, -W/2)
8    __5: vec __1(0mm, W/2-factor*py/2)
9    line . __1 w
10    __2: vec @(fronthead, -W/2)
11    rect __0 . w
12    line __1 . w
13    __3: vec @(L, W/2)
14    __6: vec __3(0mm, -(W/2-factor*py/2))
15    line __3 . w
16    __7: vec __3(-factor*px/2, 0mm)
17    line . __3 w
18}
19
20package "DCJACK-${L}x${W}"
21unit auto
22
23set p1x = 13.8mm
24
25set p2x = 7.5mm
26
27set p3x = 10.8mm
28
29set p3y = 5mm
30
31set L = 14.4mm
32
33set W = 9mm
34
35set px = 1mm
36
37set py = 3.2mm
38
39set factor = 1.6
40
41set fronthead = 3.5mm
42
43set w = 5mil
44
45__0: vec @(p2x, 0mm)
46__1: vec @(p3x, 0mm)
47__11: vec __1(0mm, p3y)
48__2: vec @(p1x, 0mm)
49__3: vec __0(px/2, py/2)
50__4: vec __0(-px/2, -py/2)
51hole . __3
52__5: vec __2(px/2, py/2)
53__6: vec __2(-px/2, -py/2)
54hole . __5
55__7: vec __0(-factor*px/2, factor*py/2)
56__8: vec __2(-factor*px/2, factor*py/2)
57__9: vec __2(factor*px/2, -factor*py/2)
58rpad "1" __8 .
59__10: vec __0(factor*px/2, -factor*py/2)
60rpad "2" __7 .
61__12: vec .(py/2, px/2)
62__13: vec __11(-py/2, -px/2)
63hole . __12
64__14: vec __11(-factor*py/2, factor*px/2)
65__15: vec __11(factor*py/2, -factor*px/2)
66rpad "3" __14 .
67frame outline @
68measx outline.__0 >> __0 1mm
69measx outline.__0 >> __1 1.5mm
70measx outline.__0 >> __2 2mm
71measx __4 >> __3 -py/2
72measy __4 >> __3 factor*px/2
73meas outline.__1 >> outline.__3 -1mm
74meas outline.__0 >> outline.__3 2.5mm
75measx outline.__0 >> outline.__2 0.6mm

Archive Download the corresponding diff file

Branches:
master



interactive