Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| notes:geda_tips [2012/07/15 09:38] – created 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 | ||
| $ | $ | ||
| </ | </ | ||
| No need to explicitly specify ' | No need to explicitly specify ' | ||
| - | * Let gnetlist create the BOM | + | * Let gnetlist create the BOM and sort it using ' |
| < | < | ||
| - | $ gnetlist -g bom -o bom.txt file1.sch | + | $ gnetlist -g bom -o file1.bom file1.sch |
| + | $ sort -o file1.bom file1.bom | ||
| + | </ | ||
| + | Tabulator is used as a separator in this case. There is also a possibility to generate BOM with colon used as a separator: | ||
| + | < | ||
| + | $ 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:// | ||
