name = "steve/to-package" version = "1.2.0" runtime = "steve" license = "MIT" summary = "Through-hole TO packages standing on the board: TO-220AB, TO-220AC, TO-220F, TO-262, TO-247AC, TO-126, TO-92 and the TO-18, TO-39 and TO-46 metal cans, from the makers' drawings." description = """A through-hole transistor, regulator or diode package standing on the board, from the maker's package drawing: TO-220AB (3 leads) and TO-220AC (2 leads) with the metal tab and its hole, TO-247AC with its exposed copper and side slots, TO-92 with straight leads, TO-126 with its mounting plate, the fully moulded TO-220F with 3 or 2 leads, TO-262 (I2PAK) with its tab, and the TO-18 (2 or 3 leads), TO-39 and TO-46 metal cans. Lead 1 at the origin, the leads along +X, the moulded front toward -Y. See the README.""" tags = ["to-220", "to-247", "to-92", "to-18", "to-39", "to-126", "transistor", "package", "through-hole", "electronics"] [parameters.package] type = "choice" default = "TO-220AB" choices = ["TO-220AB", "TO-220AC", "TO-220F", "TO-220F-2", "TO-262", "TO-247AC", "TO-126", "TO-92", "TO-18", "TO-18-2", "TO-39", "TO-46"] label = "Package" description = "TO-220AB: 3 leads at 2.54. TO-220AC: 2 leads 5.08 apart. TO-247AC: 3 leads at 5.46. TO-92: 3 straight leads at 1.27. TO-18: metal can, 3 leads on a 2.54 circle; TO-18-2: 2 leads 2.54 apart. TO-39: metal can, Ø 9, 3 leads on a 5.08 circle. TO-46: low metal can, 3 leads on a 2.54 circle. TO-126: 3 leads at 2.25, mounting plate on the back. TO-220F: fully moulded, 3 leads at 2.54; TO-220F-2: 2 leads 5.1 apart. TO-262 (I2PAK): 3 leads at 2.54, metal tab above the body and pad on the back." [parameters.detail] type = "choice" default = "full" choices = ["full", "simple"] label = "Detail" description = "full: body, tab and leads. simple: the body and tab only, for big assemblies." [[presets]] id = "TO-220AB" title = "TO-220AB, 3 leads, 2.54 pitch, vertical (Vishay outline)" params = { package = "TO-220AB" } aliases = ["TO-220-3", "TO-220", "TO-220AB", "JEDEC TO-220AB", "TO220 3 lead"] standard = "Vishay TO-220AB" [[presets]] id = "TO-220AC" title = "TO-220AC, 2 leads, 5.08 apart, vertical (Vishay outline)" params = { package = "TO-220AC" } aliases = ["TO-220-2", "TO-220AC", "JEDEC TO-220AC", "TO220 2 lead"] standard = "Vishay TO-220AC" [[presets]] id = "TO-220F" title = "TO-220F (fully moulded), 3 leads, 2.54 pitch, vertical (Central Semiconductor outline)" params = { package = "TO-220F" } aliases = ["TO-220F-3", "TO-220F", "TO-220FP", "TO-220 FullPAK", "TO-220 full pack 3 lead"] standard = "Central TO-220FP" [[presets]] id = "TO-220F-2" title = "TO-220F (fully moulded), 2 leads, 5.1 apart, vertical (Central Semiconductor outline)" params = { package = "TO-220F-2" } aliases = ["TO-220F-2", "TO-220FP-2", "TO-220 full pack 2 lead"] standard = "Central TO-220FP-2" [[presets]] id = "TO-262" title = "TO-262 (I2PAK), 3 leads, 2.54 pitch, vertical (Vishay outline)" params = { package = "TO-262" } aliases = ["TO-262-3", "TO-262", "TO-262AA", "I2PAK", "I2-PAK"] standard = "Vishay TO-262" [[presets]] id = "TO-247AC" title = "TO-247AC, 3 leads, 5.46 pitch, vertical (Vishay outline)" params = { package = "TO-247AC" } aliases = ["TO-247-3", "TO-247", "TO-247AC", "JEDEC TO-247AC", "TO247 3 lead"] standard = "Vishay TO-247AC" [[presets]] id = "TO-126" title = "TO-126, 3 leads, 2.25 pitch, vertical (Central Semiconductor outline)" params = { package = "TO-126" } aliases = ["TO-126-3", "TO-126", "TO126 3 lead", "SOT-32"] standard = "Central TO-126" [[presets]] id = "TO-92" title = "TO-92, 3 straight leads, 1.27 pitch (TI LP0003A)" params = { package = "TO-92" } aliases = ["TO-92-3", "TO-92", "TO-226AA", "JEDEC TO-226AA", "TO92 straight leads", "LP0003A", "TO-92, 3 straight leads, 1.27 pitch (TI LP0003A)"] standard = "TI LP0003A" [[presets]] id = "TO-18" title = "TO-18 metal can, 3 leads (Central Semiconductor outline)" params = { package = "TO-18" } aliases = ["TO-18-3", "TO-18", "TO-206AA", "JEDEC TO-206AA", "TO18 metal can 3 lead"] standard = "Central TO-18" [[presets]] id = "TO-18-2" title = "TO-18 metal can, 2 leads (Central Semiconductor outline)" params = { package = "TO-18-2" } aliases = ["TO-18-2", "TO-18 2 lead", "TO18 metal can 2 lead"] standard = "Central TO-18 2-lead" [[presets]] id = "TO-39" title = "TO-39 metal can, 3 leads (Central Semiconductor outline)" params = { package = "TO-39" } aliases = ["TO-39-3", "TO-39", "TO-205AD", "JEDEC TO-205AD", "TO39 metal can 3 lead"] standard = "Central TO-39" [[presets]] id = "TO-46" title = "TO-46 metal can, 3 leads (Central Semiconductor outline)" params = { package = "TO-46" } aliases = ["TO-46-3", "TO-46", "TO-206AB", "JEDEC TO-206AB", "TO46 metal can 3 lead"] standard = "Central TO-46" [[presets]] id = "TO-220AB-simple" title = "TO-220AB, 3 leads, 2.54 pitch, vertical (Vishay outline), simple" params = { package = "TO-220AB", detail = "simple" } aliases = ["TO-220AB simple"] standard = "Vishay TO-220AB"