if pins == 7: self.tags.append("Heptawatt") self.rm = 2.54/2 # G/2 self.staggered_rm = [5.08,5.08] # M1 in Heptawatt V, L3 in Heptawatt H self.staggered_pin_offset_z = 2.8 # dimension: M in Heptawatt V self.staggered_pin_minlength = 15.8-((15.1+15.8)/2-(2.6+3)/2)+((0.35+0.55)/2)/2 # = 3.375 --> L2-(L6-L5)+E/2 in Heptawatt H, will be used only in Horizontal footprints self.pad = [(0.6+0.8)/2, (0.35+0.55)/2] # F, E if pins == 9: self.pinw = [0.5, 0.38]; self.drill = 0.7 self.pad = [1.3, 1.3] self.staggered_pad = [1.5, 1.5] # width/height of pads # Multiwatt == "double TO-220", i.e. they have TO-220 width x2, so TO-220-7 and TO-220-9 are not Multiwatt if package width == 10.x mm # see https://www.st.com/resource/en/technical_note/tn1258-an-innovative-high-power-ic-surface-mount-package-family-powerso20--powerso36-power-ic-packaging-from-insertion-to-surface-mounting-stmicroelectronics.pdf if pins > 9: self.tags.append("Multiwatt-{0}".format(pins)) #self.more_packnames.append("Multiwatt-{0}".format(pins)) if pins==11: