Mail Archives: geda-help/2016/08/17/15:17:29
Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-help AT delorie DOT com] wrote:
> On Sat, Aug 13, 2016 at 06:40:13PM +0000, Glen Ruch (GW DOT Ruch AT yahoo DOT com) [via geda-help AT delorie DOT com] wrote:
>
>> I would like to add BOM items to the schematic. The schematic is the
>> source and I would like to avoid the tracking issues that crop up when
>> using a separate spreadsheet.
>>
>> Typically adding things without a refdes e.g. enclosure, Solder 60/40,
>> screws, stand-offs, IC sockets, PCB part number, etc.
>>
>> gattrib would not allow me to add line items.
>>
>> For example, if I add a LM555 to a schematic, it is really an assembly
>> consisting of a DIP socket and an IC. If I would use a text editor on
>> the .sch file, I can add a DIP socket to the LM555 component, however
>> when viewing the BOM using gattrib the U2 LM555 device name is
>> overwritten by the DIP socket device name and there is only one line
>> item not two.
>>
>> Extract from test schematic:
>> C 43000 57000 1 0 0 lm555-1.sym
>> {
>> T 45300 59400 5 10 0 0 0 0 1
>> device=LM555
>> T 44800 57000 5 10 1 1 0 0 1
>> refdes=U2
>> T 43000 57000 5 10 0 0 0 0 1
>> footprint=DIL 8 300
>> T 43000 57000 5 10 0 1 0 0 1
>> Distributer=DigiKey
>> T 43000 57000 5 10 0 1 0 0 3
>> device=DIP_Socket
>> Distributer=DigiKey
>> DistrPartNumber=112233-4455-11
>> }
>>
>>
>> I've tried the gnetlister without success, cycling thru the various
>> backends:
>> gnetlist -g partslist3 -o test.bom test.sch
>>
>> Suggestions?
>>
> Use other attribute names for socket properties, say:
> socket-device, socket-Distributer and so on.
>
>
Hi,
FWIW, in case you didn't read already ... have a look at:
http://wiki.geda-project.org/geda:faq-gnetlist
and read the paragraph which mentions the use of a file named "attribs"
with the "key"s listed (maybe order does matter ?, and use "key" and
"value" as in "key=value" as per gschem attribute convention.
Just my 0.02 EUR.
Kind regards,
Bert Timmerman.
- Raw text -