Gimp script: path shape creator

Path shape creator is a plugin for Gimp that creates routes with different geometric shapes based on the selected zone, if we have nothing selected in the document will use the measures of the image.

Installation

Download the file listed in this post and unzip in Gimp scripts directory, restarting the program can access the script will see from the menu Filters> Path> Path shape creator

Example usage

Download

arakne-path-shape-creator2.rar

16 thoughts on “Gimp script: path shape creator

  1. Looks like I spoke to soon and download the wrong one.
    Thank You!!

    The text still changes colors on every launch of the plugin, but that doesn’t affect the functionality, so I’m happy. :)

  2. Sorry I haven’t gotten back sooner.
    Just tried your arakne-path-shape-creator2.rar and I still have nothing in the preview window and the text color still changes everytime I launch the script.

    Maybe it’s something on my machine but I’m just not sute how to troubleshoot it further. :(

  3. MAXIMUM URLS IN CONTENT EXCEDEED: 16 OF 5

    Forgot to add my command line output.

    Traceback (most recent call last):
    File “/home/akovia/bin/gimp-2.8/lib/gimp/2.0/python/gimpplugin.py”, line 58, in _run
    return apply(getattr(self, name), params)
    File “/home/akovia/.gimp-2.8/plug-ins/path-shape-creator2.py”, line 265, in path_shape_creator2
    sVecUtls(runmode, img)
    File “/home/akovia/.gimp-2.8/plug-ins/path-shape-creator2.py”, line 44, in __init__
    self.showDialog()
    File “/home/akovia/.gimp-2.8/plug-ins/path-shape-creator2.py”, line 115, in showDialog
    self.chPath()
    TypeError: chPath() takes exactly 2 arguments (1 given)
    Traceback (most recent call last):
    File “/home/akovia/bin/gimp-2.8/lib/gimp/2.0/python/gimpplugin.py”, line 58, in _run
    return apply(getattr(self, name), params)
    File “/home/akovia/.gimp-2.8/plug-ins/path-shape-creator2.py”, line 265, in path_shape_creator2
    sVecUtls(runmode, img)
    File “/home/akovia/.gimp-2.8/plug-ins/path-shape-creator2.py”, line 44, in __init__
    self.showDialog()
    File “/home/akovia/.gimp-2.8/plug-ins/path-shape-creator2.py”, line 115, in showDialog
    self.chPath()
    TypeError: chPath() takes exactly 2 arguments (1 given)
    Traceback (most recent call last):
    File “/home/akovia/bin/gimp-2.8/lib/gimp/2.0/python/gimpplugin.py”, line 58, in _run
    return apply(getattr(self, name), params)
    File “/home/akovia/.gimp-2.8/plug-ins/path-shape-creator2.py”, line 265, in path_shape_creator2
    sVecUtls(runmode, img)
    File “/home/akovia/.gimp-2.8/plug-ins/path-shape-creator2.py”, line 44, in __init__
    self.showDialog()
    File “/home/akovia/.gimp-2.8/plug-ins/path-shape-creator2.py”, line 115, in showDialog
    self.chPath()
    TypeError: chPath() takes exactly 2 arguments (1 given)
    Traceback (most recent call last):
    File “/home/akovia/bin/gimp-2.8/lib/gimp/2.0/python/gimpplugin.py”, line 58, in _run
    return apply(getattr(self, name), params)
    File “/home/akovia/.gimp-2.8/plug-ins/path-shape-creator2.py”, line 265, in path_shape_creator2
    sVecUtls(runmode, img)
    File “/home/akovia/.gimp-2.8/plug-ins/path-shape-creator2.py”, line 44, in __init__
    self.showDialog()
    File “/home/akovia/.gimp-2.8/plug-ins/path-shape-creator2.py”, line 115, in showDialog
    self.chPath()
    TypeError: chPath() takes exactly 2 arguments (1 given)

  4. No difference at all. Still can’t see the preview and the ui text color still changes every time it’s opened. Happy to try anything so let me know.

    • Thanks for your screen capture, seems like don’t accept the pencil color in hexadecimal format established in the line 206:
      self.gc.set_foreground(gtk.gdk.Color(‘#000′))
      Try changing that line by this one:
      self.gc.set_foreground(gtk.gdk.Color(0,0,0))
      If this change works for you i could make this change available for all people, thanks again for contributing

  5. It kinda works but every time I open it the text is a different color and the preview doesn’t work. It’s just a blank page. Unfortunately it’s not very useful when you can’t see your adjustments, but it does create the path.

    • Hi, you have some error messages? Try to open the error console in the top menu Windows\Dockable dialogs\Error console, if you get some error message copy and send me to try to solve the error, thanks for your help

  6. Sorry about the previous message. I was testing in an experimental Release of Gimp, when I tried in my 2-8-6 it functioned perfectly. Thanks for an excellent plugin

  7. I’m using windows and it does not open when selected, no errors in the ‘error console’ either. but your script is a fine concept, please come to GimpChat to present it for testing

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>