Inkscape.org
Beyond the Basics How to Make User Created Extensions Work In Inkscape 1.0
  1. #1
    Hum Hum @Hum
    *

    Hi. Please forgive any ignorance in what I am sharing below. After all, if you do not ask, you do not learn or move forward into something that is potentially better.

    I know that many extensions written for Inkscpe in versions prior to 1.0 will not work. What I am hearing is that is mainly due to their being coded in Python version 2 as opposed to version 3 that is used in Inkscape 1.0.

    If this is the main "barrier", why not convert the code so that it does work in Inkscape 1.0? Is this coding updating really such a hassle to achieve?

    I do not know Python programming, but I did a simple Google search to find several Youtube videos that state this is easy to do. And a few links to do the code conversion online. Below is one link.

    https://www.pythonconverter.com/

    For example, I am grateful that Gerrit Karius wrote and shared his extension, the bezierenvelope.py code. This extension works great in Inkscape 0.92.4 but cannot in Inkscape 1.0.

    So, I ask, cannot this code be "converted" or "updated" so that it would work in Inkscape 1.0?

    Likewise other extensions which work in versions prior to 1.0?

    I know there is also the need for permission to be obtained by these code creators to have them updated, prior to actually doing that.

    But I cannot foresee that permission granting to be a big deal.

    If such author's coding worked acceptably ... mathmatically correctly ... why waste or ignore the good coding and their genorosity by NOT seeking to include it in Inkscape 1.0 and following?

    Even if you do not use the link above I shared, there seems be many knowledge resources online to make this "updating" of Python code 2 to 3 possible and easily doable.

    Maybe I am missing something. I hear that you reached out to prior contributors before launching this version of Inkscape. Did these code authors refuse you, or did you not think their coding of extensions useful for Inkscape 1.0?

    Not to bemoan the point but that one extension I mentioned above is like gold to me in using Inkscape. I do not want to lose its value to me nor to Inkscape.

    And I am sure there are other users out here who have their choice extensions they would like to be included in Inkscape 1.0.

    Please consider this and let me - all of us out here - know about this.

    Thank you.

  2. #2
    Maren Hachmann Maren Hachmann @Moini

    If the extension has been released under a free and opensource license, you do not need to ask for permission.

    Extension updates involve a bit more than just updating to Python 3 (which isn't even necessary, if you have Python 2 installed, and point Inkscape to it in your preferences file). Simply updating it to Python 3 might - in some rare cases - work, but more likely will fail. You might try it yourself with that website you linked to.

    See here for full instructions: https://wiki.inkscape.org/wiki/index.php?title=Updating_your_Extension_for_1.0

    The Inkscape project is not responsible for third-party code, please ask its author to update it, or try and find someone with programming skills who can update it. Shlomi knows about the extensions API update, he's a regular contributor. Probably he just didn't see a need (see below) or wasn't interested, or just didn't have time for it. There are thousands of reasons why an extension author did not update their extension yet.

    Instead, you may also want to try out the corresponding Live Path Effect (Envelope deformation), it might do what you need, without requiring an extension.

  3. #3
    Hum Hum @Hum

    Thank you, Maren, for your reply.

    I truly thank the Inkscape community for this great, free software ... as well as all the ideas and efforts in bringing this forward.

    I will explore how I can move ahead.

    Enjoy a great day.

Inkscape Inkscape.org Inkscape Forum Beyond the Basics How to Make User Created Extensions Work In Inkscape 1.0