Mail Archives: geda-user/2015/02/18/05:41:03
Hi Stuart, thanks for replying.
I guess that adding non-electronic components to gschem, in order to
have them come out in the BOM, is on the blurry edge of the design
suite's scope!
I only want to keep project hardware details upstream of the spreadsheet
BOM, i.e. in gschem, to avoid having to think about copying the old
hardware details into a new BOM at every project up-issue. And the
number of open gEDA projects I manage is growing, so having
non-electronic parts in the BOM would be a great boon.
Maybe whoever advised me that gattrib would work with pinless symbols
was mistaken, and meant to specify some other method of BOM creation.
Getting gradually less confused :)
Matt
On 16/02/15 16:41, Stuart Brorson wrote:
> I wrote gattrib some time ago. It is kind of limited in what it can
> do, and I suspect you can't use it on components which don't have the
> proper set of attributes that electrical components have in gschem.
>
> What I do is this: I use gattrib to read in my schematic components,
> then do file->export csv. Then I read the CSV file into oocalc (or
> your favorite spreadsheet program), and add the other BOM components
> there. I put unit costs into my component's attributes, so I can also
> compute a BOM cost using oocalc. In general, I use oocalc to manage
> my entire BOM, and gattrib to manage and update the attributes of my
> schematic components only.
>
> I realize that you can't use this flow to add non-electronic
> components back into your schematic. However, to hold those
> non-electronic components in gschem/gattrib, you need to create a full
> symbol with the right set of attributes (at least a DEVICE and REFDES
> attribute, IIRC). This is a PITA, so I don't generally do it for
> random stuff like fasteners. YMMV.
>
> I know DJ has a similar work flow, but he uses a script he wrote (I
> belive) which reads .sch files and creates a .csv directly. You might
> look at his scripts on gedasymbols.org for that script.
>
> Stuart
>
>
>
>
> On Mon, 16 Feb 2015, Matt Rhys-Roberts wrote:
>
>> Following some advice given to me last year, I've been trying to
>> describe some non-electrical hardware components (e.g. fasteners,
>> spacers etc) on a separate .sch sheet, so that I can generate a
>> non-pcb BOM via gattrib. This is to create a list of all possible
>> project parts.
>>
>> Problem: gattrib won't even start up when I point it at this
>> non-electrical sheet, despite using the -q (quiet) switch, and
>> complains that there are no pins defined at all.
>>
>> I would welcome any suggestions and advice at this stage.
>>
>> Kind regards,
>> Matt.
>>
- Raw text -