Root/modules/xlr-plug.fpd

Source at commit 7f3f9267cb007e13eca0af273f9eedad0c6c5659 created 1 year 6 months ago.
By Werner Almesberger, components/stm32.lib: add STM32L052x6/8 in QFN32 (KxU) package
1/* MACHINE-GENERATED ! */
2
3frame outline {
4    __0: vec @(-rightx, -(reary-edgey))
5    __1: vec @(leftx, edgey)
6    rect __0 . w
7    __2: vec @(panelcutoutx/2, edgey+fronty)
8    __4: vec .(0mm, -fronty)
9    line __2 . w
10    __3: vec @(-panelcutoutx/2, edgey+fronty)
11    line __2 . w
12    __5: vec .(0mm, -fronty)
13    line __3 . w
14    __6: vec @(screwx/2, edgey)
15    __7: vec @(-screwx/2, edgey)
16}
17
18package "XLR-PANEL-HORIZ/PCB-PLUG"
19unit mm
20
21set x2 = 3.81mm
22
23set x1 = 3.81mm
24
25set edgey = 12.7mm
26
27set r1 = 1.6mm
28
29set r3 = 1.2mm
30
31set factor = 1.6
32
33set fronty = 2.7mm
34
35set reary = 19.5mm
36
37set leftx = 12.8mm
38
39set rightx = 12.5mm
40
41set w = 5mil
42
43set panelcutoutx = 22mm
44
45set screwx = 19.8mm
46
47__0: vec @(x1, -(17.78mm-edgey))
48__1: vec @(0mm, -(17.78mm-edgey))
49__2: vec @(-x2, -(17.78mm-edgey))
50__3: vec @(0mm, edgey)
51__4: vec .(-x1, -x1)
52__5: vec __3(x2, -8.89mm)
53__6: vec __1(r3/2, r3/2)
54__7: vec __1(-r3/2, -r3/2)
55hole . __6
56__8: vec __0(r1/2, r1/2)
57__9: vec __0(-r1/2, -r1/2)
58hole . __8
59__10: vec __2(r1/2, r1/2)
60__11: vec __2(-r1/2, -r1/2)
61hole . __10
62__14: vec __4(r1/2, r1/2)
63__15: vec __4(-r1/2, -r1/2)
64hole . __14
65__12: vec __5(r1/2, r1/2)
66__13: vec __5(-r1/2, -r1/2)
67hole . __12
68__16: vec __0(factor*r1/2, -factor*r1/2)
69__17: vec __0(-factor*r1/2, factor*r1/2)
70rpad "1" . __16 bare
71__18: vec __2(factor*r1/2, -factor*r1/2)
72__19: vec __2(-factor*r1/2, factor*r1/2)
73rpad "2" . __18 bare
74__20: vec __1(factor*r3/2, -factor*r3/2)
75__21: vec __1(-factor*r3/2, factor*r3/2)
76rpad "3" . __20 bare
77__22: vec __3(0mm, fronty)
78__23: vec @(r3/2, r3/2)
79__24: vec @(-r3/2, -r3/2)
80hole . __23
81__25: vec @(factor*r3/2, -factor*r3/2)
82__26: vec @(-factor*r3/2, factor*r3/2)
83rpad "4" . __25 bare
84__27: vec @(-2.5mm, 0mm)
85frame outline @
86measy __9 >> __8 -(factor+2)*r1/2
87measy __7 >> __6 -(factor+2.5)*r3/2
88measy __0 >> __2 2*x1+(factor+1)*r1/2
89measy __1 >> __2 x1+(factor+2)*r1/2
90measy __2 >> __3 (factor+2)*r1/2
91measy __4 >> __3
92measx __4 >> __3 x1+0.5mm
93measx __3 >> __5 0.5mm
94measy __5 >> __3 -r1
95meas __3 >> __22 rightx+0.8mm
96measy outline.__0 >> __3 0.8mm
97measx outline.__0 >> __22 -1mm
98meas outline.__3 >> outline.__2 0.8mm
99meas __3 >> outline.__1 -reary-1mm
100meas outline.__7 >> outline.__6 fronty/2
101measx outline.__0 >> outline.__1 -2mm
102measy __27 >> __3
103

Archive Download this file

Branches:
master



interactive