Root/modules/spacer.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 copper {
4    loop if = 1, copper
5
6    __2: vec @(disc/2, -disc/2)
7    __3: vec @(-disc/2, disc/2)
8    rpad "1" . __2 bare
9}
10
11package "SPACER-$nominal-$disc-$keepout$type"
12unit auto
13
14table
15    { nominal }
16    { 3mm }
17    { 4mm }
18
19table
20    { type, copper }
21    { "", 1 }
22    { "-BARE", 0 }
23
24set hole = nominal+0.2mm
25
26table
27    { disc }
28    { 7mm }
29    { 8mm }
30    { 9mm }
31
32set area = 10mm
33
34table
35    { keepout }
36    { 7.5mm }
37    { 9.5mm }
38    { 10mm }
39
40set w = 5mil
41
42loop if = 0.01, (keepout-disc)/10mm
43
44__0: vec @(hole/2, hole/2)
45__1: vec @(-hole/2, -hole/2)
46hole . __0
47__4: vec @(0mm, -keepout/2)
48__3: vec @(0mm, keepout/2)
49circ @ . w
50frame copper @
51measy __1 >> __0 keepout/2+1mm
52measy copper.__2 >> copper.__3 disc+keepout/2+0.5mm
53meas __4 >> __3 keepout+1mm
54

Archive Download this file

Branches:
master



interactive