LibrePCB / librepcb-parts-generator

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

Generate pkg/dev for polarized radial capacitors (CAPPRD) #71

Closed ubruhin closed 4 years ago

ubruhin commented 4 years ago

The most tricky part was to find reasonable configurations to add. I checked many datasheets of Nichicon, Panasonic, Epcos etc. It looks like all manufacturers use the same dimensions, only the lead diameter slightly varies from model to model. Thus I always used the largest lead diameter I found, since capacitors with thinner leads can still be mount.

For now, I only added frequently used dimensions up to a diameter of 18mm since these should cover >80% of all use cases. Other dimensions could be added on demand.

PR in base library: https://github.com/LibrePCB-Libraries/LibrePCB_Base.lplib/pull/56

ubruhin commented 4 years ago

Needs rebase, but good otherwise!

-> rebased. Thanks for reviewing!