2012-06-10 02:09:36 +03:00
|
|
|
/* MACHINE-GENERATED ! */
|
|
|
|
|
|
|
|
frame pad {
|
|
|
|
__0: vec @(x/2, y/2)
|
|
|
|
__1: vec @(-x/2, -y/2)
|
|
|
|
rpad "$n" . __0 bare
|
|
|
|
}
|
|
|
|
|
|
|
|
package "PAD_${name}_${N}x$e"
|
2012-07-14 05:01:03 +03:00
|
|
|
unit auto
|
2012-06-10 02:09:36 +03:00
|
|
|
|
|
|
|
table
|
|
|
|
{ name, x, y }
|
|
|
|
{ "2mm", 2mm, 0.5mm }
|
|
|
|
{ "60x60", 60mil, 60mil }
|
|
|
|
{ "80x80", 80mil, 80mil }
|
|
|
|
{ "120x60", 120mil, 60mil }
|
|
|
|
|
|
|
|
table
|
2012-06-10 17:31:08 +03:00
|
|
|
{ ?name, e, Nmax }
|
2012-06-10 02:09:36 +03:00
|
|
|
{ "2mm", 50mil, 20 }
|
2012-07-14 05:01:03 +03:00
|
|
|
{ "60x60", 100mil, 10 }
|
|
|
|
{ "80x80", 100mil, 10 }
|
|
|
|
{ "120x60", 100mil, 10 }
|
2012-06-10 02:09:36 +03:00
|
|
|
|
2012-06-10 17:31:08 +03:00
|
|
|
loop N = 2, Nmax
|
|
|
|
|
2012-06-10 02:09:36 +03:00
|
|
|
loop n = 1, N
|
|
|
|
|
|
|
|
__0: vec @(0mm, e*(n-1))
|
|
|
|
frame pad .
|
2012-07-14 05:01:03 +03:00
|
|
|
measx pad.__1 -> pad.__0 -1mm
|
|
|
|
measy pad.__1 -> pad.__0 1mm
|
|
|
|
measy __0 >> __0 -x/2-2mm
|
|
|
|
measy __0 -> __0 -x/2-1mm
|