(footprint "TerminalBlock_Xinya_XY308-2.54-18P_1x18_P2.54mm_Horizontal"
	(version 20240108)
	(generator "kicad-footprint-generator")
	(layer "F.Cu")
	(descr "Terminal Block Xinya XY308-2.54-18P, 18 pins, pitch 2.54mm, size 46.2x6.5mm, drill diameter 1.2mm, pad diameter 2mm, http://www.xinyaelectronic.com/product/xy308-254, script-generated using https://gitlab.com/kicad/libraries/kicad-footprint-generator/-/tree/master/scripts/TerminalBlock_Xinya")
	(tags "THT Terminal Block Xinya XY308-2.54-18P pitch 2.54mm size 46.2x6.5mm drill 1.2mm pad 2mm")
	(property "Reference" "REF**"
		(at 21.59 -4.22 0)
		(layer "F.SilkS")
		(effects
			(font
				(size 1 1)
				(thickness 0.15)
			)
		)
	)
	(property "Value" "TerminalBlock_Xinya_XY308-2.54-18P_1x18_P2.54mm_Horizontal"
		(at 21.59 4.52 0)
		(layer "F.Fab")
		(effects
			(font
				(size 1 1)
				(thickness 0.15)
			)
		)
	)
	(attr through_hole)
	(fp_line
		(start -1.64 -3.22)
		(end -1.64 3.52)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start -1.64 -3.22)
		(end 44.82 -3.22)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start -1.64 -1.5)
		(end 44.82 -1.5)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start -1.64 1.6)
		(end 44.82 1.6)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start -1.64 2.6)
		(end 44.82 2.6)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start -1.64 3.52)
		(end -0.3 3.52)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start 0.3 3.52)
		(end 44.82 3.52)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start 44.82 -3.22)
		(end 44.82 3.52)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_poly
		(pts
			(xy 0 3.52)
			(xy 0.44 4.13)
			(xy -0.44 4.13)
			(xy 0 3.52)
		)
		(stroke
			(width 0.12)
			(type solid)
		)
		(fill solid)
		(layer "F.SilkS")
	)
	(fp_line
		(start -2.02 -3.6)
		(end -2.02 3.9)
		(stroke
			(width 0.05)
			(type solid)
		)
		(layer "F.CrtYd")
	)
	(fp_line
		(start -2.02 3.9)
		(end 45.2 3.9)
		(stroke
			(width 0.05)
			(type solid)
		)
		(layer "F.CrtYd")
	)
	(fp_line
		(start 45.2 -3.6)
		(end -2.02 -3.6)
		(stroke
			(width 0.05)
			(type solid)
		)
		(layer "F.CrtYd")
	)
	(fp_line
		(start 45.2 3.9)
		(end 45.2 -3.6)
		(stroke
			(width 0.05)
			(type solid)
		)
		(layer "F.CrtYd")
	)
	(fp_line
		(start -1.52 -3.1)
		(end 44.7 -3.1)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start -1.52 -1.5)
		(end 44.7 -1.5)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start -1.52 1.6)
		(end 44.7 1.6)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start -1.52 2.6)
		(end -1.52 -3.1)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start -1.52 2.6)
		(end 44.7 2.6)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start -0.72 3.4)
		(end -1.52 2.6)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 0.636 -0.758)
		(end -0.758 0.636)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 0.758 -0.636)
		(end -0.636 0.758)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 3.176 -0.758)
		(end 1.782 0.636)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 3.298 -0.636)
		(end 1.904 0.758)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 5.716 -0.758)
		(end 4.322 0.636)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 5.838 -0.636)
		(end 4.444 0.758)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 8.256 -0.758)
		(end 6.862 0.636)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 8.378 -0.636)
		(end 6.984 0.758)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 10.796 -0.758)
		(end 9.402 0.636)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 10.918 -0.636)
		(end 9.524 0.758)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 13.336 -0.758)
		(end 11.942 0.636)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 13.458 -0.636)
		(end 12.064 0.758)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 15.876 -0.758)
		(end 14.482 0.636)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 15.998 -0.636)
		(end 14.604 0.758)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 18.416 -0.758)
		(end 17.022 0.636)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 18.538 -0.636)
		(end 17.144 0.758)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 20.956 -0.758)
		(end 19.562 0.636)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 21.078 -0.636)
		(end 19.684 0.758)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 23.496 -0.758)
		(end 22.102 0.636)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 23.618 -0.636)
		(end 22.224 0.758)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 26.036 -0.758)
		(end 24.642 0.636)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 26.158 -0.636)
		(end 24.764 0.758)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 28.576 -0.758)
		(end 27.182 0.636)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 28.698 -0.636)
		(end 27.304 0.758)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 31.116 -0.758)
		(end 29.722 0.636)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 31.238 -0.636)
		(end 29.844 0.758)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 33.656 -0.758)
		(end 32.262 0.636)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 33.778 -0.636)
		(end 32.384 0.758)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 36.196 -0.758)
		(end 34.802 0.636)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 36.318 -0.636)
		(end 34.924 0.758)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 38.736 -0.758)
		(end 37.342 0.636)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 38.858 -0.636)
		(end 37.464 0.758)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 41.276 -0.758)
		(end 39.882 0.636)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 41.398 -0.636)
		(end 40.004 0.758)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 43.816 -0.758)
		(end 42.422 0.636)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 43.938 -0.636)
		(end 42.544 0.758)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 44.7 -3.1)
		(end 44.7 3.4)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 44.7 3.4)
		(end -0.72 3.4)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_circle
		(center 0 0)
		(end 1 0)
		(stroke
			(width 0.1)
			(type solid)
		)
		(fill none)
		(layer "F.Fab")
	)
	(fp_circle
		(center 2.54 0)
		(end 3.54 0)
		(stroke
			(width 0.1)
			(type solid)
		)
		(fill none)
		(layer "F.Fab")
	)
	(fp_circle
		(center 5.08 0)
		(end 6.08 0)
		(stroke
			(width 0.1)
			(type solid)
		)
		(fill none)
		(layer "F.Fab")
	)
	(fp_circle
		(center 7.62 0)
		(end 8.62 0)
		(stroke
			(width 0.1)
			(type solid)
		)
		(fill none)
		(layer "F.Fab")
	)
	(fp_circle
		(center 10.16 0)
		(end 11.16 0)
		(stroke
			(width 0.1)
			(type solid)
		)
		(fill none)
		(layer "F.Fab")
	)
	(fp_circle
		(center 12.7 0)
		(end 13.7 0)
		(stroke
			(width 0.1)
			(type solid)
		)
		(fill none)
		(layer "F.Fab")
	)
	(fp_circle
		(center 15.24 0)
		(end 16.24 0)
		(stroke
			(width 0.1)
			(type solid)
		)
		(fill none)
		(layer "F.Fab")
	)
	(fp_circle
		(center 17.78 0)
		(end 18.78 0)
		(stroke
			(width 0.1)
			(type solid)
		)
		(fill none)
		(layer "F.Fab")
	)
	(fp_circle
		(center 20.32 0)
		(end 21.32 0)
		(stroke
			(width 0.1)
			(type solid)
		)
		(fill none)
		(layer "F.Fab")
	)
	(fp_circle
		(center 22.86 0)
		(end 23.86 0)
		(stroke
			(width 0.1)
			(type solid)
		)
		(fill none)
		(layer "F.Fab")
	)
	(fp_circle
		(center 25.4 0)
		(end 26.4 0)
		(stroke
			(width 0.1)
			(type solid)
		)
		(fill none)
		(layer "F.Fab")
	)
	(fp_circle
		(center 27.94 0)
		(end 28.94 0)
		(stroke
			(width 0.1)
			(type solid)
		)
		(fill none)
		(layer "F.Fab")
	)
	(fp_circle
		(center 30.48 0)
		(end 31.48 0)
		(stroke
			(width 0.1)
			(type solid)
		)
		(fill none)
		(layer "F.Fab")
	)
	(fp_circle
		(center 33.02 0)
		(end 34.02 0)
		(stroke
			(width 0.1)
			(type solid)
		)
		(fill none)
		(layer "F.Fab")
	)
	(fp_circle
		(center 35.56 0)
		(end 36.56 0)
		(stroke
			(width 0.1)
			(type solid)
		)
		(fill none)
		(layer "F.Fab")
	)
	(fp_circle
		(center 38.1 0)
		(end 39.1 0)
		(stroke
			(width 0.1)
			(type solid)
		)
		(fill none)
		(layer "F.Fab")
	)
	(fp_circle
		(center 40.64 0)
		(end 41.64 0)
		(stroke
			(width 0.1)
			(type solid)
		)
		(fill none)
		(layer "F.Fab")
	)
	(fp_circle
		(center 43.18 0)
		(end 44.18 0)
		(stroke
			(width 0.1)
			(type solid)
		)
		(fill none)
		(layer "F.Fab")
	)
	(fp_text user "${REFERENCE}"
		(at 21.59 2.15 0)
		(layer "F.Fab")
		(effects
			(font
				(size 1 1)
				(thickness 0.15)
			)
		)
	)
	(pad "1" thru_hole roundrect
		(at 0 0)
		(size 2 2)
		(drill 1.2)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
		(roundrect_rratio 0.125)
	)
	(pad "2" thru_hole circle
		(at 2.54 0)
		(size 2 2)
		(drill 1.2)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "3" thru_hole circle
		(at 5.08 0)
		(size 2 2)
		(drill 1.2)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "4" thru_hole circle
		(at 7.62 0)
		(size 2 2)
		(drill 1.2)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "5" thru_hole circle
		(at 10.16 0)
		(size 2 2)
		(drill 1.2)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "6" thru_hole circle
		(at 12.7 0)
		(size 2 2)
		(drill 1.2)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "7" thru_hole circle
		(at 15.24 0)
		(size 2 2)
		(drill 1.2)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "8" thru_hole circle
		(at 17.78 0)
		(size 2 2)
		(drill 1.2)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "9" thru_hole circle
		(at 20.32 0)
		(size 2 2)
		(drill 1.2)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "10" thru_hole circle
		(at 22.86 0)
		(size 2 2)
		(drill 1.2)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "11" thru_hole circle
		(at 25.4 0)
		(size 2 2)
		(drill 1.2)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "12" thru_hole circle
		(at 27.94 0)
		(size 2 2)
		(drill 1.2)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "13" thru_hole circle
		(at 30.48 0)
		(size 2 2)
		(drill 1.2)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "14" thru_hole circle
		(at 33.02 0)
		(size 2 2)
		(drill 1.2)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "15" thru_hole circle
		(at 35.56 0)
		(size 2 2)
		(drill 1.2)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "16" thru_hole circle
		(at 38.1 0)
		(size 2 2)
		(drill 1.2)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "17" thru_hole circle
		(at 40.64 0)
		(size 2 2)
		(drill 1.2)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "18" thru_hole circle
		(at 43.18 0)
		(size 2 2)
		(drill 1.2)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(model "${KICAD9_3DMODEL_DIR}/TerminalBlock.3dshapes/TerminalBlock_Xinya_XY308-2.54-18P_1x18_P2.54mm_Horizontal.wrl"
		(offset
			(xyz 0 0 0)
		)
		(scale
			(xyz 1 1 1)
		)
		(rotate
			(xyz 0 0 0)
		)
	)
)
