1
0
mirror of git://projects.qi-hardware.com/kicad-libs.git synced 2024-11-25 18:56:14 +02:00

renamed scj368r1.fpd -> phonejack.fpd: phonejack-${size}-${N}

This commit is contained in:
Adam Wang 2012-06-11 12:00:03 +08:00
parent 354d60f2b1
commit dc51a1b938
2 changed files with 10 additions and 22 deletions

View File

@ -185,10 +185,12 @@ F: qfp
#
# 3.5mm audio stereo phone jack
F: scj368r1
# From TI:
F: phonejack
#
# - the SCJ368R1NUS0B00G data sheet, drawing
# phonejack-${size}-${N}
# From SCPRE:
#
# - phonejack-3.5-5, the SCJ368R1NUS0B00G data sheet, drawing
# http://downloads.qi-hardware.com/hardware/milkymist_one/datasheet/Audio/SCJ368R1NUS0B00G.pdf
#

View File

@ -28,7 +28,7 @@ frame outline {
rect . __0 w
__2: vec @(fx, 0mm)
__3: vec .(0mm, -fy/2)
__4: vec __3(-fx, 0mm)
__4: vec .(-fx, 0mm)
line __3 . w
__5: vec __2(0mm, fy/2)
line . __3 w
@ -39,29 +39,15 @@ frame outline {
__9: vec @(-9.3mm, -1.15mm)
}
package "SCJ368R1"
package "phonejack-${size}-${N}"
unit mm
set roundx = 0.6mm
set roundy = 2mm
set ratio = 1.8
set rty = 4.9mm
set rby = 8.2mm-rty
set fx = 4mm
set rx = 14mm
set fy = 6mm
table
{ size, N, roundx, roundy, ratio, rty, rby, fx, fy, rx, diff }
{ 3.5, 5, 0.6mm, 2mm, 1.8, 4.9mm, 8.2mm-rty, 4mm, 6mm, 14mm, 0.85mm }
set w = 5mil
set diff = 0.85mm
frame pads @
frame outline @
measx pad.__1 -> pad.__0 -roundy/2