hildogjr / KiCost

Build cost spreadsheet for a KiCad project.
MIT License
503 stars 98 forks source link

Ignore Value when grouping #389

Closed metropt closed 4 years ago

metropt commented 4 years ago

How can I group the following parts by footprint and manf# per example?

I tried to use the --group_fields for value but it stopped with an error.

image

Thank you

hildogjr commented 4 years ago

I think it not possible, did you get some warning message? By safety I believe the is not possible to merge different value parts, because they are essentially different component electrical parts. I have the same use of your and I use the Desc field at KiCost (or other EDA) to tell the button function (kicost foo --group_fields desc). The values of all them stay as "micro switch" or something like that.

metropt commented 4 years ago

I'll do that. Will start Desc for this kind of information.

hildogjr commented 4 years ago

"desc" and "description" are deal as alias by KiCost. You can also run kicost --setup (update your version to the last one available here) to create all the configurations and default fields in KiCad. This operation should be automatically done on installation but #372.