Root/modules/pogo.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 hole {
4    set r = (ph+slack)/2
5
6    loop loop = 1, pin
7
8    __0: vec @(r, r)
9    __1: vec @(-r, -r)
10    hole . __0
11}
12
13frame silk {
14    set r = (cd*aspect+clear)/2
15
16    loop if = 1, silk
17
18    __0: vec @(r, 0mm)
19    circ @ . w
20    __1: vec @(-r, 0mm)
21}
22
23frame pad {
24    set r = cd*aspect/2
25
26    __0: vec @(r, r)
27    __1: vec @(-r, -r)
28    rpad "1" . __0
29}
30
31package "POGO-$name$ext"
32unit mm
33
34table
35    { name, cd, pin, ph }
36    { "0906", 1.83mm, 1, 0.51mm }
37    { "0930", 1.83mm, 1, 0.51mm }
38    { "0914", 1.4mm, 1, 0.74mm }
39    { "0908", 1.83mm, 1, 0.51mm }
40    { "0932", 1.4mm, 1, 0.74mm }
41    { "0901", 1.4mm, 1, 0.74mm }
42    { "0929", 1.5mm, 1, 0.74mm }
43    { "0922", 1.52mm, 1, 0.74mm }
44    { "0956", 1.83mm, 1, 0.89mm }
45
46set aspect = 1.4
47
48set slack = 0.05mm
49
50set clear = 0.5mm
51
52table
53    { silk, ext }
54    { 0, "" }
55    { 1, "-SILK" }
56
57set w = 5mil
58
59frame pad @
60frame hole @
61frame silk @
62measx pad.__1 >> pad.__0 -1mm
63measx hole.__1 >> hole.__0 -(cd*aspect-ph-slack)/2-0.5mm
64measx silk.__1 >> silk.__0 cd*aspect/2+1mm
65

Archive Download this file

Branches:
master



interactive