How to change default capacitor type

Post Reply
pricom
Posts: 4
Joined: Sun Oct 29, 2023 2:03 am

How to change default capacitor type

Post by pricom »

When I open the Gerbers and IPC356 file using "new", the default component model for caps is "El-Cap", but I would like it to be "Capacitor". I think this could be because I use a rather large pad size for my 0603 caps. Seems that it is fooled into thinking they are El-Caps...
Is there a mapping file somewhere that allows this default selection?
Otherwise, a group select in the Component List would also let me change 100 El-Caps to Capacitor very quickly.
Thanks!
Bob
User avatar
Zofz
Site Admin
Posts: 93
Joined: Wed Apr 20, 2022 10:13 pm
Location: Cologne, Germany

Re: How to change default capacitor type

Post by Zofz »

It could be a bit better if the BOM is loaded and BOM's columns are detected correctly. Automatic column detection needs work, and I have already collected enough of the BOM examples to make a second run on the topic.

It is possible to change the bulk of components at once - this is based on the BOM's matching component names or footprint names. IPC356 just defines the footprint geometry.

The two-pin device models are defined by internal tables, separately for resistors, capacitors, and diodes. I thought to bring out those tables as CSV files, so you can edit them. There are columns used for creating the models and columns used for detection. It would be also helpful as a possibility of adding components. But, I am afraid it would be easy to corrupt the files. I would need to make some kind of management functionality, especially in case an update the tables are overwritten or not updated, etc. So it is not that simple to just bring the tables out. Should I bring the tables out anyway, just for a try, in a simple way?

I am also thinking of some kind of library, based on BOM names.

note: "4 equal names" and data from BOM, on the dialog below:
Image
pricom
Posts: 4
Joined: Sun Oct 29, 2023 2:03 am

Re: How to change default capacitor type

Post by pricom »

I like the idea of 4 equal names and 4 equal footprints. Where is that dialog? I am not using a BOM at all at this time. The fact that it figures out so much without even a BOM is amazing!

Any of your other ideas are your decision, I have only played with this program for a couple hours, so not qualified to give input.

This is a brilliant piece of work! Keep up what you are doing!
User avatar
Zofz
Site Admin
Posts: 93
Joined: Wed Apr 20, 2022 10:13 pm
Location: Cologne, Germany

Re: How to change default capacitor type

Post by Zofz »

That is possible by right-clicking on the component, then Component> and then Model.
The bulk change is possible only when the BOM is loaded. The component names and footprint names are known as text, and they can be compared and listed.
To see if the BOM is correctly recognized, see the component list. (main menu: Components) There should be a column with footprint names and another one with component names.

Image
pricom
Posts: 4
Joined: Sun Oct 29, 2023 2:03 am

Re: How to change default capacitor type

Post by pricom »

will give that a try, and get the BOM in too.
Post Reply