Differences

This shows you the differences between two versions of the page.

Link to this comparison view

notes:geda_tips [2012/07/15 10:04]
admin
notes:geda_tips [2013/02/02 11:20]
Line 1: Line 1:
-====== gschem tips ====== 
-===== Using custom symbols in schema ===== 
-Specify locations of custom symbols to ~/​.gEDA/​gafrc configuration file in following form: 
-<​code>​ 
-(define gedasymbols "/​data/​smb/​users/​dambi/​projects/​gaf/​sym"​) 
-(component-library (build-path gedasymbols "​analog"​)) 
-(component-library (build-path gedasymbols "​connector"​)) 
-(component-library (build-path gedasymbols "​linear"​)) 
-(component-library (build-path gedasymbols "​micro"​)) 
-(component-library (build-path gedasymbols "​misc"​)) 
-(component-library (build-path gedasymbols "​power"​)) 
-</​code>​ 
-===== Generating BOM from schema ===== 
-  * make a text file called '​attribs'​ listing the attributes you want in the BOM, for example: 
- 
-<​code>​ 
-$ print "​device\nfootprint\ncomment"​ > ./attribs 
-$ cat ./attribs 
-device 
-footprint 
-comment 
-$ 
-</​code>​ 
-No need to explicitly specify '​refdes',​ it is always added. 
- 
-  * Let gnetlist create the BOM and sort it using '​refdes'​ 
- 
-<​code>​ 
-$ gnetlist -g bom -o file1.bom file1.sch 
-$ sort -o file1.bom file1.bom 
-</​code>​ 
-Tabulator is used as a separator in this case. There is also a possibility to generate BOM with colon used as a separator: 
-<​code>​ 
-$ gnetlist -g bom2 -o file1.bom file1.sch 
-</​code>​ 
  
notes/geda_tips.txt ยท Last modified: 2013/02/02 11:20 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0