December 23, 2015
Description
Through hole tactile switch based on CTS 222A tactile switch
http://www.mouser.com/ds/2/96/222A-531986.pdf
This object is intended to be imported into other projects:
use </path/to/library/tactile_switch.scad>
switchLocations = [[0, 0, 0], [0, 5, 0], [5, 5, 0]];
for (i = switchLocations) {
translate(i)
tactileSwitch(center = false, locate = false);
}
center = true will center around the volume of the switch base
center = false will place the bottom of the switch at the origin
locate = true adds a spear to make locating the switch easier when using it in models
Updates can be found at GitHub:
https://github.com/txoof/OpenSCAD_electronics
License:
Creative Commons - Attribution - Share Alike
1,310