Draft: Added Vishay S102 series and Vishay 300144 divider
I have added two new footprints to the resistor THT generator.
The Vishay S102K / S102C foil resistors: https://foilresistors.com/docs/63001/63001.pdf and the Vishay 300144 array: https://www.vishayfoilresistors.com/docs/63045/300144x.pdf
The former is implemented using the box style resistors, while the latter uses a more generalized version of the SIP array generator. During that process I have refactored the makeResistorSIP() function. It now calls the more powerful makeResistorArray() function. The resulting footprints are shown below, but I still have a few questions.
Vishay S102K: R_Box_L7.6mm_W2.7mm_P3.81mm
Vishay 300144: R_Array_Box3_L7.5mm_W2.5mm_P2.54mm_Vishay_3001444
Questions: I have also prepared a 3D model for those resistors, but there is a distinct difference between the normal box used for the other resistors and those Vishay resistors. The Vishay resistors do have a little cutout on the bottom as shown in the screenshot. In addition, they are black. Now the question is, should I:
- Rename those footprints to something like R_Box_L7.6mm_W2.7mm_P3.81mm_Vishay_S102?
- Keep the name and just use a special footprint like R_Box_L7.6mm_W2.7mm_P3.81mm_Vishay_S102?
As soon as that issue is resolved, I will post a PR to get the 3D model merged.