7
mirror of https://gitlab.com/kicad/libraries/kicad-footprints.git synced 2025-04-12 22:09:39 +00:00

Added HRO TYPE-C-31-M-12 ()

* Added HRO TYPE-C-31-M-12

* Fix fab attribute and 3D model

* Fixed various issues with HRO TYPE-C-31-M-12

* Fixed small courtyard and fab issue

* Small fixes

* Fix connector courtyard to exactly 0.5mm
This commit is contained in:
Lorenz Brun 2019-07-26 20:00:20 +02:00 committed by Diego Herranz
parent a458cb44a8
commit fde943c58d

View File

@ -0,0 +1,59 @@
(module USB_C_Receptacle_HRO_TYPE-C-31-M-12 (layer F.Cu) (tedit 5D3A2501)
(descr "USB Type-C receptacle for USB 2.0 and PD, http://www.krhro.com/uploads/soft/180320/1-1P320120243.pdf")
(tags "usb usb-c 2.0 pd")
(attr smd)
(fp_text reference REF** (at 0 -5.645) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value USB_C_Receptacle_HRO_TYPE-C-31-M-12 (at 0 5.1) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -4.7 2) (end -4.7 3.9) (layer F.SilkS) (width 0.12))
(fp_line (start -4.7 -1.9) (end -4.7 0.1) (layer F.SilkS) (width 0.12))
(fp_line (start 4.7 2) (end 4.7 3.9) (layer F.SilkS) (width 0.12))
(fp_line (start 4.7 -1.9) (end 4.7 0.1) (layer F.SilkS) (width 0.12))
(fp_line (start 5.32 -5.27) (end 5.32 4.15) (layer F.CrtYd) (width 0.05))
(fp_line (start -5.32 -5.27) (end -5.32 4.15) (layer F.CrtYd) (width 0.05))
(fp_line (start -5.32 4.15) (end 5.32 4.15) (layer F.CrtYd) (width 0.05))
(fp_line (start -5.32 -5.27) (end 5.32 -5.27) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.25 2.205) (end 1.25 2.205) (layer F.Fab) (width 0.1))
(fp_arc (start -1.25 2.205) (end -1.25 1.705) (angle -180) (layer F.Fab) (width 0.1))
(fp_arc (start 1.25 2.205) (end 1.25 2.705) (angle -180) (layer F.Fab) (width 0.1))
(fp_line (start -1.25 2.705) (end 1.25 2.705) (layer F.Fab) (width 0.1))
(fp_line (start -1.25 1.705) (end 1.25 1.705) (layer F.Fab) (width 0.1))
(fp_text user %R (at 0 -0.095) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start 4.47 -3.65) (end 4.47 3.65) (layer F.Fab) (width 0.1))
(fp_line (start -4.47 3.65) (end 4.47 3.65) (layer F.Fab) (width 0.1))
(fp_line (start -4.47 -3.65) (end -4.47 3.65) (layer F.Fab) (width 0.1))
(fp_line (start -4.47 -3.65) (end 4.47 -3.65) (layer F.Fab) (width 0.1))
(fp_line (start -4.7 3.9) (end 4.7 3.9) (layer F.SilkS) (width 0.12))
(pad S1 thru_hole oval (at 4.32 1.05) (size 1 1.6) (drill oval 0.6 1.2) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 2.89 -2.6) (size 0.65 0.65) (drill 0.65) (layers *.Cu *.Mask))
(pad S1 thru_hole oval (at -4.32 1.05) (size 1 1.6) (drill oval 0.6 1.2) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at -2.89 -2.6) (size 0.65 0.65) (drill 0.65) (layers *.Cu *.Mask))
(pad S1 thru_hole oval (at -4.32 -3.13) (size 1 2.1) (drill oval 0.6 1.7) (layers *.Cu *.Mask))
(pad S1 thru_hole oval (at 4.32 -3.13) (size 1 2.1) (drill oval 0.6 1.7) (layers *.Cu *.Mask))
(pad A6 smd rect (at -0.25 -4.045) (size 0.3 1.45) (layers F.Cu F.Paste F.Mask))
(pad B5 smd rect (at 1.75 -4.045) (size 0.3 1.45) (layers F.Cu F.Paste F.Mask))
(pad A8 smd rect (at 1.25 -4.045) (size 0.3 1.45) (layers F.Cu F.Paste F.Mask))
(pad B6 smd rect (at 0.75 -4.045) (size 0.3 1.45) (layers F.Cu F.Paste F.Mask))
(pad A7 smd rect (at 0.25 -4.045) (size 0.3 1.45) (layers F.Cu F.Paste F.Mask))
(pad B7 smd rect (at -0.75 -4.045) (size 0.3 1.45) (layers F.Cu F.Paste F.Mask))
(pad A5 smd rect (at -1.25 -4.045) (size 0.3 1.45) (layers F.Cu F.Paste F.Mask))
(pad B8 smd rect (at -1.75 -4.045) (size 0.3 1.45) (layers F.Cu F.Paste F.Mask))
(pad A12 smd rect (at 3.25 -4.045) (size 0.6 1.45) (layers F.Cu F.Paste F.Mask))
(pad B4 smd rect (at 2.45 -4.045) (size 0.6 1.45) (layers F.Cu F.Paste F.Mask))
(pad A4 smd rect (at -2.45 -4.045) (size 0.6 1.45) (layers F.Cu F.Paste F.Mask))
(pad A1 smd rect (at -3.25 -4.045) (size 0.6 1.45) (layers F.Cu F.Paste F.Mask))
(pad B12 smd rect (at -3.25 -4.045) (size 0.6 1.45) (layers F.Cu F.Paste F.Mask))
(pad B9 smd rect (at -2.45 -4.045) (size 0.6 1.45) (layers F.Cu F.Paste F.Mask))
(pad A9 smd rect (at 2.45 -4.045) (size 0.6 1.45) (layers F.Cu F.Paste F.Mask))
(pad B1 smd rect (at 3.25 -4.045) (size 0.6 1.45) (layers F.Cu F.Paste F.Mask))
(model ${KISYS3DMOD}/Connector_USB.3dshapes/USB_C_Receptacle_HRO_TYPE-C-31-M-12.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)