The Kicad default footprints seem volatile and unreliable. Going between two machines that both have "Kicad 5.0.0" installed results in incompatibilities because KiCad has renamed their footprint libraries. Also, for some reason it's going to Github to get footprints instead of using local copies. Copy every model and footprint we use into a local tomu-fpga.pretty. This lets us ensure we can work offline, and also allows us to modify footprints, e.g. by adding a "Pin 1" marker. Signed-off-by: Sean Cross <sean@xobs.io>
		
			
				
	
	
		
			29 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
(module C_0402_1005Metric (layer F.Cu) (tedit 5B301BBE)
 | 
						|
  (descr "Capacitor SMD 0402 (1005 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: http://www.tortai-tech.com/upload/download/2011102023233369053.pdf), generated with kicad-footprint-generator")
 | 
						|
  (tags capacitor)
 | 
						|
  (attr smd)
 | 
						|
  (fp_text reference REF** (at 0 -1.17) (layer F.SilkS)
 | 
						|
    (effects (font (size 1 1) (thickness 0.15)))
 | 
						|
  )
 | 
						|
  (fp_text value C_0402_1005Metric (at 0 1.17) (layer F.Fab)
 | 
						|
    (effects (font (size 1 1) (thickness 0.15)))
 | 
						|
  )
 | 
						|
  (fp_line (start -0.5 0.25) (end -0.5 -0.25) (layer F.Fab) (width 0.1))
 | 
						|
  (fp_line (start -0.5 -0.25) (end 0.5 -0.25) (layer F.Fab) (width 0.1))
 | 
						|
  (fp_line (start 0.5 -0.25) (end 0.5 0.25) (layer F.Fab) (width 0.1))
 | 
						|
  (fp_line (start 0.5 0.25) (end -0.5 0.25) (layer F.Fab) (width 0.1))
 | 
						|
  (fp_line (start -0.93 0.47) (end -0.93 -0.47) (layer F.CrtYd) (width 0.05))
 | 
						|
  (fp_line (start -0.93 -0.47) (end 0.93 -0.47) (layer F.CrtYd) (width 0.05))
 | 
						|
  (fp_line (start 0.93 -0.47) (end 0.93 0.47) (layer F.CrtYd) (width 0.05))
 | 
						|
  (fp_line (start 0.93 0.47) (end -0.93 0.47) (layer F.CrtYd) (width 0.05))
 | 
						|
  (pad 1 smd roundrect (at -0.485 0) (size 0.59 0.64) (layers F.Cu F.Mask F.Paste) (roundrect_rratio 0.25))
 | 
						|
  (pad 2 smd roundrect (at 0.485 0) (size 0.59 0.64) (layers F.Cu F.Mask F.Paste) (roundrect_rratio 0.25))
 | 
						|
  (fp_text user %R (at 0 0) (layer F.Fab)
 | 
						|
    (effects (font (size 0.25 0.25) (thickness 0.04)))
 | 
						|
  )
 | 
						|
  (model ${KISYS3DMOD}/Capacitor_SMD.3dshapes/C_0402_1005Metric.wrl
 | 
						|
    (at (xyz 0 0 0))
 | 
						|
    (scale (xyz 1 1 1))
 | 
						|
    (rotate (xyz 0 0 0))
 | 
						|
  )
 | 
						|
) |