LibrePCB / librepcb-parts-generator

A collection of scripts to generate parts for the LibrePCB default library
MIT License
7 stars 14 forks source link

chip: Also generate generic chip inductors #126

Closed ubruhin closed 1 year ago

ubruhin commented 1 year ago

Just as generic chip resistors & capacitors, adding generic chip inductors as well:

image

image

The dimensions are taken from Taiyo Yuden, TDK and Murata datasheets. The package selection is determined by the number of parts available on DigiKey. Packages larger than 1210 exist as well, but they don't look like chips anymore (very different package) so I didn't add them for now.

Unfortunately there's no common color for chip inductors. Many are black, but some are white, blue, or green, but I think it makes no sense to reflect all these colors in generic packages/devices (we could still add more 3D models later if desired). Actually black would be the most obvious option as it seems to be the most common color, but it's a bit sad that in the 3D viewer you almost can't distinguish resistors from inductors. IMO blue looks quite nice and is easily distinguishable from resistors and capacitors:

image

White might be okay as well, but it's very close to the lead color...

Library PR: https://github.com/LibrePCB-Libraries/LibrePCB_Base.lplib/pull/135

dbrgn commented 1 year ago

Blue looks good 🙂 I think being able to differentiate the part from Rs and Cs is useful.

I didn't verify the dimensions, but the diff looks good to me.