(footprint "Nidec_Copal_SH-7040B"
	(version 20241229)
	(generator "kicad-footprint-generator")
	(layer "F.Cu")
	(descr "4-bit rotary coded switch, gull wing, Gray code, https://www.nidec-copal-electronics.com/e/catalog/switch/sh-7000.pdf")
	(tags "rotary switch bcd")
	(property "Reference" "REF**"
		(at 0 -4.9 0)
		(layer "F.SilkS")
		(effects
			(font
				(size 1 1)
				(thickness 0.15)
			)
		)
	)
	(property "Value" "Nidec_Copal_SH-7040B"
		(at 0 4.9 0)
		(layer "F.Fab")
		(effects
			(font
				(size 1 1)
				(thickness 0.15)
			)
		)
	)
	(attr smd)
	(fp_line
		(start -5.87 -4.02)
		(end -4.5 -4.02)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start -5.87 -2.65)
		(end -5.87 -4.02)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start -3.67 -3.77)
		(end 3.67 -3.77)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start -3.67 -3.24)
		(end -3.67 -3.77)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start -3.67 -1.84)
		(end -3.67 -0.7)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start -3.67 0.7)
		(end -3.67 1.84)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start -3.67 3.24)
		(end -3.67 3.77)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start -3.67 3.77)
		(end 3.67 3.77)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start 3.67 -3.77)
		(end 3.67 -3.24)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start 3.67 -1.84)
		(end 3.67 1.84)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_line
		(start 3.67 3.77)
		(end 3.67 3.24)
		(stroke
			(width 0.12)
			(type solid)
		)
		(layer "F.SilkS")
	)
	(fp_rect
		(start -5.75 -3.9)
		(end 5.75 3.9)
		(stroke
			(width 0.05)
			(type solid)
		)
		(fill no)
		(layer "F.CrtYd")
	)
	(fp_line
		(start -3.55 -2.65)
		(end -2.55 -3.65)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start -3.55 3.65)
		(end -3.55 -2.65)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start -2.55 -3.65)
		(end 3.55 -3.65)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 3.55 -3.65)
		(end 3.55 3.65)
		(stroke
			(width 0.1)
			(type solid)
		)
		(layer "F.Fab")
	)
	(fp_line
		(start 3.55 3.65)
		(end -3.55 3.65)
		(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 rect
		(at -4 -2.54)
		(size 3 1)
		(layers "F.Cu" "F.Mask" "F.Paste")
	)
	(pad "2" smd rect
		(at 4 2.54)
		(size 3 1)
		(layers "F.Cu" "F.Mask" "F.Paste")
	)
	(pad "4" smd rect
		(at -4 2.54)
		(size 3 1)
		(layers "F.Cu" "F.Mask" "F.Paste")
	)
	(pad "8" smd rect
		(at 4 -2.54)
		(size 3 1)
		(layers "F.Cu" "F.Mask" "F.Paste")
	)
	(pad "C" smd rect
		(at -4 0)
		(size 3 1)
		(layers "F.Cu" "F.Mask" "F.Paste")
	)
	(embedded_fonts no)
	(model "${KICAD9_3DMODEL_DIR}/Button_Switch_SMD.3dshapes/Nidec_Copal_SH-7040B.step"
		(offset
			(xyz 0 0 0)
		)
		(scale
			(xyz 1 1 1)
		)
		(rotate
			(xyz 0 0 0)
		)
	)
)
