(footprint "UQFN-40-1EP_5x5mm_P0.4mm_EP3.8x3.8mm_ThermalVias"
	(version 20240108)
	(generator "kicad-footprint-generator")
	(layer "F.Cu")
	(descr "UQFN, 40 Pin (http://ww1.microchip.com/downloads/en/PackagingSpec/00000049BQ.pdf#page=345), generated with kicad-footprint-generator ipc_noLead_generator.py")
	(tags "UQFN NoLead")
	(property "Reference" "REF**"
		(at 0 -3.8 0)
		(layer "F.SilkS")
	)
	(property "Value" "UQFN-40-1EP_5x5mm_P0.4mm_EP3.8x3.8mm_ThermalVias"
		(at 0 3.8 0)
		(layer "F.Fab")
	)
	(attr smd)
	(fp_text user "${REFERENCE}"
		(at 0 0 0)
		(layer "F.Fab")
	)
	(pad "" smd custom
		(at -1.6 -1.6)
		(size 0.365947 0.365947)
		(layers "F.Paste")
		(options
			(clearance outline)
			(anchor circle)
		)
		(primitives
			(gr_poly
				(pts
					(xy -0.124079 -0.124079)
					(xy 0.124079 -0.124079)
					(xy 0.124079 0.0265)
					(xy 0.0265 0.124079)
					(xy -0.124079 0.124079)
				)
				(width 0.235577)
			)
		)
	)
	(pad "" smd custom
		(at -1.6 -0.65)
		(size 0.413904 0.413904)
		(layers "F.Paste")
		(options
			(clearance outline)
			(anchor circle)
		)
		(primitives
			(gr_poly
				(pts
					(xy -0.172036 -0.454215)
					(xy 0.114185 -0.454215)
					(xy 0.172036 -0.396364)
					(xy 0.172036 0.396364)
					(xy 0.114185 0.454215)
					(xy -0.172036 0.454215)
				)
				(width 0.139664)
			)
		)
	)
	(pad "" smd custom
		(at -1.6 0.65)
		(size 0.413904 0.413904)
		(layers "F.Paste")
		(options
			(clearance outline)
			(anchor circle)
		)
		(primitives
			(gr_poly
				(pts
					(xy -0.172036 -0.454215)
					(xy 0.114185 -0.454215)
					(xy 0.172036 -0.396364)
					(xy 0.172036 0.396364)
					(xy 0.114185 0.454215)
					(xy -0.172036 0.454215)
				)
				(width 0.139664)
			)
		)
	)
	(pad "" smd custom
		(at -1.6 1.6)
		(size 0.365947 0.365947)
		(layers "F.Paste")
		(options
			(clearance outline)
			(anchor circle)
		)
		(primitives
			(gr_poly
				(pts
					(xy -0.124079 -0.124079)
					(xy 0.0265 -0.124079)
					(xy 0.124079 -0.0265)
					(xy 0.124079 0.124079)
					(xy -0.124079 0.124079)
				)
				(width 0.235577)
			)
		)
	)
	(pad "" smd custom
		(at -0.65 -1.6)
		(size 0.413904 0.413904)
		(layers "F.Paste")
		(options
			(clearance outline)
			(anchor circle)
		)
		(primitives
			(gr_poly
				(pts
					(xy -0.454215 -0.172036)
					(xy 0.454215 -0.172036)
					(xy 0.454215 0.114185)
					(xy 0.396364 0.172036)
					(xy -0.396364 0.172036)
					(xy -0.454215 0.114185)
				)
				(width 0.139664)
			)
		)
	)
	(pad "" smd roundrect
		(at -0.65 -0.65)
		(size 1.048094 1.048094)
		(layers "F.Paste")
		(roundrect_rratio 0.238528)
	)
	(pad "" smd roundrect
		(at -0.65 0.65)
		(size 1.048094 1.048094)
		(layers "F.Paste")
		(roundrect_rratio 0.238528)
	)
	(pad "" smd custom
		(at -0.65 1.6)
		(size 0.413904 0.413904)
		(layers "F.Paste")
		(options
			(clearance outline)
			(anchor circle)
		)
		(primitives
			(gr_poly
				(pts
					(xy -0.454215 -0.114185)
					(xy -0.396364 -0.172036)
					(xy 0.396364 -0.172036)
					(xy 0.454215 -0.114185)
					(xy 0.454215 0.172036)
					(xy -0.454215 0.172036)
				)
				(width 0.139664)
			)
		)
	)
	(pad "" smd custom
		(at 0.65 -1.6)
		(size 0.413904 0.413904)
		(layers "F.Paste")
		(options
			(clearance outline)
			(anchor circle)
		)
		(primitives
			(gr_poly
				(pts
					(xy -0.454215 -0.172036)
					(xy 0.454215 -0.172036)
					(xy 0.454215 0.114185)
					(xy 0.396364 0.172036)
					(xy -0.396364 0.172036)
					(xy -0.454215 0.114185)
				)
				(width 0.139664)
			)
		)
	)
	(pad "" smd roundrect
		(at 0.65 -0.65)
		(size 1.048094 1.048094)
		(layers "F.Paste")
		(roundrect_rratio 0.238528)
	)
	(pad "" smd roundrect
		(at 0.65 0.65)
		(size 1.048094 1.048094)
		(layers "F.Paste")
		(roundrect_rratio 0.238528)
	)
	(pad "" smd custom
		(at 0.65 1.6)
		(size 0.413904 0.413904)
		(layers "F.Paste")
		(options
			(clearance outline)
			(anchor circle)
		)
		(primitives
			(gr_poly
				(pts
					(xy -0.454215 -0.114185)
					(xy -0.396364 -0.172036)
					(xy 0.396364 -0.172036)
					(xy 0.454215 -0.114185)
					(xy 0.454215 0.172036)
					(xy -0.454215 0.172036)
				)
				(width 0.139664)
			)
		)
	)
	(pad "" smd custom
		(at 1.6 -1.6)
		(size 0.365947 0.365947)
		(layers "F.Paste")
		(options
			(clearance outline)
			(anchor circle)
		)
		(primitives
			(gr_poly
				(pts
					(xy -0.124079 -0.124079)
					(xy 0.124079 -0.124079)
					(xy 0.124079 0.124079)
					(xy -0.0265 0.124079)
					(xy -0.124079 0.0265)
				)
				(width 0.235577)
			)
		)
	)
	(pad "" smd custom
		(at 1.6 -0.65)
		(size 0.413904 0.413904)
		(layers "F.Paste")
		(options
			(clearance outline)
			(anchor circle)
		)
		(primitives
			(gr_poly
				(pts
					(xy -0.172036 -0.396364)
					(xy -0.114185 -0.454215)
					(xy 0.172036 -0.454215)
					(xy 0.172036 0.454215)
					(xy -0.114185 0.454215)
					(xy -0.172036 0.396364)
				)
				(width 0.139664)
			)
		)
	)
	(pad "" smd custom
		(at 1.6 0.65)
		(size 0.413904 0.413904)
		(layers "F.Paste")
		(options
			(clearance outline)
			(anchor circle)
		)
		(primitives
			(gr_poly
				(pts
					(xy -0.172036 -0.396364)
					(xy -0.114185 -0.454215)
					(xy 0.172036 -0.454215)
					(xy 0.172036 0.454215)
					(xy -0.114185 0.454215)
					(xy -0.172036 0.396364)
				)
				(width 0.139664)
			)
		)
	)
	(pad "" smd custom
		(at 1.6 1.6)
		(size 0.365947 0.365947)
		(layers "F.Paste")
		(options
			(clearance outline)
			(anchor circle)
		)
		(primitives
			(gr_poly
				(pts
					(xy -0.124079 -0.0265)
					(xy -0.0265 -0.124079)
					(xy 0.124079 -0.124079)
					(xy 0.124079 0.124079)
					(xy -0.124079 0.124079)
				)
				(width 0.235577)
			)
		)
	)
	(pad "1" smd roundrect
		(at -2.475 -1.8)
		(size 0.75 0.2)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "2" smd roundrect
		(at -2.475 -1.4)
		(size 0.75 0.2)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "3" smd roundrect
		(at -2.475 -1)
		(size 0.75 0.2)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "4" smd roundrect
		(at -2.475 -0.6)
		(size 0.75 0.2)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "5" smd roundrect
		(at -2.475 -0.2)
		(size 0.75 0.2)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "6" smd roundrect
		(at -2.475 0.2)
		(size 0.75 0.2)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "7" smd roundrect
		(at -2.475 0.6)
		(size 0.75 0.2)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "8" smd roundrect
		(at -2.475 1)
		(size 0.75 0.2)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "9" smd roundrect
		(at -2.475 1.4)
		(size 0.75 0.2)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "10" smd roundrect
		(at -2.475 1.8)
		(size 0.75 0.2)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "11" smd roundrect
		(at -1.8 2.475)
		(size 0.2 0.75)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "12" smd roundrect
		(at -1.4 2.475)
		(size 0.2 0.75)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "13" smd roundrect
		(at -1 2.475)
		(size 0.2 0.75)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "14" smd roundrect
		(at -0.6 2.475)
		(size 0.2 0.75)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "15" smd roundrect
		(at -0.2 2.475)
		(size 0.2 0.75)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "16" smd roundrect
		(at 0.2 2.475)
		(size 0.2 0.75)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "17" smd roundrect
		(at 0.6 2.475)
		(size 0.2 0.75)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "18" smd roundrect
		(at 1 2.475)
		(size 0.2 0.75)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "19" smd roundrect
		(at 1.4 2.475)
		(size 0.2 0.75)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "20" smd roundrect
		(at 1.8 2.475)
		(size 0.2 0.75)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "21" smd roundrect
		(at 2.475 1.8)
		(size 0.75 0.2)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "22" smd roundrect
		(at 2.475 1.4)
		(size 0.75 0.2)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "23" smd roundrect
		(at 2.475 1)
		(size 0.75 0.2)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "24" smd roundrect
		(at 2.475 0.6)
		(size 0.75 0.2)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "25" smd roundrect
		(at 2.475 0.2)
		(size 0.75 0.2)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "26" smd roundrect
		(at 2.475 -0.2)
		(size 0.75 0.2)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "27" smd roundrect
		(at 2.475 -0.6)
		(size 0.75 0.2)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "28" smd roundrect
		(at 2.475 -1)
		(size 0.75 0.2)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "29" smd roundrect
		(at 2.475 -1.4)
		(size 0.75 0.2)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "30" smd roundrect
		(at 2.475 -1.8)
		(size 0.75 0.2)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "31" smd roundrect
		(at 1.8 -2.475)
		(size 0.2 0.75)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "32" smd roundrect
		(at 1.4 -2.475)
		(size 0.2 0.75)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "33" smd roundrect
		(at 1 -2.475)
		(size 0.2 0.75)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "34" smd roundrect
		(at 0.6 -2.475)
		(size 0.2 0.75)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "35" smd roundrect
		(at 0.2 -2.475)
		(size 0.2 0.75)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "36" smd roundrect
		(at -0.2 -2.475)
		(size 0.2 0.75)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "37" smd roundrect
		(at -0.6 -2.475)
		(size 0.2 0.75)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "38" smd roundrect
		(at -1 -2.475)
		(size 0.2 0.75)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "39" smd roundrect
		(at -1.4 -2.475)
		(size 0.2 0.75)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "40" smd roundrect
		(at -1.8 -2.475)
		(size 0.2 0.75)
		(layers "F.Cu" "F.Paste" "F.Mask")
		(roundrect_rratio 0.25)
	)
	(pad "41" thru_hole circle
		(at -1.3 -1.3)
		(size 0.5 0.5)
		(drill 0.2)
		(property pad_prop_heatsink)
		(layers "*.Cu")
		(remove_unused_layers no)
	)
	(pad "41" thru_hole circle
		(at -1.3 0)
		(size 0.5 0.5)
		(drill 0.2)
		(property pad_prop_heatsink)
		(layers "*.Cu")
		(remove_unused_layers no)
	)
	(pad "41" thru_hole circle
		(at -1.3 1.3)
		(size 0.5 0.5)
		(drill 0.2)
		(property pad_prop_heatsink)
		(layers "*.Cu")
		(remove_unused_layers no)
	)
	(pad "41" thru_hole circle
		(at 0 -1.3)
		(size 0.5 0.5)
		(drill 0.2)
		(property pad_prop_heatsink)
		(layers "*.Cu")
		(remove_unused_layers no)
	)
	(pad "41" thru_hole circle
		(at 0 0)
		(size 0.5 0.5)
		(drill 0.2)
		(property pad_prop_heatsink)
		(layers "*.Cu")
		(remove_unused_layers no)
	)
	(pad "41" smd rect
		(at 0 0)
		(size 3.1 3.1)
		(property pad_prop_heatsink)
		(layers "B.Cu")
		(zone_connect 2)
	)
	(pad "41" smd rect
		(at 0 0)
		(size 3.8 3.8)
		(property pad_prop_heatsink)
		(layers "F.Cu" "F.Mask")
		(zone_connect 2)
	)
	(pad "41" thru_hole circle
		(at 0 1.3)
		(size 0.5 0.5)
		(drill 0.2)
		(property pad_prop_heatsink)
		(layers "*.Cu")
		(remove_unused_layers no)
	)
	(pad "41" thru_hole circle
		(at 1.3 -1.3)
		(size 0.5 0.5)
		(drill 0.2)
		(property pad_prop_heatsink)
		(layers "*.Cu")
		(remove_unused_layers no)
	)
	(pad "41" thru_hole circle
		(at 1.3 0)
		(size 0.5 0.5)
		(drill 0.2)
		(property pad_prop_heatsink)
		(layers "*.Cu")
		(remove_unused_layers no)
	)
	(pad "41" thru_hole circle
		(at 1.3 1.3)
		(size 0.5 0.5)
		(drill 0.2)
		(property pad_prop_heatsink)
		(layers "*.Cu")
		(remove_unused_layers no)
	)
	(model "${KICAD9_3DMODEL_DIR}/Package_DFN_QFN.3dshapes/UQFN-40-1EP_5x5mm_P0.4mm_EP3.8x3.8mm.wrl"
		(offset
			(xyz 0 0 0)
		)
		(scale
			(xyz 1 1 1)
		)
		(rotate
			(xyz 0 0 0)
		)
	)
)
