Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
notes:geda_tips [2012/07/16 19:34] admin |
notes:geda_tips [2013/02/02 11:20] (current) |
||
---|---|---|---|
Line 15: | Line 15: | ||
<code> | <code> | ||
- | $ print "device\nmanufacturer\nfootprint\nsupplier\npn" > ./attribs | + | $ print "value\nmanufacturer\nfootprint\nvendor\nvendor_part_number" > ./attribs |
$ cat ./attribs | $ cat ./attribs | ||
- | device | + | value |
manufacturer | manufacturer | ||
footprint | footprint | ||
- | supplier | + | vendor |
- | pn | + | vendor_part_number |
$ | $ | ||
</code> | </code> | ||
Line 36: | Line 36: | ||
$ gnetlist -g bom2 -o file1.bom file1.sch | $ gnetlist -g bom2 -o file1.bom file1.sch | ||
</code> | </code> | ||
- | ====== gschem tips ====== | + | ====== pcb tips ====== |
+ | ===== Customizing location of footprints ===== | ||
+ | <code> | ||
+ | $ echo "lib-newlib = /home/dambi/projects/gaf/pcb-footprints" > ~/.pcb/settings | ||
+ | </code> | ||
+ | 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.: | ||
+ | <code> | ||
+ | $ cd ~/projects/gaf/pcb-footprints/ | ||
+ | $ ls -l 0805.fp | ||
+ | lrwxrwxrwx 1 dambi dambi 47 Jul 18 11:37 0805.fp -> /usr/local/share/pcb/pcblib-newlib/geda/0805.fp | ||
+ | </code> | ||
====== Useful links ====== | ====== Useful links ====== | ||
[[http://www.geda-project.org/|gEDA project]]\\ | [[http://www.geda-project.org/|gEDA project]]\\ | ||
Line 46: | Line 56: | ||
[[http://wiki.geda-project.org/geda:pcb_footprints|pcb footprint guide]]\\ | [[http://wiki.geda-project.org/geda:pcb_footprints|pcb footprint guide]]\\ | ||
[[http://www.brorson.com/gEDA/land_patterns_20070805.pdf|Footprint creation guide]]\\ | [[http://www.brorson.com/gEDA/land_patterns_20070805.pdf|Footprint creation guide]]\\ | ||
+ | [[http://wiki.geda-project.org/geda:gsch2pcb_tutorial|gschem to pcb tutorial]]\\ | ||
+ | [[http://tinymicros.com/mediawiki/images/3/3c/IPC-SM-782A.pdf|IPC-SM-782A.pdf]] (IPC SM 782A Surface Mount Design and Land Pattern Standard)\\ |