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

Re: gEDA-user: PCB Paneling



On Wed, 26 Jul 2006, DJ Delorie wrote:

>
>> Is there a way to determine the board size using an action script?
>
>"Action" scripts are like really dumb shell scripts - all they do is
>run commands, there's no flow control or other common scripting
>capabilities.  What you really want to do is use a perl script to do
>the logic, and have it "drive" pcb with an action script.
>
>We've blue-skied about adding a real scripting language as a HID, but
>the problem is we'd need to add something to the core to extract board
>information in a generic script-api way.

Before I started to read the mailing list, I thought I would add GPMI
support in PCB (had the same problem with panelizing and other, mostly
printing related tasks).

GPMI is a library that allows a software to have scripts
trough an unified interface. Currently 8 languages are supported: ghli 
(pascal), lua, perl, python, ruby, stutter (a lisp dialect), tcl. That
something that can drive PCB wouldn't be added in core, but rather in
separate dynamic loadable libraries.

But this would bring in some external dependencies which is generally not
preferred, if I got it right :)

bye

Igor2



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