mirror of
git://projects.qi-hardware.com/xue.git
synced 2024-11-10 00:13:10 +02:00
75 lines
1.1 KiB
Plaintext
75 lines
1.1 KiB
Plaintext
|
/* MACHINE-GENERATED ! */
|
||
|
|
||
|
frame ball {
|
||
|
__0: vec @((col-N/2-0.5)*e, (N/2-row+0.5)*e)
|
||
|
__1: vec .(-d/2, -d/2)
|
||
|
__2: vec __0(d/2, d/2)
|
||
|
rpad "$rname$col" __1 .
|
||
|
}
|
||
|
|
||
|
frame cmid_full {
|
||
|
table
|
||
|
{ rname, row }
|
||
|
{ "A", 1 }
|
||
|
{ "B", 2 }
|
||
|
{ "C", 3 }
|
||
|
{ "D", 4 }
|
||
|
{ "E", 5 }
|
||
|
{ "F", 6 }
|
||
|
{ "G", 7 }
|
||
|
{ "H", 8 }
|
||
|
{ "J", 9 }
|
||
|
{ "K", 10 }
|
||
|
{ "L", 11 }
|
||
|
{ "M", 12 }
|
||
|
{ "N", 13 }
|
||
|
{ "P", 14 }
|
||
|
{ "R", 15 }
|
||
|
{ "T", 16 }
|
||
|
{ "U", 17 }
|
||
|
{ "V", 18 }
|
||
|
{ "W", 19 }
|
||
|
{ "Y", 20 }
|
||
|
{ "AA", 21 }
|
||
|
{ "AB", 22 }
|
||
|
|
||
|
loop col = 1, 22
|
||
|
|
||
|
frame ball @
|
||
|
}
|
||
|
|
||
|
frame outline {
|
||
|
__0: vec @(-Ox/2, -Oy/2)
|
||
|
__1: vec @(Ox/2, Oy/2)
|
||
|
rect __0 . silk
|
||
|
}
|
||
|
|
||
|
frame one_mark {
|
||
|
__0: vec @(-Ox/2, Oy/2)
|
||
|
__1: vec @(-Ox/2-0.8mm, Oy/2+0.8mm)
|
||
|
rect __0 . silk
|
||
|
}
|
||
|
|
||
|
package "FGG484bga-p10"
|
||
|
unit mm
|
||
|
set e = 1mm
|
||
|
|
||
|
set N = 22
|
||
|
|
||
|
set d = 0.4mm
|
||
|
|
||
|
set Ox = 23mm
|
||
|
|
||
|
set Oy = 23mm
|
||
|
|
||
|
set silk = 0.1mm
|
||
|
|
||
|
frame cmid_full @
|
||
|
frame outline @
|
||
|
frame one_mark @
|
||
|
measy outline.__0 >> outline.__1 1.5mm
|
||
|
measx outline.__0 >> outline.__1 Oy+1.5mm
|
||
|
measy ball.__0 >> ball.__0 1.5mm
|
||
|
measx ball.__0 >> ball.__0 Oy
|
||
|
measx ball.__0 -> ball.__0 -1.5mm
|