X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type :x-gm-message-state; bh=KWJLy/wPq98v/hJPaJFNgmbDyhj9xmzrF176dnd2qdg=; b=OQWA2U9hKnWEB/EB+7FJt5jS3+g2/X2jGTllLyJCLge4AwRJwak4m/FsdPheFI2rjr FUrvKeSNhI/ge1ZqEEFHKGRQUnNpj207d4SYhmMb18PQaT0CwSESYMdGjGVEhw53jYsi Rk/95WiJvInxDftKzEnlWuAkuX21Gr/yzXH8xSjWOh2eXDAAmayTj9hTSgqqRzQ2VxYi W8vodOJgkJc2MjSB1MBNAZ40UaOtEE+9nJT04ddYJ7idM+bAQqMIc+IoCoeTlTzoOUOm y3BMIohHHYnbNRB+RzO49P4FKs0/J2TyhgUpsy9n0A+gSfIJsrtrpQ1IwXyj2VdEsPzX ro3Q== X-Received: by 10.180.9.134 with SMTP id z6mr11954993wia.2.1373293790767; Mon, 08 Jul 2013 07:29:50 -0700 (PDT) MIME-Version: 1.0 From: Joshua Lansford Date: Mon, 8 Jul 2013 10:29:29 -0400 Message-ID: Subject: [geda-user] gschem script button To: geda-user AT delorie DOT com Content-Type: multipart/alternative; boundary=001a11c2b1be923e6304e100e021 X-Gm-Message-State: ALoCoQmOpropJ9d7yvAeGcF8vb+gh9asGBxejzzZzoiueq+XJBvzgEWqKugj9yCHyw12t0A8Vn7f Reply-To: geda-user AT delorie DOT com --001a11c2b1be923e6304e100e021 Content-Type: text/plain; charset=ISO-8859-1 Hey guys, An idea for gschem and possibly pcb: From my understanding, a lot of the power of gschem comes from the simplistic file format which allows external scripts to extract and change information. I have utilized this myself as well as several other folks. For a command line kind of person like myself this isn't a problem. For a gui type of person, jumping in and out of the program though the design iteration to execute external scripts seems like a design flaw. (I don't think it is... just saying...) so I thought of the following idea for incorporating external scripts into gschem without script specifically having been design for inclusion. Create a directive to include in the gafrc file which specifies -a script filename with arguments and a $@ -an image icon, -and a tool tip. This button then shows in gschem on the tool bar. When this button is clicked, the in memory pages are saved to a temporary folder, the script is called with these pages and the temporary files are then loaded back into gschem without editing the original files. The textual information of the script is shown in a popup. The user can then immediately view the changes the script made, if any and if he/she likes them can then save them, or hit undo to revert. This work flow process should handle bom generation, export to pcb, refdes_renum as well as innumerable other scripts which work directly on the file format itself. Powerful scripts then become available as button clicks to those who try to stay clear of the ominous command line. Just an idea. ~Joshua --001a11c2b1be923e6304e100e021 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hey guys,
=A0 An idea for gschem and possibly pc= b:
=A0 From my understanding, a lot of the power of gschem = comes from the simplistic file format which allows external scripts to extr= act and change information. =A0I have utilized this myself as well as sever= al other folks. =A0For a command line kind of person like myself this isn&#= 39;t a problem.
=A0 For a gui type of person, jumping in and out of the program = though the design iteration to execute external scripts seems like a design= flaw. =A0(I don't think it is... just saying...) so I thought of the f= ollowing idea for incorporating external scripts into gschem without script= specifically having been design for inclusion.
=A0 Create a directive to include in the gafrc file which specif= ies=A0
=A0 -a script filename with arguments and a=A0$@
= =A0-an image icon,
=A0 =A0-and a tool tip. =A0
This button then sho= ws in gschem on the tool bar. =A0When this button is clicked, the in memory= pages are saved to a temporary folder, the script is called with these pag= es and the temporary files are then loaded back into gschem without editing= the original files. =A0The textual information of the script is shown in a= popup. =A0The user can then=A0immediately=A0view the changes the script ma= de, if any and if he/she likes them can then save them, or hit undo to reve= rt.
=A0 This work flow process should handle bom generation, export = to pcb, refdes_renum as well as=A0innumerable=A0other scripts which work di= rectly on the file format itself.
=A0=A0Powerful=A0scripts = then become=A0available=A0as button clicks to those who try to stay clear o= f the=A0ominous=A0command line. =A0Just an idea.
~Joshua
--001a11c2b1be923e6304e100e021--