(footprint "RotaryEncoder_Bourns_Horizontal_PEL12D-2x31F-Sxxxx"
	(version 20241229)
	(generator "pcbnew")
	(generator_version "9.0")
	(layer "F.Cu")
	(descr "Rotary encoder with switch and illuminated 18mm shaft, dual-led, https://www.bourns.com/docs/product-datasheets/PEL12D.pdf")
	(tags "rotary encoder illuminated switch horizontal")
	(property "Reference" "REF**"
		(at 2.9 -5 0)
		(layer "F.SilkS")
	)
	(property "Value" "RotaryEncoder_Bourns_Horizontal_PEL12D-2x31F-Sxxxx"
		(at 0 30 0)
		(unlocked yes)
		(layer "F.Fab")
	)
	(property "Datasheet" ""
		(at 0 0 270)
		(unlocked yes)
		(layer "F.Fab")
		(hide yes)
	)
	(property "Description" ""
		(at 0 0 270)
		(unlocked yes)
		(layer "F.Fab")
		(hide yes)
	)
	(attr through_hole)
	(fp_text user "${REFERENCE}"
		(at 3 -1.3 0)
		(layer "F.Fab")
	)
	(pad "1" thru_hole roundrect
		(at 0 0 270)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
		(roundrect_rratio 0.25)
	)
	(pad "2" thru_hole circle
		(at 2 0 270)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "3" thru_hole circle
		(at 4 0 270)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "4" thru_hole circle
		(at 6 0 270)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "A" thru_hole circle
		(at 0.5 3.1 270)
		(size 1.8 1.8)
		(drill 1.1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "B" thru_hole circle
		(at 3 3.1 270)
		(size 1.8 1.8)
		(drill 1.1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "C" thru_hole circle
		(at 5.5 3.1 270)
		(size 1.8 1.8)
		(drill 1.1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "SH" thru_hole oval
		(at -3 -1.4 270)
		(size 3.4 2.8)
		(drill oval 2.6 2)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "SH" thru_hole oval
		(at 9 -1.4 270)
		(size 3.4 2.8)
		(drill oval 2.6 2)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(zone
		(net 0)
		(net_name "")
		(layer "F.Cu")
		(hatch edge 0.5)
		(connect_pads
			(clearance 0)
		)
		(min_thickness 0.25)
		(filled_areas_thickness no)
		(keepout
			(tracks not_allowed)
			(vias not_allowed)
			(pads not_allowed)
			(copperpour allowed)
			(footprints allowed)
		)
		(placement
			(enabled no)
			(sheetname "")
		)
		(fill
			(thermal_gap 0.5)
			(thermal_bridge_width 0.5)
		)
		(polygon
			(pts
				(xy -2.7 -3.2) (xy -2.7 -4.1) (xy -3.4 -4.1) (xy -3.4 -3.2)
			)
		)
	)
	(zone
		(net 0)
		(net_name "")
		(layer "F.Cu")
		(hatch edge 0.5)
		(connect_pads
			(clearance 0)
		)
		(min_thickness 0.25)
		(filled_areas_thickness no)
		(keepout
			(tracks not_allowed)
			(vias not_allowed)
			(pads not_allowed)
			(copperpour allowed)
			(footprints allowed)
		)
		(placement
			(enabled no)
			(sheetname "")
		)
		(fill
			(thermal_gap 0.5)
			(thermal_bridge_width 0.5)
		)
		(polygon
			(pts
				(xy 9.4 -3.2) (xy 9.4 -4.1) (xy 8.7 -4.1) (xy 8.7 -3.2)
			)
		)
	)
	(zone
		(net 0)
		(net_name "")
		(layers "F.Cu" "F.Fab")
		(hatch edge 0.5)
		(connect_pads
			(clearance 0)
		)
		(min_thickness 0.25)
		(filled_areas_thickness no)
		(keepout
			(tracks not_allowed)
			(vias not_allowed)
			(pads not_allowed)
			(copperpour allowed)
			(footprints allowed)
		)
		(placement
			(enabled no)
			(sheetname "")
		)
		(fill
			(thermal_gap 0.5)
			(thermal_bridge_width 0.5)
		)
		(polygon
			(pts
				(xy -2.7 4.9) (xy -2.7 3.6) (xy -3.45 3.6) (xy -3.45 4.9)
			)
		)
	)
	(zone
		(net 0)
		(net_name "")
		(layers "F.Cu" "F.Fab")
		(hatch edge 0.5)
		(connect_pads
			(clearance 0)
		)
		(min_thickness 0.25)
		(filled_areas_thickness no)
		(keepout
			(tracks not_allowed)
			(vias not_allowed)
			(pads not_allowed)
			(copperpour allowed)
			(footprints allowed)
		)
		(placement
			(enabled no)
			(sheetname "")
		)
		(fill
			(thermal_gap 0.5)
			(thermal_bridge_width 0.5)
		)
		(polygon
			(pts
				(xy 9.45 4.9) (xy 9.45 3.6) (xy 8.7 3.6) (xy 8.7 4.9)
			)
		)
	)
	(embedded_fonts no)
	(model "${KICAD9_3DMODEL_DIR}/Rotary_Encoder.3dshapes/RotaryEncoder_Bourns_Horizontal_PEL12D-2x31F-Sxxxx.wrl"
		(offset
			(xyz 0 0 0)
		)
		(scale
			(xyz 1 1 1)
		)
		(rotate
			(xyz 0 0 0)
		)
	)
)
