[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: Interpreter for automation schematics



   Hello again!
   I have been reading about the guile side of gschem. Does anyone know of
   any example scripts that i could look at?
   Preferably scripts that alters the schematics in some way.
   //John
   On 03/28/2011 07:41 AM, John Erlandsson wrote:

   Hi!
   I would like to use gschem to draw automation schematics according to
   Swedish standards.
   What I need is an interpreter that handles crossreferences, page
   numbering, BOM generation, and functions like finding duplicates.

   My question to you is how to best go about this.
   I made a test awk script to handle crossreferences.
   Example:
   I used a titleblock with numbers and letters for x-y coordinates.
   I made symbols for a Telemecanique contactor. 1 coil, 1 nc contact, 1
   no contact, and the 3-pole contactblock.
   The coil had had the following visible attributes:
   name
   crossref1 - page and position of nc contact
   crossref2 - page and position of no contact
   crossref3 - page and position of contactblock
   The contacts had these:
   name
   crossref - page and position of the coil.
   The problem with this is that I only made use of the braces in the
   *.sch files, and looked for the attribute names in a certain depth.
   This was only a test and is not reliable. I want to use a real guile
   interpreter, but this is all greek to me at the moment.
   I would appreciate any advice on how to go about this.
   //John





_______________________________________________
geda-user mailing list
[1]geda-user@xxxxxxxxxxxxxx
[2]http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

References

   1. mailto:geda-user@xxxxxxxxxxxxxx
   2. http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
begin:vcard
fn:John Erlandsson
n:Erlandsson;John
org:Lunatech Innovations
adr;quoted-printable:;;Kabelv=C3=A4gen 5;Alstermo;;360 75;Sweden
email;internet:john@xxxxxxxxxxx
title:Chef
tel;cell:0708-617228
url:http://www.lunatech.se
version:2.1
end:vcard


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user