mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2024-11-25 17:37:31 +02:00
46 lines
639 B
Plaintext
46 lines
639 B
Plaintext
|
/* MACHINE-GENERATED ! */
|
||
|
|
||
|
frame pins {
|
||
|
table
|
||
|
{ n, dx, dy }
|
||
|
{ 1, 1, -1 }
|
||
|
{ 2, -1, -1 }
|
||
|
{ 3, 1, 1 }
|
||
|
{ 4, -1, 1 }
|
||
|
|
||
|
__0: vec @(dx*x/2, dy*y/2)
|
||
|
__1: vec .(d/2, d/2)
|
||
|
__2: vec __0(d/2*aspect, d/2*aspect)
|
||
|
__3: vec __0(-d/2, -d/2)
|
||
|
hole . __1
|
||
|
__4: vec __0(-d/2*aspect, -d/2*aspect)
|
||
|
rpad "$n" . __2
|
||
|
}
|
||
|
|
||
|
frame outline {
|
||
|
__0: vec @(s/2, s/2)
|
||
|
__1: vec @(-s/2, -s/2)
|
||
|
rect . __0 w
|
||
|
__2: vec @(b/2, b/2)
|
||
|
circ @ . w
|
||
|
__3: vec @(-b/2, -b/2)
|
||
|
}
|
||
|
|
||
|
package "FSM100"
|
||
|
unit mm
|
||
|
|
||
|
table
|
||
|
{ x, y, d }
|
||
|
{ 12.5mm, 5mm, 1.3mm }
|
||
|
|
||
|
set w = 5mil
|
||
|
|
||
|
set aspect = 2.5
|
||
|
|
||
|
table
|
||
|
{ s, b }
|
||
|
{ 12mm, 6.7mm }
|
||
|
|
||
|
frame outline @
|
||
|
frame pins @
|