Bernd Jendrissek wrote:
-----BEGIN PGP SIGNED MESSAGE-----

Would it make sense for gschem to be able to delegate symbol-choosing to
separate programs?  I'm imagining some sort of hack where gschem can
call external on-the-fly symbol generators that can each know as much as
they like about the symbol.

For example, you would choose "heavy resistor" from the gschem symbol
library, and it would fire up a PyGTK or guile-gtk script that pops up a
window with pull-down boxes for power rating and resistance.  When you
select "OK" it dynamically generates a heavy symbol and puts it where
gschem can see it.

I'd suggested this as a wish-list for parts like microcontrollers, where the functions of each pin (and indeed even whether the pin is an input or output or clock or ...) depend upon the configuration of the part.

What I would like to see would be the ability for a generic part to have a script attached, which then allows the user to describe the part. The script then generates a more specific part and any other files (e.g. a micro might generate a header to define the register setups needed to achieve the setting needed).

So I see the idea of a scripted part as a solution to not only the problem of passives, but to a larger set of problems such as micros.

Reply via email to