Gimp script:
path shape creator

Path shape creator es un plugin para Gimp que crea rutas con distintas formas geométricas basadas en la zona seleccionada, si no tenemos nada seleccionado en el documento se usarán las medidas de la imagen.

Instalación

Descargar el archivo que aparece en este post y descomprimir en el directorio de scripts de Gimp, al reiniciar el programa veremos podemos acceder al script desde la ruta Filters>Path>Path shape creator

Ejemplo de uso

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

DescargaDownload

arakne-path-shape-creator2.rar

Una respuesta en “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.


  5. No errors. If there is any other way to help troubleshoot I’m happy to try.
    This might help explain better.
    https://dl.dropboxusercontent.com/u/93550827/temp/path-shape-creator.mkv


    • 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


  6. 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


  7. 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


  8. 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


  9. I work on Mac OX 10.6.6
    If I click Filters > Path > path shape creator
    the filter window don’t open.


Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *