(footprint "Hirose_DF40HC(4.0)-40DS-0.4V_2x20_P0.4mm"
	(version 20241229)
	(generator "kicad-footprint-generator")
	(layer "F.Cu")
	(descr "0.4mm Pitch, Stacking Height 4.000000mm, Receptacle, vertical (source: https://www.hirose.com/en/product/document?clcode=&productname=&series=DF40&documenttype=Catalog&lang=en&documentid=en_DF40_CAT)")
	(tags "conn hirose board-to-board mezzanine stacking receptacle")
	(property "Reference" "REF**"
		(at 0 -3.09 0)
		(layer "F.SilkS")
		(effects
			(font
				(size 1 1)
				(thickness 0.15)
			)
		)
	)
	(property "Value" "Hirose_DF40HC(4.0)-40DS-0.4V_2x20_P0.4mm"
		(at 0 3.09 0)
		(layer "F.Fab")
		(effects
			(font
				(size 1 1)
				(thickness 0.15)
			)
		)
	)
	(attr smd)
	(fp_line
		(start -5.41 -1.55)
		(end -4.16 -1.55)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start -5.41 1.55)
		(end -5.41 -1.55)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start -4.16 1.55)
		(end -5.41 1.55)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start -4.016506 2.665)
		(end -3.8 2.29)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start -3.8 2.29)
		(end -3.583494 2.665)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start -3.583494 2.665)
		(end -4.016506 2.665)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start 4.16 -1.55)
		(end 5.41 -1.55)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start 5.41 -1.55)
		(end 5.41 1.55)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start 5.41 1.55)
		(end 4.16 1.55)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_rect
		(start -5.81 -2.39)
		(end 5.81 2.39)
		(stroke
			(width 0.05)
			(type solid)
		)
		(fill no)
		(layer "F.CrtYd")
	)
	(fp_line
		(start -5.3 -1.44)
		(end 5.3 -1.44)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start -5.3 1.44)
		(end -5.3 -1.44)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start -4 1.44)
		(end -3.8 1.12)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start -3.8 1.12)
		(end -3.6 1.44)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 5.3 -1.44)
		(end 5.3 1.44)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 5.3 1.44)
		(end -5.3 1.44)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_text user "${REFERENCE}"
		(at 0 0 0)
		(layer "F.Fab")
		(effects
			(font
				(size 1 1)
				(thickness 0.15)
			)
		)
	)
	(pad "1" smd roundrect
		(at -3.8 1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "2" smd roundrect
		(at -3.8 -1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "3" smd roundrect
		(at -3.4 1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "4" smd roundrect
		(at -3.4 -1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "5" smd roundrect
		(at -3 1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "6" smd roundrect
		(at -3 -1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "7" smd roundrect
		(at -2.6 1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "8" smd roundrect
		(at -2.6 -1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "9" smd roundrect
		(at -2.2 1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "10" smd roundrect
		(at -2.2 -1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "11" smd roundrect
		(at -1.8 1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "12" smd roundrect
		(at -1.8 -1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "13" smd roundrect
		(at -1.4 1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "14" smd roundrect
		(at -1.4 -1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "15" smd roundrect
		(at -1 1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "16" smd roundrect
		(at -1 -1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "17" smd roundrect
		(at -0.6 1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "18" smd roundrect
		(at -0.6 -1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "19" smd roundrect
		(at -0.2 1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "20" smd roundrect
		(at -0.2 -1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "21" smd roundrect
		(at 0.2 1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "22" smd roundrect
		(at 0.2 -1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "23" smd roundrect
		(at 0.6 1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "24" smd roundrect
		(at 0.6 -1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "25" smd roundrect
		(at 1 1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "26" smd roundrect
		(at 1 -1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "27" smd roundrect
		(at 1.4 1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "28" smd roundrect
		(at 1.4 -1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "29" smd roundrect
		(at 1.8 1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "30" smd roundrect
		(at 1.8 -1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "31" smd roundrect
		(at 2.2 1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "32" smd roundrect
		(at 2.2 -1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "33" smd roundrect
		(at 2.6 1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "34" smd roundrect
		(at 2.6 -1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "35" smd roundrect
		(at 3 1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "36" smd roundrect
		(at 3 -1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "37" smd roundrect
		(at 3.4 1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "38" smd roundrect
		(at 3.4 -1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "39" smd roundrect
		(at 3.8 1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(pad "40" smd roundrect
		(at 3.8 -1.54)
		(size 0.2 0.7)
		(layers "F.Cu" "F.Mask" "F.Paste")
		(roundrect_rratio 0.25)
	)
	(embedded_fonts no)
	(model "${KICAD9_3DMODEL_DIR}/Connector_Hirose_DF40.3dshapes/Hirose_DF40HC(4.0)-40DS-0.4V_2x20_P0.4mm.step"
		(offset
			(xyz 0 0 0)
		)
		(scale
			(xyz 1 1 1)
		)
		(rotate
			(xyz 0 0 0)
		)
	)
)
