Hi,
I want to start this post by asking what is the intended role of the attributes that appear in components and devices windows? Is this pure informative?
I have stumbled across the following situation. I have LEDs with different colors for which I want to assign the correct 3D model. The color is given by the manufacturing number and the attribute like in the follwing picture:
They appear in the schematic like this:
In the layout they look like this:
In the footprint library I have saved the 3D models like this:
Is there a way to connect this information together, like connect the 3D models that I defined with the COLOR attribute in the device window, or, much better with the MPNs? One solution that I found: right click in the layout and then choose the corresponding 3D model. But what if I have 100 LEDs? Do I need to do this manually for all of them? Is there a better solution, a more efficient solution? Like for example link this info in the library all together?
Baldly, I would like to propose here something. One can add further columns in the device manager where the part numbers are defined, like a drop list to select the correct 3D model already defined in the 3D models list. One can go further by adding a footprint column and a footprint variant column. With this, the MPNs are linked to the correct info, like correct footprint and correct color, correct package variant etc. When a MPN is placed in the schematic, everithing will be at its place. No manual work and not redundancy. I don’t know how difficult is to implement this in the program.
I think, by design, it is intended that for each variant like this I define a new device that has the MPN in the name and then map the correct footprint, correct symbol and the MPNs that have that symbol and that footprint and, where needed, define attributes. Am I correct? I think this way of organizing the library is an improvement to other libraray management systems like in Kicad, but I also think, it is not complete. It sometimes forces me to define new devices for only little added information or, like in the above case, I can’t solve it at all in the library, I think. Still, I like LibrePCB because it uses references for footprints and symbols and not copies. This is a big improvement.
Best,
Horia