Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| notes:geda_tips [2012/07/15 10:00] – [Generating BOM from schema] admin | notes:geda_tips [2026/10/25 19:30] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== gschem tips ====== | ====== gschem tips ====== | ||
| + | ===== Using custom symbols in schema ===== | ||
| + | Specify locations of custom symbols in ~/ | ||
| + | < | ||
| + | (define gedasymbols "/ | ||
| + | (component-library (build-path gedasymbols " | ||
| + | (component-library (build-path gedasymbols " | ||
| + | (component-library (build-path gedasymbols " | ||
| + | (component-library (build-path gedasymbols " | ||
| + | (component-library (build-path gedasymbols " | ||
| + | (component-library (build-path gedasymbols " | ||
| + | </ | ||
| ===== Generating BOM from schema ===== | ===== Generating BOM from schema ===== | ||
| * make a text file called ' | * make a text file called ' | ||
| < | < | ||
| - | $ print "device\nfootprint\ncomment" > ./attribs | + | $ print "value\nmanufacturer\nfootprint\nvendor\nvendor_part_number" > ./attribs |
| $ cat ./attribs | $ cat ./attribs | ||
| - | device | + | value |
| + | manufacturer | ||
| footprint | footprint | ||
| - | comment | + | vendor |
| + | vendor_part_number | ||
| $ | $ | ||
| </ | </ | ||
| Line 23: | Line 36: | ||
| $ gnetlist -g bom2 -o file1.bom file1.sch | $ gnetlist -g bom2 -o file1.bom file1.sch | ||
| </ | </ | ||
| + | ====== pcb tips ====== | ||
| + | ===== Customizing location of footprints ===== | ||
| + | < | ||
| + | $ echo " | ||
| + | </ | ||
| + | Since that setting has effect of replacing standard location of footprint library with the custom one, it is necessary to make footprints from standard library accessible in some way. To address that, symlinks from custom location to standard one were created for desired footprints, e.g.: | ||
| + | < | ||
| + | $ cd ~/ | ||
| + | $ ls -l 0805.fp | ||
| + | lrwxrwxrwx | ||
| + | </ | ||
| + | ====== Useful links ====== | ||
| + | [[http:// | ||
| + | [[http:// | ||
| + | [[http:// | ||
| + | [[http:// | ||
| + | [[http:// | ||
| + | [[http:// | ||
| + | [[http:// | ||
| + | [[http:// | ||
| + | [[http:// | ||
| + | [[http:// | ||
