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-TO252.kicad_mod 3.37 KiB
(module fab-TO252 (layer F.Cu) (tedit 200000)
  (descr "SMALL OUTLINE TRANSISTOR")
  (tags "SMALL OUTLINE TRANSISTOR")
  (attr smd)
  (fp_text reference >NAME (at -4.445 -0.635 90) (layer F.SilkS)
    (effects (font (size 1.27 1.27) (thickness 0.1016)))
  )
  (fp_text value >VALUE (at 4.445 -1.27 90) (layer F.SilkS)
    (effects (font (size 1.27 1.27) (thickness 0.1016)))
  )
  (fp_line (start -2.7178 5.1562) (end -1.8542 5.1562) (layer F.SilkS) (width 0.06604))
  (fp_line (start -1.8542 5.1562) (end -1.8542 2.2606) (layer F.SilkS) (width 0.06604))
  (fp_line (start -2.7178 2.2606) (end -1.8542 2.2606) (layer F.SilkS) (width 0.06604))
  (fp_line (start -2.7178 5.1562) (end -2.7178 2.2606) (layer F.SilkS) (width 0.06604))
  (fp_line (start 1.8542 5.1562) (end 2.7178 5.1562) (layer F.SilkS) (width 0.06604))
  (fp_line (start 2.7178 5.1562) (end 2.7178 2.2606) (layer F.SilkS) (width 0.06604))
  (fp_line (start 1.8542 2.2606) (end 2.7178 2.2606) (layer F.SilkS) (width 0.06604))
  (fp_line (start 1.8542 5.1562) (end 1.8542 2.2606) (layer F.SilkS) (width 0.06604))
  (fp_line (start -0.4318 3.0226) (end 0.4318 3.0226) (layer B.SilkS) (width 0.06604))
  (fp_line (start 0.4318 3.0226) (end 0.4318 2.2606) (layer B.SilkS) (width 0.06604))
  (fp_line (start -0.4318 2.2606) (end 0.4318 2.2606) (layer B.SilkS) (width 0.06604))
  (fp_line (start -0.4318 3.0226) (end -0.4318 2.2606) (layer B.SilkS) (width 0.06604))
  (fp_line (start 3.2766 -3.8354) (end 3.2766 2.159) (layer B.SilkS) (width 0.2032))
  (fp_line (start 3.2766 2.159) (end -3.2766 2.159) (layer B.SilkS) (width 0.2032))
  (fp_line (start -3.2766 2.159) (end -3.2766 -3.8354) (layer B.SilkS) (width 0.2032))
  (fp_line (start -3.2766 -3.83286) (end 3.2766 -3.83286) (layer F.SilkS) (width 0.2032))
  (fp_line (start -3.97256 -5.9817) (end 3.97256 -5.9817) (layer F.SilkS) (width 0.0508))
  (fp_line (start 3.97256 5.9817) (end -3.97256 5.9817) (layer F.SilkS) (width 0.0508))
  (fp_line (start -3.97256 5.9817) (end -3.97256 -5.9817) (layer F.SilkS) (width 0.0508))
  (fp_line (start 3.97256 -5.9817) (end 3.97256 5.9817) (layer F.SilkS) (width 0.0508))
  (fp_line (start -2.5654 -3.937) (end -2.5654 -4.6482) (layer F.SilkS) (width 0.2032))
  (fp_line (start -2.5654 -4.6482) (end -2.1082 -5.1054) (layer F.SilkS) (width 0.2032))
  (fp_line (start -2.1082 -5.1054) (end 2.1082 -5.1054) (layer F.SilkS) (width 0.2032))
  (fp_line (start 2.1082 -5.1054) (end 2.5654 -4.6482) (layer F.SilkS) (width 0.2032))
  (fp_line (start 2.5654 -4.6482) (end 2.5654 -3.937) (layer F.SilkS) (width 0.2032))
  (fp_line (start 2.5654 -3.937) (end -2.5654 -3.937) (layer F.SilkS) (width 0.2032))
  (fp_line (start -2.5654 -3.937) (end -2.5654 -4.6482) (layer F.SilkS) (width 0.19812))
  (fp_line (start -2.5654 -4.6482) (end -2.1082 -5.1054) (layer F.SilkS) (width 0.19812))
  (fp_line (start -2.1082 -5.1054) (end 2.1082 -5.1054) (layer F.SilkS) (width 0.19812))
  (fp_line (start 2.1082 -5.1054) (end 2.5654 -4.6482) (layer F.SilkS) (width 0.19812))
  (fp_line (start 2.5654 -4.6482) (end 2.5654 -3.937) (layer F.SilkS) (width 0.19812))
  (fp_line (start 2.5654 -3.937) (end -2.5654 -3.937) (layer F.SilkS) (width 0.19812))
  (pad 1 smd rect (at -2.27838 4.79806) (size 0.99822 1.59766) (layers F.Cu F.Paste F.Mask))
  (pad 2 smd rect (at 2.27838 4.79806) (size 0.99822 1.59766) (layers F.Cu F.Paste F.Mask))
  (pad 3 smd rect (at 0 -2.49936) (size 5.3975 6.1976) (layers F.Cu F.Paste F.Mask))
)