mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2024-11-24 15:20:17 +02:00
42 lines
596 B
Plaintext
42 lines
596 B
Plaintext
/* MACHINE-GENERATED ! */
|
|
|
|
frame copper {
|
|
loop if = 1, copper
|
|
|
|
__2: vec @(disc/2, -disc/2)
|
|
__3: vec @(-disc/2, disc/2)
|
|
rpad "1" . __2 bare
|
|
}
|
|
|
|
package "SPACER-$nominal$type"
|
|
unit mm
|
|
|
|
table
|
|
{ nominal }
|
|
{ 3mm }
|
|
{ 4mm }
|
|
|
|
table
|
|
{ type, copper }
|
|
{ "", 1 }
|
|
{ "-BARE", 0 }
|
|
|
|
set hole = nominal+0.2mm
|
|
|
|
set disc = 9mm
|
|
|
|
set area = 10mm
|
|
|
|
set w = 5mil
|
|
|
|
__0: vec @(hole/2, hole/2)
|
|
__1: vec @(-hole/2, -hole/2)
|
|
hole . __0
|
|
__4: vec @(area/2, 0mm)
|
|
circ @ . w
|
|
__2: vec @(-area/2, 0mm)
|
|
frame copper @
|
|
measx copper.__3 >> copper.__2 3mm
|
|
measx __1 >> __0 6mm+nominal/2
|
|
measx __2 >> __4 9mm
|