1
0
mirror of git://projects.qi-hardware.com/kicad-libs.git synced 2024-11-20 19:55:00 +02:00
kicad-libs/modules/dcjack.fpd

77 lines
1.4 KiB
Plaintext
Raw Normal View History

2012-06-13 10:51:49 +03:00
/* MACHINE-GENERATED ! */
frame outline {
__0: vec @(0mm, W/2)
__4: vec .(p2x+px/2, -W)
2012-06-13 10:51:49 +03:00
__1: vec @(L, -W/2)
__5: vec .(0mm, W/2-factor*py/2)
2012-06-13 10:51:49 +03:00
line . __1 w
__2: vec @(fronthead, -W/2)
rect __0 . w
line . __4 w
2012-06-13 10:51:49 +03:00
__3: vec @(L, W/2)
line __0 . w
__6: vec .(0mm, -(W/2-factor*py/2))
2012-06-13 10:51:49 +03:00
line __3 . w
__7: vec __1(-factor*px/2, 0mm)
line __1 . w
2012-06-13 10:51:49 +03:00
}
package "DCJACK-${L}x${W}"
unit auto
set p1x = 13.8mm
set p2x = 7.5mm
set p3x = 10.8mm
set p3y = 5mm
set L = 14.4mm
set W = 9mm
set px = 1mm
set py = 3.2mm
set factor = 1.6
set fronthead = 3.5mm
set w = 5mil
__0: vec @(p2x, 0mm)
__1: vec @(p3x, 0mm)
__11: vec .(0mm, -p3y)
2012-06-13 10:51:49 +03:00
__2: vec @(p1x, 0mm)
__3: vec __0(px/2, py/2)
__4: vec __0(-px/2, -py/2)
hole . __3
__5: vec __2(px/2, py/2)
__6: vec __2(-px/2, -py/2)
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 . bare
2012-06-13 10:51:49 +03:00
__10: vec __0(factor*px/2, -factor*py/2)
rpad "2" __7 . bare
2012-06-13 10:51:49 +03:00
__13: vec __11(-py/2, -px/2)
__12: vec __11(py/2, px/2)
hole __13 .
2012-06-13 10:51:49 +03:00
__14: vec __11(-factor*py/2, factor*px/2)
__15: vec __11(factor*py/2, -factor*px/2)
rpad "3" __14 . bare
2012-06-13 10:51:49 +03:00
frame outline @
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