Page 1 of 1

How to change default capacitor type

Posted: Sun Oct 29, 2023 2:10 am
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

Re: How to change default capacitor type

Posted: Mon Oct 30, 2023 8:27 am
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

Re: How to change default capacitor type

Posted: Mon Oct 30, 2023 4:41 pm
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!

Re: How to change default capacitor type

Posted: Tue Oct 31, 2023 9:37 pm
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

Re: How to change default capacitor type

Posted: Tue Oct 31, 2023 11:59 pm
by pricom
will give that a try, and get the BOM in too.