Root/modules/pads-array.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 pad {
4    __0: vec @(x/2, y/2)
5    __1: vec @(-x/2, -y/2)
6    rpad "$n" . __0 bare
7}
8
9package "PAD_${name}_${N}x$e"
10unit auto
11
12table
13    { name, x, y }
14    { "2mm", 2mm, 0.5mm }
15    { "60x60", 60mil, 60mil }
16    { "80x80", 80mil, 80mil }
17    { "120x60", 120mil, 60mil }
18
19table
20    { ?name, e, Nmax }
21    { "2mm", 50mil, 20 }
22    { "60x60", 100mil, 10 }
23    { "80x80", 100mil, 10 }
24    { "120x60", 100mil, 10 }
25
26loop N = 2, Nmax
27
28loop n = 1, N
29
30__0: vec @(0mm, e*(n-1))
31frame pad .
32measx pad.__1 -> pad.__0 -1mm
33measy pad.__1 -> pad.__0 1mm
34measy __0 >> __0 -x/2-2mm
35measy __0 -> __0 -x/2-1mm
36

Archive Download this file

Branches:
master



interactive