1
0
mirror of git://projects.qi-hardware.com/kicad-libs.git synced 2024-11-22 08:12:48 +02:00

dcjack.fpd: fixed "hole (line 63) not completely inside pad "3" (line 67)"

This commit is contained in:
Adam Wang 2012-06-18 10:19:55 +08:00
parent 0f80888e7e
commit 667f6c9f10

View File

@ -2,19 +2,19 @@
frame outline {
__0: vec @(0mm, W/2)
__4: vec __0(p2x+px/2, 0mm)
line __0 . w
__4: vec .(p2x+px/2, -W)
__1: vec @(L, -W/2)
__5: vec __1(0mm, W/2-factor*py/2)
__5: vec .(0mm, W/2-factor*py/2)
line . __1 w
__2: vec @(fronthead, -W/2)
rect __0 . w
line __1 . w
line . __4 w
__3: vec @(L, W/2)
__6: vec __3(0mm, -(W/2-factor*py/2))
line __0 . w
__6: vec .(0mm, -(W/2-factor*py/2))
line __3 . w
__7: vec __3(-factor*px/2, 0mm)
line . __3 w
__7: vec __1(-factor*px/2, 0mm)
line __1 . w
}
package "DCJACK-${L}x${W}"
@ -44,7 +44,7 @@ set w = 5mil
__0: vec @(p2x, 0mm)
__1: vec @(p3x, 0mm)
__11: vec __1(0mm, p3y)
__11: vec .(0mm, -p3y)
__2: vec @(p1x, 0mm)
__3: vec __0(px/2, py/2)
__4: vec __0(-px/2, -py/2)
@ -58,18 +58,19 @@ __9: vec __2(factor*px/2, -factor*py/2)
rpad "1" __8 .
__10: vec __0(factor*px/2, -factor*py/2)
rpad "2" __7 .
__12: vec .(py/2, px/2)
__13: vec __11(-py/2, -px/2)
hole . __12
__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 .
frame outline @
measx outline.__0 >> __0 1mm
measx outline.__0 >> __1 1.5mm
measx outline.__0 >> __2 2mm
measx __4 >> __3 -py/2
measy __4 >> __3 factor*px/2
meas outline.__1 >> outline.__3 -1mm
meas outline.__0 >> outline.__3 2.5mm
measx outline.__0 >> outline.__2 0.6mm
measy outline.__2 >> outline.__0 fronthead+1mm
measy __11 >> __2 -(p1x-p3x+1.5mm)
measy __4 >> __3 1mm
measx __4 >> __3 -1.5mm
measx outline.__0 >> __0 2mm
measx outline.__0 >> __1 3mm
measx outline.__0 >> __2 4mm
measx outline.__0 >> outline.__2 1mm
measx outline.__0 >> outline.__3 5mm