main
Ray Publish 0.1.0 3a997ba 5h ago
(footprint "JST_XH_S4B-XH-A_1x04_P2.50mm_Horizontal"
	(version 20260206)
	(generator "kicad-footprint-generator")
	(layer "F.Cu")
	(descr "JST XH series connector, S4B-XH-A (http://www.jst-mfg.com/product/pdf/eng/eXH.pdf)")
	(tags "connector JST XH horizontal")
	(property "Reference" "REF**"
		(at 3.75 -3.51 0)
		(layer "F.SilkS")
		(effects
			(font
				(size 1 1)
				(thickness 0.15)
			)
		)
	)
	(property "Value" "JST_XH_S4B-XH-A_1x04_P2.50mm_Horizontal"
		(at 3.75 10.4 0)
		(layer "F.Fab")
		(effects
			(font
				(size 1 1)
				(thickness 0.15)
			)
		)
	)
	(property "KiLib_Generator" "connector/JST"
		(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 -2.56 -2.41)
		(end -1.14 -2.41)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start -2.56 9.31)
		(end -2.56 -2.41)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start -1.14 -2.41)
		(end -1.14 2.09)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start -1.14 2.09)
		(end 3.75 2.09)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start -0.3 -2.1)
		(end 0.3 -2.1)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start 0 -1.5)
		(end -0.3 -2.1)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start 0.3 -2.1)
		(end 0 -1.5)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start 3.75 9.31)
		(end -2.56 9.31)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start 3.75 9.31)
		(end 10.06 9.31)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start 8.64 -2.41)
		(end 8.64 2.09)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start 8.64 2.09)
		(end 3.75 2.09)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start 10.06 -2.41)
		(end 8.64 -2.41)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start 10.06 9.31)
		(end 10.06 -2.41)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_rect
		(start -0.25 3.2)
		(end 0.25 8.7)
		(stroke
			(width 0.12)
			(type solid)
		)
		(fill no)
		(layer "F.SilkS")
	)
	(fp_rect
		(start 2.25 3.2)
		(end 2.75 8.7)
		(stroke
			(width 0.12)
			(type solid)
		)
		(fill no)
		(layer "F.SilkS")
	)
	(fp_rect
		(start 4.75 3.2)
		(end 5.25 8.7)
		(stroke
			(width 0.12)
			(type solid)
		)
		(fill no)
		(layer "F.SilkS")
	)
	(fp_rect
		(start 7.25 3.2)
		(end 7.75 8.7)
		(stroke
			(width 0.12)
			(type solid)
		)
		(fill no)
		(layer "F.SilkS")
	)
	(fp_line
		(start -2.45 -2.3)
		(end -1.25 -2.3)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start -2.45 9.2)
		(end -2.45 -2.3)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start -1.25 -2.3)
		(end -1.25 2.2)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start -1.25 2.2)
		(end 3.75 2.2)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start -0.625 2.2)
		(end 0 1.2)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 0 1.2)
		(end 0.625 2.2)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 3.75 9.2)
		(end -2.45 9.2)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 3.75 9.2)
		(end 9.95 9.2)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 8.75 -2.3)
		(end 8.75 2.2)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 8.75 2.2)
		(end 3.75 2.2)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 9.95 -2.3)
		(end 8.75 -2.3)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 9.95 9.2)
		(end 9.95 -2.3)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_text user "${REFERENCE}"
		(at 3.75 3.45 0)
		(layer "F.Fab")
		(effects
			(font
				(size 1 1)
				(thickness 0.15)
			)
		)
	)
	(pad "1" thru_hole roundrect
		(at 0 0)
		(size 1.7 1.95)
		(drill 0.95)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
		(roundrect_rratio 0.147059)
	)
	(pad "2" thru_hole oval
		(at 2.5 0)
		(size 1.7 1.95)
		(drill 0.95)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "3" thru_hole oval
		(at 5 0)
		(size 1.7 1.95)
		(drill 0.95)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "4" thru_hole oval
		(at 7.5 0)
		(size 1.7 1.95)
		(drill 0.95)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(embedded_fonts no)
	(model "${KICAD10_3DMODEL_DIR}/Connector_JST.3dshapes/JST_XH_S4B-XH-A_1x04_P2.50mm_Horizontal.step"
		(offset
			(xyz 0 0 0)
		)
		(scale
			(xyz 1 1 1)
		)
		(rotate
			(xyz 0 0 0)
		)
	)
	(fp_poly
		(pts (xy -2.70 -2.55) (xy 10.20 -2.55) (xy 10.20 9.45) (xy -2.70 9.45))
		(stroke (width 0.05) (type solid))
		(fill no)
		(layer "F.CrtYd")
	)
)