Gimp-Forum.net
Script to copy a layer along a path - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions)
+--- Thread: Script to copy a layer along a path (/Thread-Script-to-copy-a-layer-along-a-path)

Pages: 1 2


Script to copy a layer along a path - Ofnuts - 03-07-2018

Is there a script to copy a layer at regular positions along a path (or should I write one Smile)


RE: Script to copy a layer along a path - Espermaschine - 03-07-2018

stroke the path with a clipboard brush ?


RE: Script to copy a layer along a path - rich2005 - 03-07-2018

Arakne follow path, python plugin

[Image: n9ASxIK.jpg]

Always good to have a choice, get that pencil sharpened Wink


RE: Script to copy a layer along a path - Zero01 - 05-31-2018

This is not showing up in the paths tab menu in 2.10.2 (I've got 'follow-path5.py')..


RE: Script to copy a layer along a path - rich2005 - 05-31-2018

Does not work with Windows Gimp 2.10.2 from http://www.gimp.org.

Are you using that gimp version?


RE: Script to copy a layer along a path - Zero01 - 05-31-2018

Yes, sorry got the decimal point in wrong place.. anyway it's usually in the Tools sub-menu as you know, but nothing now, can anything be done I wonder?




[attachment=1791]


Also, another Arakne plug-in "Path-shape-creator" is not showing up under Filters>..


RE: Script to copy a layer along a path - Ofnuts - 05-31-2018

(05-31-2018, 06:07 PM)Zero01 Wrote: Yes, sorry got the decimal point in wrong place.. anyway it's usually in the Tools sub-menu as you know, but nothing now, can anything be done I wonder?

Also, another Arakne plug-in "Path-shape-creator" is not showing up under Filters>..

Since these scripts seem to have their own PyGTK interface, this is possibly the same import order problem as this?


RE: Script to copy a layer along a path - Zero01 - 05-31-2018

I'm guessing so.. 'import os, sys, gtk, random..', the next line has 'from gimpfu3 import * ' no idea if that has relevance. (Obviously gimpfu3.py is in the plugins folder too)

I'll just use 'View > Snap to Active Path' for now - more work involved and less accurate but it'll do Smile


RE: Script to copy a layer along a path - Ofnuts - 05-31-2018

(05-31-2018, 08:17 PM)Zero01 Wrote: I'm guessing so.. 'import os, sys, gtk, random..', the next line has 'from gimpfu3 import * ' no idea if that has relevance. (Obviously gimpfu3.py is in the plugins folder too)

I'll just use 'View > Snap to Active Path' for now - more work involved and less accurate but it'll do Smile

You can contact the author and get it fixed (there may even be a fixed version already in the works)


RE: Script to copy a layer along a path - rich2005 - 06-01-2018

Quote:You can contact the author and get it fixed (there may even be a fixed version already in the works)

Arakne has not done anything "gimp" since 2015. http://www.arakne.es/en/category/dessign/gimp/ I would consider these plugins abandoned.

Both follow-path and shape-creator are broken in the current Windows Gimp 2.10.2 from gimp.org Partha released his Gimp 2.10.2 yesterday http://www.partha.com and the plugins work there (follow-path throws up an error but works)

follow-path and shape-creator work in my gimp 2.10.2 flatpak and from memory work in the Windows gimp 2.10.0 from gimp.org

What are the connections/differences? Linux, Partha, Win Gimp 2.10.0 all 64 bit and use an earlier version of python.
The gimp.org Windows 2.10.2 with support for 32 bit plugins, uses 32 bit python 2.7.15 that came out 1 month ago.

Got to be that 32 bit python.

Back to the original question from Ofnuts

Quote:is there a script to copy a layer at regular positions along a path (or should I write one Smile )

Might not be a bad idea.

edit:
Looks like this problem
https://gitlab.gnome.org/GNOME/gimp/issues/1542