name = "steve/slide-switch-tht" version = "1.1.0" runtime = "steve" license = "MIT" summary = "Through-hole slide switches from the makers' drawings: C&K OS102011 SPDT, vertical (MS2Q) and right-angle (MA1Q); E-Switch EG1224 (SPDT) and EG2219 (DPDT), right-angle." description = """Through-hole slide switch from the makers' drawings. C&K OS102011 (SPDT): steel shell 8.6 x 4.7 high over a phenolic base, 2.0 square actuator, 2.0 travel, terminals on 2.0, a leg at each end; MS2Q upright with the actuator 4.0 above, MA1Q right-angle. E-Switch EG1224 (SPDT) and EG2219 (DPDT): right-angle, body 13.8 x 6.5 x 8.5, a 5.0 x 4.0 actuator 9.0 out, 4.0 travel, terminals on 4.0, four legs. See the README.""" tags = ["slide-switch", "switch", "spdt", "dpdt", "through-hole", "c-and-k", "e-switch", "electronics"] [parameters.kind] type = "choice" default = "MS2Q" choices = ["MS2Q", "MA1Q", "EG1224", "EG2219"] label = "Type" description = "C&K MS2Q: vertical (actuator up); C&K MA1Q: right angle; E-Switch EG1224 (SPDT) and EG2219 (DPDT): right angle." [parameters.position] type = "integer" default = 2 min = 1 max = 2 label = "Actuator position" description = "1 or 2 (the C&K sheet draws position 2)." [[presets]] id = "os102011ms2q" title = "C&K OS102011MS2Q, SPDT miniature slide switch, vertical" params = { kind = "MS2Q" } aliases = ["C&K OS102011MS2Q", "OS102011MS2QN1", "OS102011MS2QN1C", "OS102011MS2QS1", "OS102011MS2QS1C"] standard = "C&K OS" [[presets]] id = "os102011ma1q" title = "C&K OS102011MA1Q, SPDT miniature slide switch, right angle" params = { kind = "MA1Q" } aliases = ["C&K OS102011MA1Q", "OS102011MA1QN1", "OS102011MA1QN1C", "OS102011MA1QS1", "OS102011MA1QS1C"] standard = "C&K OS" [[presets]] id = "eg1224" title = "E-Switch EG1224, SPDT slide switch, right angle" params = { kind = "EG1224" } aliases = ["E-Switch EG1224", "EG1224"] standard = "E-Switch EG" [[presets]] id = "eg2219" title = "E-Switch EG2219, DPDT slide switch, right angle" params = { kind = "EG2219" } aliases = ["E-Switch EG2219", "EG2219"] standard = "E-Switch EG"