Gimp-Forum.net
Python scripts: locating their menu entries - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP)
+--- Thread: Python scripts: locating their menu entries (/Thread-Python-scripts-locating-their-menu-entries)



Python scripts: locating their menu entries - sallyanne - 08-01-2018

Soooooooooooooooo, how do you find python fu filters that you have added to your (my name) plugins folder? I downloaded the zip file rich added and unzipped it all to my gimp and cannot find any.


RE: Python scripts: handling PF_OPTION choices by name - Ofnuts - 08-01-2018

(08-01-2018, 12:12 PM)sallyanne Wrote: Soooooooooooooooo, how do you find python fu filters that you have added to your (my name) plugins folder? I downloaded the zip file rich added and unzipped it all to my gimp and cannot find any.

Reading the script documentation, perhaps...

Otherwise, in the script, towards the end, look for a something like: menu='<Image>/Somewhere'. The part in <brackets> tells you when the menu item is: <Image> is the image display, <Vectors> is the Paths list (righ-click), <Brushes> is the brushes list...


RE: Python scripts: handling PF_OPTION choices by name - rich2005 - 08-01-2018

@sallyanne (which zip was that?)

Just to confuse you even more, a couple of all-in-one screenshots.

Windows file manager has not really improved much since Windows95, so just check that the zip (1) is really unzipped and in the correct folder (2)

[Image: y76u6Dr.jpg]

Opened in notepad, look for the entry Ofnuts described. Usually at the end, but not always, this one near the beginning (3) that gives the menu and menu entry.

Otherwise In Gimp use the Plugin browser in the Help menu (4): put in a applicable search term, make an educated guess in the listing (5) which gives the location of the plugin (or script-fu) as before (6)

[Image: jWFmJXr.jpg]


RE: Python scripts: handling PF_OPTION choices by name - sallyanne - 08-01-2018

Will check it, later today. Time I went to bed. Thanks for your response.
I used 7-zip to extract the items not the usual windows zip. They are there. I will chek the files for the menu places later.


RE: Python scripts: handling PF_OPTION choices by name - sallyanne - 08-02-2018

The zip file was one you posted at Gimp Chat I think Rich. only had about half a dozen things in it. ps. I don't ignore your advice always. Might be late seeing it. Wink

I'll see if I can find that post - found it! http://gimpchat.com/viewtopic.php?f=9&t=16567&p=228647#p228647 post #7, 11th June - So maybe I looked at an old post. For gimp version 2.10.2 Will they still be ok for 2.10.4?



Went back a couple times - looks like I already had them installed and doubled up. So I deleted the older ones and closed gimp. restarted it and now they are there.


RE: Python scripts: handling PF_OPTION choices by name - Ofnuts - 08-02-2018

Search for <Image>. Note that some aren't plugins, but libraries used by plugins, so they don't register.

Also these modules use a gimpfu3.py and who knows what it does...


RE: Python scripts: handling PF_OPTION choices by name - rich2005 - 08-02-2018

(08-02-2018, 03:33 AM)sallyanne Wrote: ...
I'll see if I can find that post - found it! http://gimpchat.com/viewtopic.php?f=9&t=16567&p=228647#p228647 post #7, 11th June - So maybe I looked at an old post. For gimp version 2.10.2 Will they still be ok for 2.10.4?

You are using Parthas Gimp 2.10.4 so at least python is not crippled.

The zip unpacks to a folder, and really you should pick what you require and put the files in the Gimp 2.10 user profile.

However, all of them in, first screenshot here: https://imgur.com/a/ncmnwMu

Going through the list: same set of screenshots: https://imgur.com/a/ncmnwMu

Arakne Path Shape Creator: Filters -> Path -> path shape creator

Selection Bevel: Choose one-or-the-other, they share the same menu entry: Filters -> Distorts -> Bevel..

B & P Word Art: Filter -> Render -> Bytes-and-Pixels.com -> Word Art

Arakne Follow Path: A little broken, throws up error messages but works and nothing yet to replace it: Right click in the paths dialogue. Down the bottom in "Tools -> Follow Path"

Frame Factory: Filters -> Decor -> Frame Factory

Then a bunch bottom of the Layers Menu Layer-via-copy/cut, LayerFX, Ungroup Group Layer


RE: Python scripts: handling PF_OPTION choices by name - Ofnuts - 08-02-2018

(08-02-2018, 08:09 AM)rich2005 Wrote:
(08-02-2018, 03:33 AM)sallyanne Wrote: ...
I'll see if I can find that post - found it! http://gimpchat.com/viewtopic.php?f=9&t=16567&p=228647#p228647 post #7, 11th June - So maybe I looked at an old post. For gimp version 2.10.2 Will they still be ok for 2.10.4?

You are using Parthas Gimp 2.10.4 so at least python is not crippled.

The zip unpacks to a folder, and really you should pick what you require and put the files in the Gimp 2.10 user profile.

However, all of them in, first screenshot here: https://imgur.com/a/ncmnwMu

Going through the list: same set of screenshots: https://imgur.com/a/ncmnwMu

Arakne Path Shape Creator: Filters -> Path -> path shape creator

Selection Bevel: Choose one-or-the-other, they share the same menu entry: Filters -> Distorts -> Bevel..

B & P Word Art: Filter -> Render -> Bytes-and-Pixels.com -> Word Art

Arakne Follow Path: A little broken, throws up error messages but works and nothing yet to replace it: Right click in the paths dialogue. Down the bottom in "Tools -> Follow Path"

Frame Factory: Filters -> Decor -> Frame Factory

Then a bunch bottom of the Layers Menu Layer-via-copy/cut, LayerFX, Ungroup Group Layer

Some of Arakne's plugins come in several Python files, one being the core, the others being modules/libraries.


RE: Python scripts: handling PF_OPTION choices by name - rich2005 - 08-02-2018

Quote:..Some of Arakne's plugins come in several Python files, one being the core, the others being modules/libraries...

Yes, all the bits are there, just a little broken when it comes to Gimp 2.10, at least it works. You once wondered if it was worth creating an "object" along a path plugin, maybe reconsider, although the arakne plugin has lots of options, scaling, rotating...etc. It is a bit of a monster with that (flaky) preview dialogue.


RE: Python scripts: locating their menu entries - sallyanne - 08-02-2018

Took them out of the python folder and put them in the plugins folder separately Smile