mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2024-11-15 10:36:17 +02:00
43 lines
508 B
Plaintext
43 lines
508 B
Plaintext
/* MACHINE-GENERATED ! */
|
|
|
|
frame pin {
|
|
__0: vec @(d/2, d/2)
|
|
__1: vec @(d/2*aspect, d/2*aspect)
|
|
__2: vec @(-d/2, -d/2)
|
|
hole . __0
|
|
__3: vec @(-d/2*aspect, -d/2*aspect)
|
|
rpad "$n" . __1
|
|
}
|
|
|
|
frame pins {
|
|
table
|
|
{ n, y }
|
|
{ 2*nx+1, -py/2 }
|
|
{ 2*nx+2, py/2 }
|
|
|
|
set x = (nx-(N-2)/4)*px
|
|
|
|
loop nx = 0, N/2-1
|
|
|
|
__0: vec @(x, y)
|
|
frame pin .
|
|
}
|
|
|
|
package "HE10-$N"
|
|
unit mm
|
|
|
|
table
|
|
{ N }
|
|
{ 2 }
|
|
{ 20 }
|
|
|
|
table
|
|
{ px, py }
|
|
{ 2.54mm, 2.54mm }
|
|
|
|
set d = 0.8mm
|
|
|
|
set aspect = 2.5
|
|
|
|
frame pins @
|