mirror of
git://projects.qi-hardware.com/kicad-libs.git
synced 2024-11-28 18:06:15 +02:00
77 lines
1.4 KiB
Plaintext
77 lines
1.4 KiB
Plaintext
/* MACHINE-GENERATED ! */
|
|
|
|
frame outline {
|
|
__0: vec @(0mm, W/2)
|
|
__4: vec .(p2x+px/2, -W)
|
|
__1: vec @(L, -W/2)
|
|
__5: vec .(0mm, W/2-factor*py/2)
|
|
line . __1 w
|
|
__2: vec @(fronthead, -W/2)
|
|
rect __0 . w
|
|
line . __4 w
|
|
__3: vec @(L, W/2)
|
|
line __0 . w
|
|
__6: vec .(0mm, -(W/2-factor*py/2))
|
|
line __3 . w
|
|
__7: vec __1(-factor*px/2, 0mm)
|
|
line __1 . w
|
|
}
|
|
|
|
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)
|
|
__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
|
|
__10: vec __0(factor*px/2, -factor*py/2)
|
|
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 . bare
|
|
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
|