main
Ray footprint: the datasheet shows TO220-5L - 5 leads at 1.71mm pitch, matching the symbol's 5 pins - on a 3-pad TO-220-3 footprint. Chosen from this part's OWN datasheet, not inferred from a sibling - the Richtek SOP-8-EP parts alone carry three different exposed-pad sizes, so family inference would have been wrong. Rebuilds the .lbr, re-derives pin 1 and pads.json. df92804 1mo ago
(footprint "TO-220-5_Vertical"
	(version 20260206)
	(generator "kicad-footprint-generator")
	(layer "F.Cu")
	(descr "TO-220-5, Vertical, RM 1.7mm, Pentawatt, see http://www.analog.com/media/en/package-pcb-resources/package/pkg_pdf/ltc-legacy-to-220/to-220_5_05-08-1421_straight_lead.pdf")
	(tags "TO-220-5 Vertical RM 1.7mm Pentawatt")
	(property "Reference" "REF**"
		(at 3.4 -4.1 0)
		(layer "F.SilkS")
		(effects
			(font
				(size 1 1)
				(thickness 0.15)
			)
		)
	)
	(property "Value" "TO-220-5_Vertical"
		(at 3.4 2.2 0)
		(layer "F.Fab")
		(effects
			(font
				(size 1 1)
				(thickness 0.15)
			)
		)
	)
	(property "KiLib_Generator" "package/TO_SOT/THT"
		(at 0 0 0)
		(layer "F.SilkS")
		(hide yes)
		(effects
			(font
				(size 1 1)
				(thickness 0.15)
			)
		)
	)
	(attr through_hole)
	(duplicate_pad_numbers_are_jumpers no)
	(fp_line
		(start -1.71 -3.26)
		(end 8.51 -3.26)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start -1.71 -1.88)
		(end 8.51 -1.88)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start -1.71 1.36)
		(end -1.71 -3.26)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start 1.55 -3.26)
		(end 1.55 -1.88)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start 5.25 -3.26)
		(end 5.25 -1.88)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start 8.51 -3.26)
		(end 8.51 1.36)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start 8.51 1.36)
		(end -1.71 1.36)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_rect
		(start -1.85 -3.4)
		(end 8.65 1.5)
		(stroke
			(width 0.05)
			(type solid)
		)
		(fill no)
		(layer "F.CrtYd")
	)
	(fp_line
		(start -1.6 -1.88)
		(end 8.4 -1.88)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 1.55 -3.15)
		(end 1.55 -1.88)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 5.25 -3.15)
		(end 5.25 -1.88)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_rect
		(start -1.6 -3.15)
		(end 8.4 1.25)
		(stroke
			(width 0.1)
			(type solid)
		)
		(fill no)
		(layer "F.Fab")
	)
	(fp_text user "${REFERENCE}"
		(at 3.4 -0.95 0)
		(layer "F.Fab")
		(effects
			(font
				(size 1 1)
				(thickness 0.15)
			)
		)
	)
	(pad "1" thru_hole rect
		(at 0 0)
		(size 1.275 1.8)
		(drill 1.1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "2" thru_hole oval
		(at 1.7 0)
		(size 1.275 1.8)
		(drill 1.1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "3" thru_hole oval
		(at 3.4 0)
		(size 1.275 1.8)
		(drill 1.1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "4" thru_hole oval
		(at 5.1 0)
		(size 1.275 1.8)
		(drill 1.1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "5" thru_hole oval
		(at 6.8 0)
		(size 1.275 1.8)
		(drill 1.1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(embedded_fonts no)
	(model "${KICAD10_3DMODEL_DIR}/Package_TO_SOT_THT.3dshapes/TO-220-5_Vertical.step"
		(offset
			(xyz 0 0 0)
		)
		(scale
			(xyz 1 1 1)
		)
		(rotate
			(xyz 0 0 0)
		)
	)
)