mirror of
git://projects.qi-hardware.com/kicad-libs.git
synced 2024-11-25 18:05:55 +02:00
spacer.fpd: added packages of SPACER-$nominal-$disc-$keepout$type
based on Werner Almesberger's work: http://projects.qi-hardware.com/index.php/p/wernermisc/source/tree/master/labsw/modules/spacer.fpd
This commit is contained in:
parent
c456f08cb1
commit
0f80888e7e
11
modules/INFO
11
modules/INFO
@ -329,6 +329,17 @@ N: mmst3904
|
||||
# http://www.nxp.com/packages/SOT341-1.html
|
||||
# http://www.nxp.com/documents/reflow_soldering/SSOP-TSSOP-VSO-REFLOW.pdf
|
||||
|
||||
# mechanical mounting holes
|
||||
F: spacer
|
||||
#
|
||||
# - SPACER-$nominal-$disc-$keepout$type
|
||||
# nominal --> hole dia.
|
||||
# disc --> copper dia.
|
||||
# keepout --> keepout dia.
|
||||
# type --> "-BARE" : no copper area
|
||||
# --> "" : with copper area
|
||||
#
|
||||
|
||||
# "Generic" simple SSOP
|
||||
F: ssop
|
||||
#
|
||||
|
50
modules/spacer.fpd
Normal file
50
modules/spacer.fpd
Normal file
@ -0,0 +1,50 @@
|
||||
/* MACHINE-GENERATED ! */
|
||||
|
||||
frame copper {
|
||||
loop if = 1, copper
|
||||
|
||||
__2: vec @(disc/2, -disc/2)
|
||||
__3: vec @(-disc/2, disc/2)
|
||||
rpad "1" . __2
|
||||
}
|
||||
|
||||
package "SPACER-$nominal-$disc-$keepout$type"
|
||||
unit auto
|
||||
|
||||
table
|
||||
{ nominal }
|
||||
{ 3mm }
|
||||
{ 4mm }
|
||||
|
||||
table
|
||||
{ type, copper }
|
||||
{ "", 1 }
|
||||
{ "-BARE", 0 }
|
||||
|
||||
set hole = nominal+0.2mm
|
||||
|
||||
table
|
||||
{ disc }
|
||||
{ 7mm }
|
||||
{ 8mm }
|
||||
{ 9mm }
|
||||
|
||||
set area = 10mm
|
||||
|
||||
table
|
||||
{ keepout }
|
||||
{ 9.5mm }
|
||||
{ 10mm }
|
||||
|
||||
set w = 5mil
|
||||
|
||||
__0: vec @(hole/2, hole/2)
|
||||
__1: vec @(-hole/2, -hole/2)
|
||||
hole . __0
|
||||
__4: vec @(0mm, -keepout/2)
|
||||
__3: vec @(0mm, keepout/2)
|
||||
circ @ . w
|
||||
frame copper @
|
||||
measy __1 >> __0 keepout/2+1mm
|
||||
measy copper.__2 >> copper.__3 disc+keepout/2+0.5mm
|
||||
meas __4 >> __3 keepout+1mm
|
Loading…
Reference in New Issue
Block a user