mirror of
git://projects.qi-hardware.com/kicad-libs.git
synced 2024-11-22 08:44:59 +02:00
modules/: make pads of all fully through-hole components "bare"
This commit is contained in:
parent
faedf5694d
commit
00711fd4bc
@ -7,7 +7,7 @@ frame pin {
|
||||
|
||||
__0: vec @(Rr, Rr)
|
||||
__1: vec @(-Rr, -Rr)
|
||||
rpad "$name" . __0
|
||||
rpad "$name" . __0 bare
|
||||
__2: vec @(Rh, -Rh)
|
||||
__3: vec @(-Rh, Rh)
|
||||
hole . __2
|
||||
|
@ -55,15 +55,15 @@ hole . __5
|
||||
__7: vec __0(-factor*px/2, factor*py/2)
|
||||
__8: vec __2(-factor*px/2, factor*py/2)
|
||||
__9: vec __2(factor*px/2, -factor*py/2)
|
||||
rpad "1" __8 .
|
||||
rpad "1" __8 . bare
|
||||
__10: vec __0(factor*px/2, -factor*py/2)
|
||||
rpad "2" __7 .
|
||||
rpad "2" __7 . bare
|
||||
__13: vec __11(-py/2, -px/2)
|
||||
__12: vec __11(py/2, px/2)
|
||||
hole __13 .
|
||||
__14: vec __11(-factor*py/2, factor*px/2)
|
||||
__15: vec __11(factor*py/2, -factor*px/2)
|
||||
rpad "3" __14 .
|
||||
rpad "3" __14 . bare
|
||||
frame outline @
|
||||
measy outline.__2 >> outline.__0 fronthead+1mm
|
||||
measy __11 >> __2 -(p1x-p3x+1.5mm)
|
||||
|
@ -50,10 +50,10 @@ __6: vec __2(-shieldr/2, -shieldr/2)
|
||||
hole . __5
|
||||
__7: vec __2(-factor*shieldr/2, factor*shieldr/2)
|
||||
__8: vec __2(factor*shieldr/2, -factor*shieldr/2)
|
||||
rpad "6" __7 .
|
||||
rpad "6" __7 . bare
|
||||
__9: vec __1(-factor*shieldr/2, factor*shieldr/2)
|
||||
__10: vec __1(factor*shieldr/2, -factor*shieldr/2)
|
||||
rpad "7" __9 .
|
||||
rpad "7" __9 . bare
|
||||
__11: vec __0(leftx, 0mm)
|
||||
__12: vec __0(-(frontx-leftx), 0mm)
|
||||
__13: vec @(0mm, -npthy)
|
||||
@ -89,18 +89,18 @@ hole __34 .
|
||||
__36: vec __24(factor*r/2, -factor*r/2)
|
||||
__37: vec __26(factor*r/2, -factor*r/2)
|
||||
__38: vec __24(-factor*r/2, factor*r/2)
|
||||
rpad "3" __36 .
|
||||
rpad "3" __36 . bare
|
||||
__39: vec __26(-factor*r/2, factor*r/2)
|
||||
rpad "5" __37 .
|
||||
rpad "5" __37 . bare
|
||||
__40: vec __20(factor*r/2, -factor*r/2)
|
||||
__41: vec __20(-factor*r/2, factor*r/2)
|
||||
rpad "2" __40 .
|
||||
rpad "2" __40 . bare
|
||||
__42: vec __27(-factor*r/2, factor*r/2)
|
||||
__43: vec __27(factor*r/2, -factor*r/2)
|
||||
rpad "4" . __42
|
||||
rpad "4" . __42 bare
|
||||
__44: vec __25(factor*r/2, -factor*r/2)
|
||||
__45: vec __25(-factor*r/2, factor*r/2)
|
||||
rpad "1" __44 .
|
||||
rpad "1" __44 . bare
|
||||
frame outline @
|
||||
measy __6 >> __5 shieldr/2
|
||||
measy __19 >> __18 npthr/2
|
||||
|
@ -6,7 +6,7 @@ frame pin {
|
||||
hole . __0
|
||||
__2: vec @(-ratio*hole/2, ratio*hole/2)
|
||||
__3: vec @(ratio*hole/2, -ratio*hole/2)
|
||||
rpad "$n" __2 .
|
||||
rpad "$n" __2 . bare
|
||||
}
|
||||
|
||||
frame pin_top {
|
||||
|
@ -9,7 +9,7 @@ frame hole {
|
||||
frame pin {
|
||||
__2: vec @(-ratio*hole/2, ratio*hole/2)
|
||||
__3: vec @(ratio*hole/2, -ratio*hole/2)
|
||||
rpad "$n" __2 .
|
||||
rpad "$n" __2 . bare
|
||||
frame hole @
|
||||
}
|
||||
|
||||
|
@ -16,7 +16,7 @@ frame Cpins {
|
||||
hole . __1
|
||||
__3: vec __0(factor*Cr/2, -factor*Cr/2)
|
||||
__4: vec __0(-factor*Cr/2, factor*Cr/2)
|
||||
rpad "C$n" . __3
|
||||
rpad "C$n" . __3 bare
|
||||
}
|
||||
|
||||
frame shield {
|
||||
@ -31,7 +31,7 @@ frame shield {
|
||||
hole . __1
|
||||
__3: vec __0(factor*shr/2, -factor*shr/2)
|
||||
__4: vec __0(-factor*shr/2, factor*shr/2)
|
||||
rpad "$n" . __3
|
||||
rpad "$n" . __3 bare
|
||||
}
|
||||
|
||||
frame ckt17pins {
|
||||
@ -43,7 +43,7 @@ frame ckt17pins {
|
||||
hole . __1
|
||||
__3: vec __0(-factor*cktr/2, factor*cktr/2)
|
||||
__4: vec __0(factor*cktr/2, -factor*cktr/2)
|
||||
rpad "$n" __3 .
|
||||
rpad "$n" __3 . bare
|
||||
}
|
||||
|
||||
frame ckt9pins {
|
||||
@ -55,7 +55,7 @@ frame ckt9pins {
|
||||
hole . __1
|
||||
__3: vec __0(-factor*cktr/2, factor*cktr/2)
|
||||
__4: vec __0(factor*cktr/2, -factor*cktr/2)
|
||||
rpad "$n" __3 .
|
||||
rpad "$n" __3 . bare
|
||||
}
|
||||
|
||||
frame ckt1pins {
|
||||
@ -67,7 +67,7 @@ frame ckt1pins {
|
||||
hole . __1
|
||||
__3: vec __0(-factor*cktr/2, factor*cktr/2)
|
||||
__4: vec __0(factor*cktr/2, -factor*cktr/2)
|
||||
rpad "$n" __3 .
|
||||
rpad "$n" __3 . bare
|
||||
}
|
||||
|
||||
frame ckt {
|
||||
|
@ -6,7 +6,7 @@ frame pin {
|
||||
hole . __0
|
||||
__2: vec @(ratio*Hole/2, -ratio*Hole/2)
|
||||
__3: vec @(-ratio*Hole/2, ratio*Hole/2)
|
||||
rpad "$n" . __2
|
||||
rpad "$n" . __2 bare
|
||||
}
|
||||
|
||||
frame pins {
|
||||
|
@ -6,7 +6,7 @@ frame pin {
|
||||
__2: vec @(-d/2, -d/2)
|
||||
hole . __0
|
||||
__3: vec @(-d/2*aspect, -d/2*aspect)
|
||||
rpad "$n" . __1
|
||||
rpad "$n" . __1 bare
|
||||
}
|
||||
|
||||
frame pins {
|
||||
|
@ -8,7 +8,7 @@ frame pin {
|
||||
__2: vec @(-hole/2, -hole/2)
|
||||
hole . __0
|
||||
__3: vec @(-hole*ratio/2, hole*ratio/2)
|
||||
rpad "$n" . __1
|
||||
rpad "$n" . __1 bare
|
||||
}
|
||||
|
||||
frame pins {
|
||||
|
@ -6,7 +6,7 @@ frame pin {
|
||||
hole . __0
|
||||
__2: vec @(-ratio*hole/2, ratio*hole/2)
|
||||
__3: vec @(ratio*hole/2, -ratio*hole/2)
|
||||
rpad "$n" __2 .
|
||||
rpad "$n" __2 . bare
|
||||
}
|
||||
|
||||
frame pin_hole {
|
||||
|
@ -21,7 +21,7 @@ frame pins {
|
||||
hole . __2
|
||||
__4: vec __1(factor*hole/2, -factor*hole/2)
|
||||
__5: vec __1(-factor*hole/2, factor*hole/2)
|
||||
rpad "$n" . __4
|
||||
rpad "$n" . __4 bare
|
||||
}
|
||||
|
||||
package "MIC-RA-DIP-${Dia}x${Height}"
|
||||
|
@ -6,7 +6,7 @@ frame pad {
|
||||
hole . __0
|
||||
__2: vec @(ratio*roundx/2, -ratio*roundy/2)
|
||||
__3: vec @(-ratio*roundx/2, ratio*roundy/2)
|
||||
rpad "$n" . __2
|
||||
rpad "$n" . __2 bare
|
||||
}
|
||||
|
||||
frame pads {
|
||||
|
@ -25,7 +25,7 @@ frame gnds {
|
||||
hole . __1
|
||||
__3: vec __0(factor*grx/2, -factor*gry/2)
|
||||
__4: vec __0(-factor*grx/2, factor*gry/2)
|
||||
rpad "$n" . __3
|
||||
rpad "$n" . __3 bare
|
||||
}
|
||||
|
||||
frame pins {
|
||||
@ -41,7 +41,7 @@ frame pins {
|
||||
hole . __1
|
||||
__3: vec __0(factor*prx/2, -factor*pry/2)
|
||||
__4: vec __0(-factor*prx/2, factor*pry/2)
|
||||
rpad "$n" . __3
|
||||
rpad "$n" . __3 bare
|
||||
}
|
||||
|
||||
frame outline {
|
||||
|
@ -15,7 +15,7 @@ frame pShield {
|
||||
hole . __1
|
||||
__3: vec __0(rout, -rout)
|
||||
__4: vec __0(-rout, rout)
|
||||
rpad "$n" __3 .
|
||||
rpad "$n" __3 . bare
|
||||
}
|
||||
|
||||
frame hNPTH {
|
||||
@ -53,7 +53,7 @@ frame pins {
|
||||
hole . __1
|
||||
__3: vec __0(rout, -rout)
|
||||
__4: vec __0(-rout, rout)
|
||||
rpad "$n" . __3
|
||||
rpad "$n" . __3 bare
|
||||
__5: vec @(0mm, pitchP)
|
||||
__6: vec .(pitchP/2, 0mm)
|
||||
__7: vec .(i*pitchP, 0mm)
|
||||
@ -62,7 +62,7 @@ frame pins {
|
||||
hole . __8
|
||||
__10: vec __7(rout, -rout)
|
||||
__11: vec __7(-rout, rout)
|
||||
rpad "$m" __10 .
|
||||
rpad "$m" __10 . bare
|
||||
}
|
||||
|
||||
frame pLed {
|
||||
@ -82,7 +82,7 @@ frame pLed {
|
||||
__3: vec __0(-rin, -rin)
|
||||
hole . __2
|
||||
__4: vec __0(-rout, rout)
|
||||
rpad "$n" __1 .
|
||||
rpad "$n" __1 . bare
|
||||
__5: vec @(pitchP+LEDx, 0mm)
|
||||
__6: vec .(i*pitchP, 0mm)
|
||||
__7: vec .(rin, rin)
|
||||
@ -90,7 +90,7 @@ frame pLed {
|
||||
hole . __7
|
||||
__9: vec __6(rout, -rout)
|
||||
__10: vec __6(-rout, rout)
|
||||
rpad "$m" __9 .
|
||||
rpad "$m" __9 . bare
|
||||
}
|
||||
|
||||
frame outline {
|
||||
|
@ -5,7 +5,7 @@ frame copper {
|
||||
|
||||
__2: vec @(disc/2, -disc/2)
|
||||
__3: vec @(-disc/2, disc/2)
|
||||
rpad "1" . __2
|
||||
rpad "1" . __2 bare
|
||||
}
|
||||
|
||||
package "SPACER-$nominal-$disc-$keepout$type"
|
||||
|
@ -31,7 +31,7 @@ frame pins {
|
||||
hole . __1
|
||||
__3: vec __0(factor*pinsDia/2, -factor*pinsDia/2)
|
||||
__4: vec __0(-factor*pinsDia/2, factor*pinsDia/2)
|
||||
rpad "$n" . __3
|
||||
rpad "$n" . __3 bare
|
||||
__5: vec @(0mm, pins2shieldsy)
|
||||
__6: vec .(dx*shieldsdiffx/2, 0mm)
|
||||
__7: vec .(shieldsDia/2, shieldsDia/2)
|
||||
@ -39,7 +39,7 @@ frame pins {
|
||||
hole . __7
|
||||
__9: vec __6(factor*shieldsDia/2, -factor*shieldsDia/2)
|
||||
__10: vec __6(-factor*shieldsDia/2, factor*shieldsDia/2)
|
||||
rpad "$m" . __9
|
||||
rpad "$m" . __9 bare
|
||||
}
|
||||
|
||||
package "TACTIL-SW-${TYPE}-RA-${A}-${B}"
|
||||
|
@ -6,7 +6,7 @@ frame Spad {
|
||||
hole . __0
|
||||
__2: vec @(-factor*sr/2, factor*sr/2)
|
||||
__3: vec @(factor*sr/2, -factor*sr/2)
|
||||
rpad "S$n" __2 .
|
||||
rpad "S$n" __2 . bare
|
||||
}
|
||||
|
||||
frame Spads {
|
||||
@ -29,7 +29,7 @@ frame pin2 {
|
||||
hole . __0
|
||||
__2: vec @(-factor*pr/2, factor*pr/2)
|
||||
__3: vec @(factor*pr/2, -factor*pr/2)
|
||||
rpad "$m" __2 .
|
||||
rpad "$m" __2 . bare
|
||||
}
|
||||
|
||||
frame pin1 {
|
||||
@ -38,7 +38,7 @@ frame pin1 {
|
||||
hole . __0
|
||||
__2: vec @(factor*pr/2, -factor*pr/2)
|
||||
__3: vec @(-factor*pr/2, factor*pr/2)
|
||||
rpad "$n" . __2
|
||||
rpad "$n" . __2 bare
|
||||
}
|
||||
|
||||
frame pins {
|
||||
@ -60,11 +60,11 @@ frame outline {
|
||||
__0: vec @(0mm, -(spady/2+fronty))
|
||||
__1: vec @(0mm, L-fronty-spady/2)
|
||||
__2: vec __0(W/2, 0mm)
|
||||
__6: vec __2(0mm, fronty-factor*sr/2-0.5mm)
|
||||
__6: vec .(0mm, fronty-factor*sr/2-0.5mm)
|
||||
line . __2 w
|
||||
__3: vec __0(-W/2, 0mm)
|
||||
line __2 . w
|
||||
__7: vec __3(0mm, fronty-factor*sr/2-0.5mm)
|
||||
__7: vec .(0mm, fronty-factor*sr/2-0.5mm)
|
||||
line . __3 w
|
||||
__4: vec __1(W/2-factor*sr/2, 0mm)
|
||||
__5: vec __1(-(W/2-factor*sr/2), 0mm)
|
||||
|
@ -67,20 +67,20 @@ __13: vec __5(-r1/2, -r1/2)
|
||||
hole . __12
|
||||
__16: vec __0(factor*r1/2, -factor*r1/2)
|
||||
__17: vec __0(-factor*r1/2, factor*r1/2)
|
||||
rpad "1" . __16
|
||||
rpad "1" . __16 bare
|
||||
__18: vec __2(factor*r1/2, -factor*r1/2)
|
||||
__19: vec __2(-factor*r1/2, factor*r1/2)
|
||||
rpad "2" . __18
|
||||
rpad "2" . __18 bare
|
||||
__20: vec __1(factor*r3/2, -factor*r3/2)
|
||||
__21: vec __1(-factor*r3/2, factor*r3/2)
|
||||
rpad "3" . __20
|
||||
rpad "3" . __20 bare
|
||||
__22: vec __3(0mm, fronty)
|
||||
__23: vec @(r3/2, r3/2)
|
||||
__24: vec @(-r3/2, -r3/2)
|
||||
hole . __23
|
||||
__25: vec @(factor*r3/2, -factor*r3/2)
|
||||
__26: vec @(-factor*r3/2, factor*r3/2)
|
||||
rpad "4" . __25
|
||||
rpad "4" . __25 bare
|
||||
__27: vec @(-2.5mm, 0mm)
|
||||
frame outline @
|
||||
measy __9 >> __8 -(factor+2)*r1/2
|
||||
|
@ -71,13 +71,13 @@ __13: vec __5(-r1/2, -r1/2)
|
||||
hole . __12
|
||||
__16: vec __0(factor*r1/2, -factor*r1/2)
|
||||
__17: vec __0(-factor*r1/2, factor*r1/2)
|
||||
rpad "2" . __16
|
||||
rpad "2" . __16 bare
|
||||
__18: vec __2(factor*r1/2, -factor*r1/2)
|
||||
__19: vec __2(-factor*r1/2, factor*r1/2)
|
||||
rpad "1" . __18
|
||||
rpad "1" . __18 bare
|
||||
__20: vec __1(factor*r3/2, -factor*r3/2)
|
||||
__21: vec __1(-factor*r3/2, factor*r3/2)
|
||||
rpad "3" . __20
|
||||
rpad "3" . __20 bare
|
||||
__22: vec __3(0mm, fronty)
|
||||
frame outline @
|
||||
measy __9 >> __8 -(factor+2)*r1/2
|
||||
|
Loading…
Reference in New Issue
Block a user