Skip to content
Snippets Groups Projects
  • Ben Z Yuan's avatar
    182c268e
    kicad: convert fab.mod + add usb micro footprint · 182c268e
    Ben Z Yuan authored
    Newer versions of KiCAD treat `.mod` footprint libraries as "legacy" and will
    refuse to edit them. This commit converts the library to the new `.pretty`
    format.
    
    Note that the new format is a folder with loose `.kicad_mod` files, so it
    needs to be zipped for distribution.
    
    Additionally, a footprint was added for the USB micro-B socket that claims to
    be on inventory.
    182c268e
    History
    kicad: convert fab.mod + add usb micro footprint
    Ben Z Yuan authored
    Newer versions of KiCAD treat `.mod` footprint libraries as "legacy" and will
    refuse to edit them. This commit converts the library to the new `.pretty`
    format.
    
    Note that the new format is a folder with loose `.kicad_mod` files, so it
    needs to be zipped for distribution.
    
    Additionally, a footprint was added for the USB micro-B socket that claims to
    be on inventory.
fab-MIC_BOTTOM_PORT.kicad_mod 3.52 KiB
(module fab-MIC_BOTTOM_PORT (layer F.Cu) (tedit 200000)
  (descr "KNOWLES SPH0645LM4H-B")
  (tags "KNOWLES SPH0645LM4H-B")
  (attr smd)
  (fp_text reference "" (at 0 0) (layer F.SilkS)
    (effects (font (size 1.27 1.27) (thickness 0.15)))
  )
  (fp_text value "" (at 0 0) (layer F.SilkS)
    (effects (font (size 1.27 1.27) (thickness 0.15)))
  )
  (fp_line (start -0.49784 0) (end -0.48514 -0.10922) (layer F.SilkS) (width 0.04572))
  (fp_line (start -0.48514 -0.10922) (end -0.44958 -0.2159) (layer F.SilkS) (width 0.04572))
  (fp_line (start -0.44958 -0.2159) (end -0.38862 -0.30988) (layer F.SilkS) (width 0.04572))
  (fp_line (start -0.38862 -0.30988) (end -0.30988 -0.38862) (layer F.SilkS) (width 0.04572))
  (fp_line (start -0.30988 -0.38862) (end -0.2159 -0.44958) (layer F.SilkS) (width 0.04572))
  (fp_line (start -0.2159 -0.44958) (end -0.10922 -0.48514) (layer F.SilkS) (width 0.04572))
  (fp_line (start -0.10922 -0.48514) (end 0 -0.49784) (layer F.SilkS) (width 0.04572))
  (fp_line (start 0 -0.49784) (end 0.10922 -0.48514) (layer F.SilkS) (width 0.04572))
  (fp_line (start 0.10922 -0.48514) (end 0.2159 -0.44958) (layer F.SilkS) (width 0.04572))
  (fp_line (start 0.2159 -0.44958) (end 0.30988 -0.38862) (layer F.SilkS) (width 0.04572))
  (fp_line (start 0.30988 -0.38862) (end 0.38862 -0.30988) (layer F.SilkS) (width 0.04572))
  (fp_line (start 0.38862 -0.30988) (end 0.44958 -0.2159) (layer F.SilkS) (width 0.04572))
  (fp_line (start 0.44958 -0.2159) (end 0.48514 -0.10922) (layer F.SilkS) (width 0.04572))
  (fp_line (start 0.48514 -0.10922) (end 0.49784 0) (layer F.SilkS) (width 0.04572))
  (fp_line (start 0.49784 0) (end 0.48514 0.10922) (layer F.SilkS) (width 0.04572))
  (fp_line (start 0.48514 0.10922) (end 0.44958 0.2159) (layer F.SilkS) (width 0.04572))
  (fp_line (start 0.44958 0.2159) (end 0.38862 0.30988) (layer F.SilkS) (width 0.04572))
  (fp_line (start 0.38862 0.30988) (end 0.30988 0.38862) (layer F.SilkS) (width 0.04572))
  (fp_line (start 0.30988 0.38862) (end 0.2159 0.44958) (layer F.SilkS) (width 0.04572))
  (fp_line (start 0.2159 0.44958) (end 0.10922 0.48514) (layer F.SilkS) (width 0.04572))
  (fp_line (start 0.10922 0.48514) (end 0 0.49784) (layer F.SilkS) (width 0.04572))
  (fp_line (start 0 0.49784) (end -0.10922 0.48514) (layer F.SilkS) (width 0.04572))
  (fp_line (start -0.10922 0.48514) (end -0.2159 0.44958) (layer F.SilkS) (width 0.04572))
  (fp_line (start -0.2159 0.44958) (end -0.30988 0.38862) (layer F.SilkS) (width 0.04572))
  (fp_line (start -0.30988 0.38862) (end -0.38862 0.30988) (layer F.SilkS) (width 0.04572))
  (fp_line (start -0.38862 0.30988) (end -0.44958 0.2159) (layer F.SilkS) (width 0.04572))
  (fp_line (start -0.44958 0.2159) (end -0.48514 0.10922) (layer F.SilkS) (width 0.04572))
  (fp_line (start -0.48514 0.10922) (end -0.49784 0) (layer F.SilkS) (width 0.04572))
  (fp_circle (center 0 0) (end -0.24892 0.24892) (layer F.SilkS) (width 0.02286))
  (pad 1 smd rect (at -0.9271 -2.10566) (size 0.53848 0.45974) (layers F.Cu F.Paste F.Mask))
  (pad 2 smd rect (at -0.92964 -1.2192) (size 0.53848 0.45974) (layers F.Cu F.Paste F.Mask))
  (pad 3 smd circle (at 0 0) (size 1.62306 1.62306) (layers F.Cu F.Paste F.Mask))
  (pad 4 smd circle (at 0.92964 -1.2192) (size 0.53848 0.45974) (layers F.Cu F.Paste F.Mask))
  (pad 5 smd circle (at 0.92964 -2.10312) (size 0.53848 0.45974) (layers F.Cu F.Paste F.Mask))
  (pad 6 smd circle (at 0 -2.10058) (size 0.53848 0.45974) (layers F.Cu F.Paste F.Mask))
  (pad P$1 thru_hole circle (at 0 0) (size 1.62306 1.62306) (drill 1.02362) (layers F&B.Cu F.Paste F.SilkS F.Mask))
)