I'm writing a Ruby Extension library

Flesh out your ideas for new or improved Inkscape features before submitting a request.
vermeil
Posts: 3
Joined: Sun Dec 30, 2007 11:34 pm
Location: Mariestad, Sweden

I'm writing a Ruby Extension library

Postby vermeil » Mon Dec 31, 2007 12:22 am

Some weeks ago, I submitted a simple extension ("Dimension"). I wrote it in Python, since there were fewer wheels to invent that way. I'm not really comfortable with Python, however, so after submitting I decided to investigate using Ruby instead. There doesn't seem to be very much interest in Inkscape!Ruby at the moment; the only project I could find was RubyInk.

RubyInk seems nice but hard to get into without knowing Portuguese, and I don't agree with some of the design choices (e.g. extending REXML::Document). The license isn't clear, either.

So, I'm experimenting with my own extensions lib in Ruby. I'm still at pre-version-0, but it seems promising. Among the working features are:

* easy access to resources, e.g. adding a marker:

Code: Select all

defs << getMarker("RazorWire")

* reads the INX file to determine how the command line should be parsed
* the defs and sodipodi:namedview elements accessed as pseudo-hashes

I'm posting this to get the attention of Ruby-oriented Inkscapers. Comments?

Simarilius
Posts: 626
Joined: Wed Jun 06, 2007 2:37 am

Re: I'm writing a Ruby Extension library

Postby Simarilius » Wed Jan 02, 2008 4:26 am

MenTaLguY (one of the founding inkscape devs) is into ruby, he may have some thoughts, although I dont think he comes to this forum, may be worth sending a mail to the dev list asking if anyone has an suggestions.

vermeil
Posts: 3
Joined: Sun Dec 30, 2007 11:34 pm
Location: Mariestad, Sweden

Re: I'm writing a Ruby Extension library

Postby vermeil » Wed Jan 02, 2008 7:36 pm

Thanks! I'll do that, once I have something more substantial to demonstrate.

vermeil
Posts: 3
Joined: Sun Dec 30, 2007 11:34 pm
Location: Mariestad, Sweden

Re: I'm writing a Ruby Extension library

Postby vermeil » Tue Jan 22, 2008 8:43 am

Since announcing this project, I've unexpectedly been employed. This means that I have significantly less time to spend on hobby projects. Therefore, I've decided to put it on hold indefinitely. Contact me by email if you want to know more about what I have so far.


Return to “Inkscape Ideas”