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-DX4R005HJ5.kicad_mod 1.67 KiB
(module fab-DX4R005HJ5 (layer F.Cu) (tedit 200000)
  (attr smd)
  (fp_text reference >NAME (at -3.7973 -0.254 90) (layer F.SilkS)
    (effects (font (size 0.6096 0.6096) (thickness 0.0508)))
  )
  (fp_text value >VALUE (at 3.8227 -0.2413 90) (layer F.SilkS)
    (effects (font (size 0.6096 0.6096) (thickness 0.0508)))
  )
  (fp_line (start 3.24866 2.59842) (end -3.24866 2.59842) (layer B.SilkS) (width 0.127))
  (fp_line (start -3.24866 -2.59842) (end -3.24866 0) (layer F.SilkS) (width 0.127))
  (fp_line (start 3.24866 -2.59842) (end 3.24866 0) (layer F.SilkS) (width 0.127))
  (fp_line (start -1.74752 -2.59842) (end 1.74752 -2.59842) (layer F.SilkS) (width 0.127))
  (fp_line (start -3.24866 2.19964) (end -3.24866 2.59842) (layer F.SilkS) (width 0.127))
  (fp_line (start 3.24866 2.59842) (end 3.24866 2.19964) (layer F.SilkS) (width 0.127))
  (pad D+ smd rect (at 0 -1.59766) (size 0.39878 1.34874) (layers F.Cu F.Paste F.Mask))
  (pad D- smd rect (at -0.6477 -1.59766) (size 0.39878 1.34874) (layers F.Cu F.Paste F.Mask))
  (pad GND smd rect (at 1.29794 -1.59766) (size 0.39878 1.34874) (layers F.Cu F.Paste F.Mask))
  (pad GND@1 smd rect (at -2.49936 -1.94818) (size 1.19888 1.29794) (layers F.Cu F.Paste F.Mask))
  (pad GND@2 smd rect (at 2.49936 -1.94818) (size 1.19888 1.29794) (layers F.Cu F.Paste F.Mask))
  (pad GND@3 smd rect (at -2.17424 1.09982) (size 2.14884 1.89992) (layers F.Cu F.Paste F.Mask))
  (pad GND@4 smd rect (at 2.17424 1.09982) (size 2.14884 1.89992) (layers F.Cu F.Paste F.Mask))
  (pad ID smd rect (at 0.6477 -1.59766) (size 0.39878 1.34874) (layers F.Cu F.Paste F.Mask))
  (pad VBUS smd rect (at -1.29794 -1.59766) (size 0.39878 1.34874) (layers F.Cu F.Paste F.Mask))
)