1
0
mirror of git://projects.qi-hardware.com/kicad-libs.git synced 2024-07-04 15:15:29 +03:00

modules/pogo.fpd, HIERARCHY: add -SILK variants (with silk screen circle)

This commit is contained in:
Werner Almesberger 2015-02-19 05:12:59 -03:00
parent 34bf59dd80
commit e589e56eeb
2 changed files with 31 additions and 1 deletions

View File

@ -223,14 +223,23 @@ Connector
HDR-20x2-200mil
Pogo
POGO-0906
POGO-0906-SILK
POGO-0930
POGO-0930-SILK
POGO-0914
POGO-0914-SILK
POGO-0908
POGO-0908-SILK
POGO-0932
POGO-0932-SILK
POGO-0901
POGO-0901-SILK
POGO-0929
POGO-0929-SILK
POGO-0922
POGO-0922-SILK
POGO-0956
POGO-0956-SILK
Discrete_2P
SMT
Standard

View File

@ -10,6 +10,16 @@ frame hole {
hole . __0
}
frame silk {
set r = (cd*aspect+clear)/2
loop if = 1, silk
__0: vec @(r, 0mm)
circ @ . w
__1: vec @(-r, 0mm)
}
frame pad {
set r = cd*aspect/2
@ -18,7 +28,7 @@ frame pad {
rpad "1" . __0
}
package "POGO-$name"
package "POGO-$name$ext"
unit mm
table
@ -37,7 +47,18 @@ set aspect = 1.4
set slack = 0.05mm
set clear = 0.5mm
table
{ silk, ext }
{ 0, "" }
{ 1, "-SILK" }
set w = 5mil
frame pad @
frame hole @
frame silk @
measx pad.__1 >> pad.__0 -1mm
measx hole.__1 >> hole.__0 -(cd*aspect-ph-slack)/2-0.5mm
measx silk.__1 >> silk.__0 cd*aspect/2+1mm