gEDA-user: gschem command line printing
Hi everybody I'm working on a pretty big project which is essentially a Spectrum compatible computer, which will be published as open source when I finish it. The project is being drawn using gschem and pcb. There are 15 different schematics, each on one A4 page. Until recently I got away with printing from the menu in gschem. But now, with 3 different revisions of the computer, which will be developed separately into more versions, the printing seems to take just too much time. Eventually I tried the command line printing as described in the gschem FAQ, but the problem is that there is no output at all, no .PS files are generated whatsoever. The gschem window pops up for a very short milisecond and disappears (I'm using Linux and KDE) but there is no postscript output. I have 9 different gEDA versions installed in my system (1.0.1, 1.0.2, 1.2.1, 1.3.1, 1.4.0, 1.5.0, geda CD Suite (0.0.2), geda-cvs (2008-07-29) and a version installed with Linux (2005-03-13). I used 1.5.0 for my project. When I saw that command line printing is not working in 1.5.0 I tried with 1.4.0 but it still did nothing. my print.scm file is in /opt/geda-1.5.0/share/gEDA/scheme Among other lines, it contains the following: ; filename is specified on the command line (gschem-postscript dummyfilename) As far as I've seen, in all the other geda versions I have, these two lines are identical. But googling for a solution I came across people saying that supposedly there should be another file, gschem-print.scm, which is missing but possibly replaceable by print.scm, and that the 2 lines above should actually be like this: ; filename is specified on the command line (gschem-print dummyfilename) Can anyone point me to a solution here, am I missing an .scm file, am I having the wrong content in print.scm or what seems to be the problem? From gschem I can print either color or b/w with no problem at all, I use customized gschemrc files in each project folder and it's great, the only annoying thing is the command line printing not working. Thank you all in advance Chris ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: How to submit symbols to be included in the official distribution of gEDA Suite?
Ananda Murthy R S wrote: I have noticed that XSPICE code models do not have corresponding symbols. I have prepared symbols for these code models. How to submit them to be included in the official distribution of gEDA Suite? The default lib is currently not maintained. Additions have not been accepted for at least five years. Instead, there is a site dedicated to contributions: http://www.gedasymbols.org I'd recommend, you get a personal section there and upload your symbols there. Send an email to dj-at-delorie.com and DJ will gladly provide you with a CVS access. ---)kaimartin(--- -- Kai-Martin Knaak Email: k...@familieknaak.de http://pool.sks-keyservers.net:11371/pks/lookup?search=0x6C0B9F53 not happy with moderation of geda-user ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: gschem command line printing
Hello Chris, That's sounds great. Maybe i can help you, i wrote a script to export pdfs and handbooks for geda/pcb projects. I Attach you the script. I use Fedora Core 14 with the standart geda-gaf rpms. And it works perfectly. you need ghostscript a project file and the createPCB.sh script example project: - schematics schem1.sch schem2.sch output-name masterboard elements-dir ~/gaf/pcb-elements/using - change the path in the createPCB.sh for the print.scm to your needs. createPCB.sh Description: Binary data run the script ./createPCB.sh pdf and you get an pdf with all outputs. that you can esaylie share or print. hopefully i could help you, just write me if you have any questions. best regards Michael On Jul 12, 2011, at 8:11 AM, CoBra wrote: Hi everybody I'm working on a pretty big project which is essentially a Spectrum compatible computer, which will be published as open source when I finish it. The project is being drawn using gschem and pcb. There are 15 different schematics, each on one A4 page. Until recently I got away with printing from the menu in gschem. But now, with 3 different revisions of the computer, which will be developed separately into more versions, the printing seems to take just too much time. Eventually I tried the command line printing as described in the gschem FAQ, but the problem is that there is no output at all, no .PS files are generated whatsoever. The gschem window pops up for a very short milisecond and disappears (I'm using Linux and KDE) but there is no postscript output. I have 9 different gEDA versions installed in my system (1.0.1, 1.0.2, 1.2.1, 1.3.1, 1.4.0, 1.5.0, geda CD Suite (0.0.2), geda-cvs (2008-07-29) and a version installed with Linux (2005-03-13). I used 1.5.0 for my project. When I saw that command line printing is not working in 1.5.0 I tried with 1.4.0 but it still did nothing. my print.scm file is in /opt/geda-1.5.0/share/gEDA/scheme Among other lines, it contains the following: ; filename is specified on the command line (gschem-postscript dummyfilename) As far as I've seen, in all the other geda versions I have, these two lines are identical. But googling for a solution I came across people saying that supposedly there should be another file, gschem-print.scm, which is missing but possibly replaceable by print.scm, and that the 2 lines above should actually be like this: ; filename is specified on the command line (gschem-print dummyfilename) Can anyone point me to a solution here, am I missing an .scm file, am I having the wrong content in print.scm or what seems to be the problem? From gschem I can print either color or b/w with no problem at all, I use customized gschemrc files in each project folder and it's great, the only annoying thing is the command line printing not working. Thank you all in advance Chris ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user -- [] this Email is made of 100% Recyclable elektrons [] url : www.smog.at [] mailto : michael.the...@smog.at [] key: www.smog.at/key ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: gschem command line printing
here is my print.scm - ;; $Id$ ;; ;; This file may be used to print gschem schematics from the ;; command line. Typical usage is: ;; ;; gschem -p -o mysch.ps -s /path/to/this/file/print.scm mysch.sch ;; ;; The schematic in mysch.sch will be printed to the file mysch.ps ;; Uncomment these to override defaults when printing from the command line ;(output-orientation portrait) ;(output-type limits) ;(output-color enabled) ;(output-text ps) ; You need call this after you call any rc file function (gschem-use-rc-values) ; filename is specified on the command line (gschem-postscript dummyfilename) (gschem-exit) - On Jul 12, 2011, at 8:11 AM, CoBra wrote: Hi everybody I'm working on a pretty big project which is essentially a Spectrum compatible computer, which will be published as open source when I finish it. The project is being drawn using gschem and pcb. There are 15 different schematics, each on one A4 page. Until recently I got away with printing from the menu in gschem. But now, with 3 different revisions of the computer, which will be developed separately into more versions, the printing seems to take just too much time. Eventually I tried the command line printing as described in the gschem FAQ, but the problem is that there is no output at all, no .PS files are generated whatsoever. The gschem window pops up for a very short milisecond and disappears (I'm using Linux and KDE) but there is no postscript output. I have 9 different gEDA versions installed in my system (1.0.1, 1.0.2, 1.2.1, 1.3.1, 1.4.0, 1.5.0, geda CD Suite (0.0.2), geda-cvs (2008-07-29) and a version installed with Linux (2005-03-13). I used 1.5.0 for my project. When I saw that command line printing is not working in 1.5.0 I tried with 1.4.0 but it still did nothing. my print.scm file is in /opt/geda-1.5.0/share/gEDA/scheme Among other lines, it contains the following: ; filename is specified on the command line (gschem-postscript dummyfilename) As far as I've seen, in all the other geda versions I have, these two lines are identical. But googling for a solution I came across people saying that supposedly there should be another file, gschem-print.scm, which is missing but possibly replaceable by print.scm, and that the 2 lines above should actually be like this: ; filename is specified on the command line (gschem-print dummyfilename) Can anyone point me to a solution here, am I missing an .scm file, am I having the wrong content in print.scm or what seems to be the problem? From gschem I can print either color or b/w with no problem at all, I use customized gschemrc files in each project folder and it's great, the only annoying thing is the command line printing not working. Thank you all in advance Chris ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user -- [] this Email is made of 100% Recyclable elektrons [] url : www.smog.at [] mailto : michael.the...@smog.at [] key: www.smog.at/key ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: How to submit symbols to be included in the official distribution of gEDA Suite?
Dear Kai-Martin, Thanks for your information. I will contact DJ. Sincerely, RSA On Tue, Jul 12, 2011 at 5:06 AM, Kai-Martin Knaak [1]k...@familieknaak.de wrote: Ananda Murthy R S wrote: I have noticed that XSPICE code models do not have corresponding symbols. I have prepared symbols for these code models. How to submit them to be included in the official distribution of gEDA Suite? The default lib is currently not maintained. Additions have not been accepted for at least five years. Instead, there is a site dedicated to contributions: [2]http://www.gedasymbols.org I'd recommend, you get a personal section there and upload your symbols there. Send an email to [3]dj-at-delorie.com and DJ will gladly provide you with a CVS access. ---)kaimartin(--- -- Kai-Martin Knaak Email: [4]k...@familieknaak.de [5]http://pool.sks-keyservers.net:11371/pks/lookup?search=0x6C0B9F53 not happy with moderation of geda-user ___ geda-user mailing list [6]geda-user@moria.seul.org [7]http://www.seul.org/cgi-bin/mailman/listinfo/geda-user -- Close Windows ! Open source !! Free software from proprietary mafia !!! References 1. mailto:k...@familieknaak.de 2. http://www.gedasymbols.org/ 3. http://dj-at-delorie.com/ 4. mailto:k...@familieknaak.de 5. http://pool.sks-keyservers.net:11371/pks/lookup?search=0x6C0B9F53 6. mailto:geda-user@moria.seul.org 7. http://www.seul.org/cgi-bin/mailman/listinfo/geda-user ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
gEDA-user: PCB Library preferences has no effect
Hi all I'm running PCB version 20091103 on an Ubuntu 10.10 machine. I find that no matter what is put in the box for Library location under FilePreferencesLibrary it seems to have no effect. I initially put ~/Documents/gaf/Footprints (which contains newlib footprints) but none of my footprints showed up in the library editor. All the default footprints show up, though. Then I put in /usr/share/pcb/. I expected that the default footprints should show up twice, but that did not happen. The GUI seems to be only reading the value from the ~/.pcb/preferences file so changing the newlib location there didn't have any effect. How to I check whether the value set in PreferencesLibrary is actually being used? The --verbose option does not report anything about footprint locations either. Thanks in advance... Regards, ~Abhijit ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Gtk grid changes on mm/mil toggle
On Tue, 12 Jul 2011 04:46:11 -0700 Andrew Poelstra as...@sfu.ca wrote: Hey all, Right now in the Gtk HID when you change grid units between mm/mil, it will try to translate your grid setting into the new units by finding something sufficiently close in the menu. ... To the user, this would appear to be a randomly-selected, unannounced, unintended, subtle setting change. Can I remove this behavior? Please do so!!! While I really would like the advanced user-defined grids as in the recent patch, at least fixing this will help. Often I want to measure something in mils as I am laying out components on a metric grid. So I click the mm/mil toggle and forget that it also switches the grid (very subtly since it picks a mil grid close to the metric grid!). Then I end up continuing my layout work on the wrong grid! I would prefer the snap grid to be independent of the display units, or make this configurable. Regards, Colin ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: PCB Library preferences has no effect
On Tue, Jul 12, 2011 at 07:29:55PM +0530, Abhijit Kshirsagar wrote: Hi all I'm running PCB version 20091103 on an Ubuntu 10.10 machine. I find that no matter what is put in the box for Library location under FilePreferencesLibrary it seems to have no effect. I initially put ~/Documents/gaf/Footprints (which contains newlib footprints) but none of my footprints showed up in the library editor. All the default footprints show up, though. Perhaps you need to add a directory one higher than the one with your footprints in it? See https://bugs.launchpad.net/pcb/+bug/699572 -- Andrew Poelstra Email: asp11 at sfu.ca OR apoelstra at wpsoftware.net Web: http://www.wpsoftware.net/andrew/ ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
gEDA-user: gschem gnetlist problem
Hello all, I am trying to use gnetlist for the first time to create a Bill Of Materials (BOM) from my schematic. This is a test case of mine to come up with a procedure to do this. I keep getting the following: 536:$gnetlist -g bom xx.sch Loading schematic [/home/gherr/projects/vds160/original/hardware/dac/docs/xx.sch] Backtrace: In current input: 1: 0* [bom output.net] In /usr/local/share/gEDA/scheme/gnet-bom.scm: 37: 1 (let ((port #) (attriblist #)) (bom:printlist (cons # attriblist) port) ...) 40: 2* [bom:parseconfig ... 40: 3* [open-input-file attribs] In unknown file: ?: 4 [open-file attribs r] unnamed port: In procedure open-file in expression (open-file str OPEN_READ): unnamed port: No such file or directory: attribs It produces essentially the same error when using bom2. Of course, the output.net file is empty. What is this attribs file it seems to be looking for and not finding? Am I supposed to create this file? If so, where can I find a description of it? I have looked at the manpage, the gnetlist User's Guide, did some searching on the web for this error (gnetlist [open-file attribs r] ), and looked at the distribution for more documentation, all to no avail. For the record, I am using gEDA 1.6.2.20110115, KDE 3.5.10, Slackware Linux 12.2 (k2.6.27.7). I am not a schema/guile/lisp programmer, but I do program in other languages. I would appreciate any hints to get me back on track with gnetlist. Thanks in advance. Girvin Herr ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: gschem gnetlist problem
What is this attribs file it seems to be looking for and not finding? Am I supposed to create this file? If so, where can I find a description of it? It's a list of attributes for which you want extracts. http://geda.seul.org/wiki/geda:bom_readme ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
gEDA-user: pcb grid improvements... status of patch?
On Tue, 12 Jul 2011 09:52:38 -0700 Colin D Bennett co...@gibibit.com wrote: While I really would like the advanced user-defined grids as in the recent patch, at least fixing this will help. Often I want to measure something in mils as I am laying out components on a metric grid. So I click the mm/mil toggle and forget that it also switches the grid (very subtly since it picks a mil grid close to the metric grid!). Then I end up continuing my layout work on the wrong grid! To follow up on this, the bug with the new patch is at https://bugs.launchpad.net/pcb/+bug/724154 also see the geda-user mailing list thread titled “Please test new grids for GTK PCB” started 24 Feb 2011: http://thread.gmane.org/gmane.comp.cad.geda.user/35867/ I hope this patch can be finished and landed soon! Regards, Colin ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: gschem command line printing
On Tue, 12 Jul 2011 14:05:22 +0200 Michael Theurl michael.the...@smog.at wrote: Hello Chris, That's sounds great. Maybe i can help you, i wrote a script to export pdfs and handbooks for geda/pcb projects. I Attach you the script. I use Fedora Core 14 with the standart geda-gaf rpms. And it works perfectly. you need ghostscript a project file and the createPCB.sh script example project: - schematics schem1.sch schem2.sch output-name masterboard elements-dir ~/gaf/pcb-elements/using - change the path in the createPCB.sh for the print.scm to your needs. Thanks for posting your createPCB.sh script. I have a question, though: why do you use pcb -x bom to create the BOM instead of using gnetlist on the .sch file? The gnetlist option allows much more detail in the BOM since you can use the 'attribs' file to customize the data and include fields such as “manufacturer_partnum”, “comment”, etc. Is there some benefit to using pcb for the BOM that I am missing? Regards, Colin ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: pcb grid improvements... status of patch?
On Tue, Jul 12, 2011 at 10:48:38AM -0700, Colin D Bennett wrote: To follow up on this, the bug with the new patch is at https://bugs.launchpad.net/pcb/+bug/724154 also see the geda-user mailing list thread titled “Please test new grids for GTK PCB” started 24 Feb 2011: http://thread.gmane.org/gmane.comp.cad.geda.user/35867/ I have read through that bug report, though I haven't had a change to apply and play with the attached patch. The holdup right now is the file format change. We can't have that. Maybe we can store the grids in user preferences instead, but that's potentially a fair bit of work. -- Andrew Poelstra Email: asp11 at sfu.ca OR apoelstra at wpsoftware.net Web: http://www.wpsoftware.net/andrew/ ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: pcb grid improvements... status of patch?
Grids could be stored as top-level attributes... Attribute(grid:... ); ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: pcb grid improvements... status of patch?
On Tue, 12 Jul 2011 21:06:02 -0700 Andrew Poelstra as...@sfu.ca wrote: On Tue, Jul 12, 2011 at 10:48:38AM -0700, Colin D Bennett wrote: To follow up on this, the bug with the new patch is at https://bugs.launchpad.net/pcb/+bug/724154 also see the geda-user mailing list thread titled “Please test new grids for GTK PCB” started 24 Feb 2011: http://thread.gmane.org/gmane.comp.cad.geda.user/35867/ I have read through that bug report, though I haven't had a change to apply and play with the attached patch. The holdup right now is the file format change. We can't have that. Maybe we can store the grids in user preferences instead, but that's potentially a fair bit of work. As I suggested in the bug comments, we should be able to use “attributes” in the .pcb file without causing compatibility problems. Regards, Colin ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: gschem gnetlist problem
DJ Delorie wrote: What is this attribs file it seems to be looking for and not finding? Am I supposed to create this file? If so, where can I find a description of it? It's a list of attributes for which you want extracts. http://geda.seul.org/wiki/geda:bom_readme DJ, Thanks! That got it going. I thought it was something like that, but wasn't sure. Onward and upward! Girvin ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: pcb grid improvements... status of patch?
On Tue, 12 Jul 2011 21:06:02 -0700 Andrew Poelstra as...@sfu.ca wrote: Maybe we can store the grids in user preferences instead, but that's potentially a fair bit of work. Regardless of implementation difficulty, user preferences are NOT the place to store grid configurations, since each layout will surely have its own grid setup depending on the component packages and physical constraints (board density etc.). Regards, Colin ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: pcb grid improvements... status of patch?
On Tue, 12 Jul 2011 21:06:02 -0700 Andrew Poelstra as...@sfu.ca wrote: On Tue, Jul 12, 2011 at 10:48:38AM -0700, Colin D Bennett wrote: To follow up on this, the bug with the new patch is at https://bugs.launchpad.net/pcb/+bug/724154 also see the geda-user mailing list thread titled “Please test new grids for GTK PCB” started 24 Feb 2011: http://thread.gmane.org/gmane.comp.cad.geda.user/35867/ I have read through that bug report, though I haven't had a change to apply and play with the attached patch. The holdup right now is the file format change. We can't have that. Why not add the Attribute() item as DJ suggested, but put it at the top somewhere, inside a comment? Versions of PCB that don't understand it would simply ignore it. Move it out of commented out status when that major file format change that was talked about previously takes place. Same could hold true for any other optional/non-critical changes to the file format. -- There are some things in life worth obsessing over. Most things aren't, and when you learn that, life improves. http://digitalaudioconcepts.com Vanessa Ezekowitz vanessaezekow...@gmail.com ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: pcb grid improvements... status of patch ?
The current file format already supports Attribute() Sent by R2-D2 astromech droid -Original message- From: Vanessa Ezekowitz vanessaezekow...@gmail.com To: geda-user@moria.seul.org Sent: Tue, Jul 12, 2011 21:48:32 GMT+00:00 Subject: Re: gEDA-user: pcb grid improvements... status of patch? On Tue, 12 Jul 2011 21:06:02 -0700 Andrew Poelstra wrote: On Tue, Jul 12, 2011 at 10:48:38AM -0700, Colin D Bennett wrote: To follow up on this, the bug with the new patch is at [1]https://bugs.launchpad.net/pcb/+bug/724154 also see the geda-user mailing list thread titled �Please test new grids for GTK PCB� started 24 Feb 2011: [2]http://thread.gmane.org/gmane.comp.cad.geda.user/35867/ I have read through that bug report, though I haven't had a change to apply and play with the attached patch. The holdup right now is the file format change. We can't have that. Why not add the Attribute() item as DJ suggested, but put it at the top somewhere, inside a comment? Versions of PCB that don't understand it would simply ignore it. Move it out of commented out status when that major file format change that was talked about previously takes place. Same could hold true for any other optional/non-critical changes to the file format. -- There are some things in life worth obsessing over. � Most things aren't, and when you learn that, life improves. [3]http://digitalaudioconcepts.com Vanessa Ezekowitz ___ geda-user mailing list geda-user@moria.seul.org [4]http://www.seul.org/cgi-bin/mailman/listinfo/geda-user References 1. https://bugs.launchpad.net/pcb/+bug/724154 2. http://thread.gmane.org/gmane.comp.cad.geda.user/35867 3. http://digitalaudioconcepts.com/ 4. http://www.seul.org/cgi-bin/mailman/listinfo/geda-user ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: pcb grid improvements... status of patch?
On Tue, Jul 12, 2011 at 05:47:39PM -0400, Vanessa Ezekowitz wrote: Why not add the Attribute() item as DJ suggested, but put it at the top somewhere, inside a comment? Versions of PCB that don't understand it would simply ignore it. Move it out of commented out status when that major file format change that was talked about previously takes place. Same could hold true for any other optional/non-critical changes to the file format. In this case, we can add attributes without making any changes to the format. But in general, I would be strongly against any magic comment-style format changes. These would be hard to parse, cause fatal syntax errors on similar-looking comments, and make the file format even cruftier than it already is. The major file format change will be a change toward an extensible file format in which data and file structure are independent, so we will no longer break things by adding features. -- Andrew Poelstra Email: asp11 at sfu.ca OR apoelstra at wpsoftware.net Web: http://www.wpsoftware.net/andrew/ ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user