Some weeks ago I started working on a very basic schematics editor,
compatible with current gschem file format. I am writing it in Ruby,
using GTK/Cairo.
You may ask: Do we really need one?
No, gschem works fine.
You may say: That is wasting of your time.
Maybe...
You may say: You should better use QT, C++, Java, Python, OpenGL...
Maybe...
So why I started that task, and why do I write this text?
Some weeks ago there was a discussion about subnet support for gschem.
The conclusion was, that I have to learn some guile to implement it. OK,
some day I may do that, but currently my motivation is not really great.
On the other hand, I am currently learning Ruby and GTK/Cairo, and I do
not really love programming in C.
So I started a Ruby parser for gschem schematic files, just for fun, and
progress was really fast. Current state, after only 150 hours of work,
is that I can read in most basic shapes and write a cairo PNG file. (OK,
currently only embedded symbols work...)
So chances are not too bade that I will continue working on it in the
next months -- it is really easy and fun. A basic GUI and export of PCB
netlist should be not too difficult. I am not sure if I will ever
support hierachical design and other netlist formats -- that may be
really complicated?
A copy of the Ruby source text, and the png output is here.
http://www.ssalewski.de/tmp/pet.rb
http://www.ssalewski.de/tmp/out.png
Please note, I am NOT looking for support. Smart programmer should
better support PCB and gEDA development, that is much more useful. But
of course, if someone is really interested in this project, he may
contact me.
Can you remember, some years ago someone wrote about a Python editor on
this list, I never have heard about it again. Maybe the same for my
stupid idea.
Best regards
Stefan Salewski
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user