Re: [Inkscape-devel] Scripting

I have started to post my experience with learning about writing inkscape extensions in python, in case there are others who are as clueless as I am and could benefit even from bad examples.
http://www.ekips.org/comp/inkscape/extending.php
I will continue adding extension examples as I write them. Those of you who are in the know, please take it easy on me. I'm a complete neophite.
Aaron Spike

Am Sonntag, 3. April 2005 04:24 schrieb fretfind@...248...:
I have started to post my experience with learning about writing inkscape extensions in python, in case there are others who are as clueless as I am and could benefit even from bad examples.
Hi Aaron,
I tried to follow your tutorial but failed already at the start :-\
Adding
<group show-effects-menu="1" id="extensions" />
to preferences.xml doesn't show a new menu here (Inkie 0.41). Is there a particular place in the preferences.xml where it should be written?
Cheerz Lars

Lars Behrens wrote:
Am Sonntag, 3. April 2005 04:24 schrieb fretfind@...248...:
I have started to post my experience with learning about writing inkscape extensions in python, in case there are others who are as clueless as I am and could benefit even from bad examples.
Hi Aaron,
I tried to follow your tutorial but failed already at the start :-\
Adding
<group show-effects-menu="1" id="extensions" />
to preferences.xml doesn't show a new menu here (Inkie 0.41). Is there a particular place in the preferences.xml where it should be written?
Well my old ~/.inkscape/preferences.xml file was a bit of a mess so I moved it and allowed inkscape to generate a new one. What seems to be necessary when starting with a fresh preferences.xml is simply adding the 'show-effects-menu="1"' attribute to the group with 'id="extensions"' that is near the bottom of the file. You won't need to create a new group if one already exists.
I'll go change my page. Thanks. Aaron Spike

on Dienstag, 5. April 2005 14:21 fretfind@...248... wrote:
What seems to be necessary when starting with a fresh preferences.xml is simply adding the 'show-effects-menu="1"' attribute to the group with 'id="extensions"' that is near the bottom of the file. You won't need to create a new group if one already exists.
No success. Just like you I backed up my old preferences.xml and let Inkscape create a new one. But after adding the attribute there is still no effects menu. Maybe ist's because you have the cvs version...
Cheerz Lars

Lars Behrens wrote:
on Dienstag, 5. April 2005 14:21 fretfind@...248... wrote:
What seems to be necessary when starting with a fresh preferences.xml is simply adding the 'show-effects-menu="1"' attribute to the group with 'id="extensions"' that is near the bottom of the file. You won't need to create a new group if one already exists.
No success. Just like you I backed up my old preferences.xml and let Inkscape create a new one. But after adding the attribute there is still no effects menu. Maybe ist's because you have the cvs version...
Well I guess you are right. I just took a look at the ChangeLog:
2005-02-22 Ted Gould <ted@...10...> * src/interface.cpp: Changing the effects menu to be driven by the preferences file so that the file can be the same whether or not the effects are shown.
2005-02-08 Ted Gould <ted@...10...> * Released 0.41
Sorry I could have sworn that my 0.41 release version showed the effects menu too.
Aaron Spike

on Dienstag, 5. April 2005 17:19 fretfind@...248... wrote:
No success. Just like you I backed up my old preferences.xml and let Inkscape create a new one. But after adding the attribute there is still no effects menu. Maybe ist's because you have the cvs version...
Well I guess you are right. I just took a look at the ChangeLog:
2005-02-22 Ted Gould <ted@...10...> * src/interface.cpp: Changing the effects menu to be driven by the preferences file so that the file can be the same whether or not the effects are shown.
2005-02-08 Ted Gould <ted@...10...> * Released 0.41
Sorry I could have sworn that my 0.41 release version showed the effects menu too.
Well, one more reason, to look forward ti the next release :-)
But I will follow your excursions into extending Inkscape!
Cheerz Lars

Lars Behrens wrote:
Maybe ist's because you have the cvs version...
I wouldn't let CVS stop you. Inkscape's CVS is, for lack of a better word, awesome. If you have access to a compiler I very much recommend trying it out. Inkscape is the first project I have ever compiled from CVS. And I have only been doing it for a few weeks. But I would be happy to share what little I know to get you going.
If it isn't inexperience that is holding you back, I appologize for my assumption.
Aaron Spike

on Mittwoch, 6. April 2005 02:45 aaron@...476... wrote:
I wouldn't let CVS stop you. Inkscape's CVS is, for lack of a better word, awesome. If you have access to a compiler I very much recommend trying it out. Inkscape is the first project I have ever compiled from CVS. And I have only been doing it for a few weeks. But I would be happy to share what little I know to get you going.
If it isn't inexperience that is holding you back, I appologize for my assumption.
Well, it *is* inexperience which keeps from using the cvs version, and a bit of lazieness. And as a matter of fact, I'm on work here so I cannot spend too much time in version hunting and getting behind the secrets of cvs.
Cheerz Lars

Well, it *is* inexperience which keeps from using the cvs version, and a bit of lazieness. And as a matter of fact, I'm on work here so I cannot spend too much time in version hunting and getting behind the secrets of cvs.
You don't need CVS! Just download a daily snapshot and compile. I've compiled two of them now and all went fine, even on this weird system. And they are so much enhanced over 0.41.
Kudos to the developers, ralf

Are you planning Hue/Sat/Value or colorize for vector object or group? It may be similar to Skencil. It would be very useful.
thanx. michal
Ralf Stephan wrote:
Well, it *is* inexperience which keeps from using the cvs version, and a bit of lazieness. And as a matter of fact, I'm on work here so I cannot spend too much time in version hunting and getting behind the secrets of cvs.
You don't need CVS! Just download a daily snapshot and compile. I've compiled two of them now and all went fine, even on this weird system. And they are so much enhanced over 0.41.
Kudos to the developers, ralf
SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user

Michal Žeravík wrote:
Are you planning Hue/Sat/Value or colorize for vector object or group? It may be similar to Skencil. It would be very useful.
After 0.41 the HSV controls in Inkscape were replaced with HSL controls. http://sourceforge.net/mailarchive/message.php?msg_id=11297250
Aaron Spike

On Apr 6, 2005 9:25 AM, aaron@...476... <aaron@...476...> wrote:
Michal Žeravík wrote:
Are you planning Hue/Sat/Value or colorize for vector object or group? It may be similar to Skencil. It would be very useful.
Please don't do it via extensions. This is core functionality. I have detailed plans for how to implement it, will do when I have time.
participants (5)
-
unknown@example.com
-
bulia byak
-
Lars Behrens
-
Michal Žeravík
-
Ralf Stephan