{"parts":[{"path":"./inventory/561b71e2-7515-44f5-a456-e05d4a5590e1/v1/","files":{"meta":"{\"format\":1,\"id\":\"561b71e2-7515-44f5-a456-e05d4a5590e1\",\"version\":1,\"kind\":\"source\",\"slug\":\"transistor\",\"name\":\"Transistor\",\"publisher\":\"ReDo.Pro\",\"license\":\"CC-BY-SA-4.0\",\"material\":{\"material\":\"moulded-epoxy\"},\"summary\":\"A generic through-hole transistor by model: small-signal NPN, PNP and MOSFET parts in a TO-92 body (2N3904, 2N3906, 2N2222A, BC547, BC557, 2N7000) or power parts in a TO-220 with its tab (TIP120, TIP31C, IRF520). Its three leads splay to reach the holes, each labelled for the model's own pinout.\",\"keywords\":[\"transistor\",\"bjt\",\"npn\",\"pnp\",\"mosfet\",\"to-92\",\"to-220\",\"2n3904\",\"2n3906\",\"2n2222\",\"bc547\",\"bc557\",\"2n7000\",\"tip120\",\"tip31c\",\"irf520\",\"through-hole\",\"tht\",\"electronics\"],\"tags\":[\"electronics\"],\"attributes\":{},\"footprints\":{\"Package_TO_SOT_THT/TO-220-3_Vertical\":{\"model\":\"TIP120\",\"leg_span\":5.08,\"leg_stand\":3.69,\"leg_insert\":9.75},\"Package_TO_SOT_THT/TO-92_Inline\":{\"model\":\"2N3904\",\"leg_span\":2.54,\"leg_stand\":2.5}},\"legs\":{\"a\":\"pin_1\",\"b\":\"pin_3\",\"distance\":\"leg_span\",\"rise\":\"leg_rise\",\"stand\":\"leg_stand\"},\"parameters\":[{\"name\":\"model\",\"label\":\"Model\",\"type\":\"enum\",\"options\":[\"2N3904\",\"2N3906\",\"2N2222A\",\"BC547\",\"BC557\",\"2N7000\",\"TIP120\",\"TIP31C\",\"IRF520\"],\"default\":\"2N3904\"},{\"name\":\"leg_span\",\"label\":\"Leg span\",\"unit\":\"mm\",\"type\":\"number\",\"default\":5.08,\"min\":2.54,\"max\":50,\"hidden\":true},{\"name\":\"leg_rise\",\"label\":\"Leg rise\",\"unit\":\"mm\",\"type\":\"number\",\"default\":0,\"min\":-30,\"max\":30,\"hidden\":true},{\"name\":\"leg_stand\",\"label\":\"Stand-off\",\"unit\":\"mm\",\"type\":\"number\",\"default\":3,\"min\":0,\"max\":25,\"hidden\":true},{\"name\":\"leg_insert\",\"label\":\"Leg depth\",\"unit\":\"mm\",\"type\":\"number\",\"default\":3.5,\"min\":1,\"max\":20,\"hidden\":true}],\"footprintOffsets\":{\"Package_TO_SOT_THT/TO-220-3_Vertical\":[0,0.93]},\"documents\":[{\"file\":\"drawing.svg\",\"kind\":\"drawing\",\"title\":\"Drawing, A4\"},{\"file\":\"drawing.dxf\",\"kind\":\"drawing\",\"title\":\"Drawing, A4 DXF\"}],\"links\":[{\"url\":\"https://diotec.com/request/datasheet/2n3904.pdf\",\"kind\":\"datasheet\",\"title\":\"2N3904 datasheet (Diotec)\"},{\"url\":\"https://diotec.com/request/datasheet/2n3906.pdf\",\"kind\":\"datasheet\",\"title\":\"2N3906 datasheet (Diotec)\"},{\"url\":\"https://diotec.com/request/datasheet/2n2222a.pdf\",\"kind\":\"datasheet\",\"title\":\"2N2222A datasheet (Diotec)\"},{\"url\":\"https://diotec.com/request/datasheet/bc546.pdf\",\"kind\":\"datasheet\",\"title\":\"BC547 (BC546–BC549) datasheet (Diotec)\"},{\"url\":\"https://diotec.com/request/datasheet/bc556.pdf\",\"kind\":\"datasheet\",\"title\":\"BC557 (BC556–BC559) datasheet (Diotec)\"},{\"url\":\"https://diotec.com/request/datasheet/2n7000.pdf\",\"kind\":\"datasheet\",\"title\":\"2N7000 datasheet (Diotec)\"},{\"url\":\"https://diotec.com/request/datasheet/tip120.pdf\",\"kind\":\"datasheet\",\"title\":\"TIP120 (TIP120–TIP122) datasheet (Diotec)\"},{\"url\":\"https://diotec.com/request/datasheet/tip31.pdf\",\"kind\":\"datasheet\",\"title\":\"TIP31C (TIP31–TIP31C) datasheet (Diotec)\"},{\"url\":\"https://www.vishay.com/docs/91017/irf520.pdf\",\"kind\":\"datasheet\",\"title\":\"IRF520 datasheet (Vishay)\"}]}","source":"include <redo_electronics.scad>\n\nmodel = \"2N3904\";\nleg_span = 5.08;\nleg_rise = 0;\nleg_stand = 3;\nleg_insert = 3.5;\n\nredo_transistor(model, leg_span, leg_rise, leg_stand, leg_insert);\n"}}],"related":{"561b71e2-7515-44f5-a456-e05d4a5590e1":[]},"categories":{"561b71e2-7515-44f5-a456-e05d4a5590e1":"semiconductors"},"skuCategories":{},"componentPages":{},"families":[]}