mirror of
git://projects.qi-hardware.com/kicad-libs.git
synced 2024-11-22 08:51:53 +02:00
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.
This commit is contained in:
parent
8114d1d93f
commit
71075ec705
@ -19,6 +19,7 @@ Connector
|
||||
PAD_R_120x60
|
||||
PAD_S_150x150
|
||||
Array
|
||||
2mm
|
||||
PAD_2mm_2x50mil
|
||||
PAD_2mm_3x50mil
|
||||
PAD_2mm_4x50mil
|
||||
@ -38,6 +39,36 @@ Connector
|
||||
PAD_2mm_18x50mil
|
||||
PAD_2mm_19x50mil
|
||||
PAD_2mm_20x50mil
|
||||
60x60mil
|
||||
PAD_60x60_2x100mil
|
||||
PAD_60x60_3x100mil
|
||||
PAD_60x60_4x100mil
|
||||
PAD_60x60_5x100mil
|
||||
PAD_60x60_6x100mil
|
||||
PAD_60x60_7x100mil
|
||||
PAD_60x60_8x100mil
|
||||
PAD_60x60_9x100mil
|
||||
PAD_60x60_10x100mil
|
||||
80x80mil
|
||||
PAD_80x80_2x100mil
|
||||
PAD_80x80_3x100mil
|
||||
PAD_80x80_4x100mil
|
||||
PAD_80x80_5x100mil
|
||||
PAD_80x80_6x100mil
|
||||
PAD_80x80_7x100mil
|
||||
PAD_80x80_8x100mil
|
||||
PAD_80x80_9x100mil
|
||||
PAD_80x80_10x100mil
|
||||
120x60mil
|
||||
PAD_120x60_2x100mil
|
||||
PAD_120x60_3x100mil
|
||||
PAD_120x60_4x100mil
|
||||
PAD_120x60_5x100mil
|
||||
PAD_120x60_6x100mil
|
||||
PAD_120x60_7x100mil
|
||||
PAD_120x60_8x100mil
|
||||
PAD_120x60_9x100mil
|
||||
PAD_120x60_10x100mil
|
||||
SMT
|
||||
8:10-SOCKET-RA
|
||||
miniUSB_B
|
||||
|
@ -7,7 +7,7 @@ frame pad {
|
||||
}
|
||||
|
||||
package "PAD_${name}_${N}x$e"
|
||||
unit mm
|
||||
unit auto
|
||||
|
||||
table
|
||||
{ name, x, y }
|
||||
@ -19,9 +19,9 @@ table
|
||||
table
|
||||
{ ?name, e, Nmax }
|
||||
{ "2mm", 50mil, 20 }
|
||||
{ "60x60", 0mm, 1 }
|
||||
{ "80x80", 0mm, 1 }
|
||||
{ "120x60", 0mm, 1 }
|
||||
{ "60x60", 100mil, 10 }
|
||||
{ "80x80", 100mil, 10 }
|
||||
{ "120x60", 100mil, 10 }
|
||||
|
||||
loop N = 2, Nmax
|
||||
|
||||
@ -29,3 +29,7 @@ loop n = 1, N
|
||||
|
||||
__0: vec @(0mm, e*(n-1))
|
||||
frame pad .
|
||||
measx pad.__1 -> pad.__0 -1mm
|
||||
measy pad.__1 -> pad.__0 1mm
|
||||
measy __0 >> __0 -x/2-2mm
|
||||
measy __0 -> __0 -x/2-1mm
|
||||
|
Loading…
Reference in New Issue
Block a user