1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-11-28 19:01:53 +02:00
wernermisc/labsw/modules/relay.fpd

57 lines
752 B
Plaintext

/* MACHINE-GENERATED ! */
frame pin {
__0: vec @(hole/2, hole/2)
__1: vec @(-hole/2, -hole/2)
hole . __0
__2: vec @(ratio*hole/2, -ratio*hole/2)
__3: vec @(-ratio*hole/2, ratio*hole/2)
rpad "$name" . __2
}
frame pins {
table
{ name, dy, dx }
{ "A1", 1, 0 }
{ "A2", -1, 0 }
{ "12A", 1, 6 }
{ "12B", -1, 6 }
{ "11A", 1, 8 }
{ "11B", -1, 8 }
{ "14A", 1, 10 }
{ "14B", -1, 10 }
set x = dx*grid
set y = dy*grid*1.5
__0: vec @(x, y)
frame pin .
}
frame outline {
set x0 = -grid
set x1 = x0+29mm
set y = 2.5*grid
__1: vec @(x0, -y)
__0: vec @(x1, y)
rect __1 . w
}
package "RELAY"
unit mm
set grid = 2.52mm
set hole = 1.3mm
set ratio = 2.5
set w = 5mil
frame pins @
frame outline @