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-DO41Z10.kicad_mod 2.56 KiB
(module fab-DO41Z10 (layer F.Cu) (tedit 200000)
  (descr DIODE)
  (tags DIODE)
  (attr virtual)
  (fp_text reference >NAME (at 1.27 -2.286) (layer F.SilkS)
    (effects (font (size 1.27 1.27) (thickness 0.127)))
  )
  (fp_text value >VALUE (at 1.905 2.159) (layer F.SilkS)
    (effects (font (size 1.27 1.27) (thickness 0.127)))
  )
  (fp_line (start -1.651 1.27) (end -1.143 1.27) (layer B.SilkS) (width 0.06604))
  (fp_line (start -1.143 1.27) (end -1.143 -1.27) (layer B.SilkS) (width 0.06604))
  (fp_line (start -1.651 -1.27) (end -1.143 -1.27) (layer B.SilkS) (width 0.06604))
  (fp_line (start -1.651 1.27) (end -1.651 -1.27) (layer B.SilkS) (width 0.06604))
  (fp_line (start 2.032 0.381) (end 3.937 0.381) (layer B.SilkS) (width 0.06604))
  (fp_line (start 3.937 0.381) (end 3.937 -0.381) (layer B.SilkS) (width 0.06604))
  (fp_line (start 2.032 -0.381) (end 3.937 -0.381) (layer B.SilkS) (width 0.06604))
  (fp_line (start 2.032 0.381) (end 2.032 -0.381) (layer B.SilkS) (width 0.06604))
  (fp_line (start -3.937 0.381) (end -2.032 0.381) (layer B.SilkS) (width 0.06604))
  (fp_line (start -2.032 0.381) (end -2.032 -0.381) (layer B.SilkS) (width 0.06604))
  (fp_line (start -3.937 -0.381) (end -2.032 -0.381) (layer B.SilkS) (width 0.06604))
  (fp_line (start -3.937 0.381) (end -3.937 -0.381) (layer B.SilkS) (width 0.06604))
  (fp_line (start 2.032 1.27) (end -2.032 1.27) (layer B.SilkS) (width 0.1524))
  (fp_line (start 2.032 1.27) (end 2.032 -1.27) (layer B.SilkS) (width 0.1524))
  (fp_line (start -2.032 -1.27) (end 2.032 -1.27) (layer B.SilkS) (width 0.1524))
  (fp_line (start -2.032 -1.27) (end -2.032 1.27) (layer B.SilkS) (width 0.1524))
  (fp_line (start 5.08 0) (end 3.937 0) (layer F.SilkS) (width 0.762))
  (fp_line (start -5.08 0) (end -4.064 0) (layer F.SilkS) (width 0.762))
  (fp_line (start -0.635 0) (end 0 0) (layer B.SilkS) (width 0.1524))
  (fp_line (start 1.016 -0.635) (end 1.016 0.635) (layer B.SilkS) (width 0.1524))
  (fp_line (start 1.016 0.635) (end 0 0) (layer B.SilkS) (width 0.1524))
  (fp_line (start 0 0) (end 1.524 0) (layer B.SilkS) (width 0.1524))
  (fp_line (start 0 0) (end 1.016 -0.635) (layer B.SilkS) (width 0.1524))
  (fp_line (start 0 0) (end 0 0.635) (layer B.SilkS) (width 0.1524))
  (fp_line (start 0.254 -0.635) (end 0 -0.635) (layer B.SilkS) (width 0.1524))
  (fp_line (start 0 -0.635) (end 0 0) (layer B.SilkS) (width 0.1524))
  (pad A thru_hole circle (at 5.08 0) (size 1.6764 1.6764) (drill 1.1176) (layers F&B.Cu F.Paste F.SilkS F.Mask))
  (pad C thru_hole circle (at -5.08 0) (size 1.6764 1.6764) (drill 1.1176) (layers F&B.Cu F.Paste F.SilkS F.Mask))
)