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-2X03SMD.kicad_mod 788 B
(module fab-2X03SMD (layer F.Cu) (tedit 200000)
  (attr smd)
  (fp_text reference >NAME (at -0.635 -4.445) (layer F.SilkS)
    (effects (font (size 1.27 1.27) (thickness 0.1016)))
  )
  (fp_text value >VALUE (at 0 4.445) (layer F.SilkS)
    (effects (font (size 1.27 1.27) (thickness 0.1016)))
  )
  (pad 1 smd rect (at -2.54 -2.54) (size 2.54 1.27) (layers F.Cu F.Paste F.Mask))
  (pad 2 smd rect (at 2.91846 -2.54) (size 2.54 1.27) (layers F.Cu F.Paste F.Mask))
  (pad 3 smd rect (at -2.54 0) (size 2.54 1.27) (layers F.Cu F.Paste F.Mask))
  (pad 4 smd rect (at 2.91846 0) (size 2.54 1.27) (layers F.Cu F.Paste F.Mask))
  (pad 5 smd rect (at -2.54 2.54) (size 2.54 1.27) (layers F.Cu F.Paste F.Mask))
  (pad 6 smd rect (at 2.91846 2.54) (size 2.54 1.27) (layers F.Cu F.Paste F.Mask))
)