Root/modules/dcjack.fpd

1/* MACHINE-GENERATED ! */
2
3frame outline {
4    __0: vec @(0mm, W/2)
5    __4: vec .(p2x+px/2, -W)
6    __1: vec @(L, -W/2)
7    __5: vec .(0mm, W/2-factor*py/2)
8    line . __1 w
9    __2: vec @(fronthead, -W/2)
10    rect __0 . w
11    line . __4 w
12    __3: vec @(L, W/2)
13    line __0 . w
14    __6: vec .(0mm, -(W/2-factor*py/2))
15    line __3 . w
16    __7: vec __1(-factor*px/2, 0mm)
17    line __1 . 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 .(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 . bare
59__10: vec __0(factor*px/2, -factor*py/2)
60rpad "2" __7 . bare
61__13: vec __11(-py/2, -px/2)
62__12: vec __11(py/2, px/2)
63hole __13 .
64__14: vec __11(-factor*py/2, factor*px/2)
65__15: vec __11(factor*py/2, -factor*px/2)
66rpad "3" __14 . bare
67frame outline @
68measy outline.__2 >> outline.__0 fronthead+1mm
69measy __11 >> __2 -(p1x-p3x+1.5mm)
70measy __4 >> __3 1mm
71measx __4 >> __3 -1.5mm
72measx outline.__0 >> __0 2mm
73measx outline.__0 >> __1 3mm
74measx outline.__0 >> __2 4mm
75measx outline.__0 >> outline.__2 1mm
76measx outline.__0 >> outline.__3 5mm
77

Archive Download this file

Branches:
master



interactive