Date:2012-07-14 04:01:03 (7 years 10 days ago)
Author:Werner Almesberger
Commit:71075ec7050b7f39d1124ff03cfa62a35e67553c
Message:modules/pads-array.fpd: added measurements; enabled more pads types

We now also generate arrays of 2-10 60x60mil, 80x80mil, and 60x120mil
pads, all with a 100 mil spacing.
Files: modules/HIERARCHY (1 diff)
modules/pads-array.fpd (3 diffs)

Change Details

modules/HIERARCHY
1919                PAD_R_120x60
2020                PAD_S_150x150
2121            Array
22                PAD_2mm_2x50mil
23                PAD_2mm_3x50mil
24                PAD_2mm_4x50mil
25                PAD_2mm_5x50mil
26                PAD_2mm_6x50mil
27                PAD_2mm_7x50mil
28                PAD_2mm_8x50mil
29                PAD_2mm_9x50mil
30                PAD_2mm_10x50mil
31                PAD_2mm_11x50mil
32                PAD_2mm_12x50mil
33                PAD_2mm_13x50mil
34                PAD_2mm_14x50mil
35                PAD_2mm_15x50mil
36                PAD_2mm_16x50mil
37                PAD_2mm_17x50mil
38                PAD_2mm_18x50mil
39                PAD_2mm_19x50mil
40                PAD_2mm_20x50mil
22                2mm
23                    PAD_2mm_2x50mil
24                    PAD_2mm_3x50mil
25                    PAD_2mm_4x50mil
26                    PAD_2mm_5x50mil
27                    PAD_2mm_6x50mil
28                    PAD_2mm_7x50mil
29                    PAD_2mm_8x50mil
30                    PAD_2mm_9x50mil
31                    PAD_2mm_10x50mil
32                    PAD_2mm_11x50mil
33                    PAD_2mm_12x50mil
34                    PAD_2mm_13x50mil
35                    PAD_2mm_14x50mil
36                    PAD_2mm_15x50mil
37                    PAD_2mm_16x50mil
38                    PAD_2mm_17x50mil
39                    PAD_2mm_18x50mil
40                    PAD_2mm_19x50mil
41                    PAD_2mm_20x50mil
42                60x60mil
43                    PAD_60x60_2x100mil
44                    PAD_60x60_3x100mil
45                    PAD_60x60_4x100mil
46                    PAD_60x60_5x100mil
47                    PAD_60x60_6x100mil
48                    PAD_60x60_7x100mil
49                    PAD_60x60_8x100mil
50                    PAD_60x60_9x100mil
51                    PAD_60x60_10x100mil
52                80x80mil
53                    PAD_80x80_2x100mil
54                    PAD_80x80_3x100mil
55                    PAD_80x80_4x100mil
56                    PAD_80x80_5x100mil
57                    PAD_80x80_6x100mil
58                    PAD_80x80_7x100mil
59                    PAD_80x80_8x100mil
60                    PAD_80x80_9x100mil
61                    PAD_80x80_10x100mil
62                120x60mil
63                    PAD_120x60_2x100mil
64                    PAD_120x60_3x100mil
65                    PAD_120x60_4x100mil
66                    PAD_120x60_5x100mil
67                    PAD_120x60_6x100mil
68                    PAD_120x60_7x100mil
69                    PAD_120x60_8x100mil
70                    PAD_120x60_9x100mil
71                    PAD_120x60_10x100mil
4172    SMT
4273        8:10-SOCKET-RA
4374        miniUSB_B
modules/pads-array.fpd
77}
88
99package "PAD_${name}_${N}x$e"
10unit mm
10unit auto
1111
1212table
1313    { name, x, y }
...... 
1919table
2020    { ?name, e, Nmax }
2121    { "2mm", 50mil, 20 }
22    { "60x60", 0mm, 1 }
23    { "80x80", 0mm, 1 }
24    { "120x60", 0mm, 1 }
22    { "60x60", 100mil, 10 }
23    { "80x80", 100mil, 10 }
24    { "120x60", 100mil, 10 }
2525
2626loop N = 2, Nmax
2727
...... 
2929
3030__0: vec @(0mm, e*(n-1))
3131frame 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

Archive Download the corresponding diff file

Branches:
master



interactive