It is currently Mon Oct 12, 2026 10:21 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 17 posts ] 
Author Message
 Post subject: pl_stroke_arrows, a GIMP 3.0 python plugin to draw simple arrows
PostPosted: Tue Aug 12, 2025 8:59 am  (#1) 
Offline
GimpChat Member

Joined: Jun 15, 2025
Posts: 23
[Edited the 12.10.2026:]

I've updated my plugin pl_stroke_arrows.py plugin to v0.9. It draws arrows based on user created paths. As before, the focus is on "technical" arrows rather than decorative ones.

Please note that this is not package as a release yet, as I'm giving some time to the de and pt-br translators to update. v10 should be the same script with translations updated.
You can download the updated .py file directly from the github if you want it.

Notable changes include:

- now takes all strokes on a same path into account (user request)
- added option to keep or delete user created paths (user request)
- slight reshaping of the filled and empty feather tails
- introduced variants for empty and simple feather tails; now empty tail is really empty

The readme has not been updated yet, so some dialog options might be slightly different.


See the documentation here: https://github.com/Scallact/gimp-stroke-arrows
Read installation and usage carefully.

Download here: https://github.com/Scallact/gimp-stroke-arrows/

-----------------------------------------

This is my proposal for a plugin dedicated to a much requested feature in GIMP 3.0: stroke paths with an arrowhead at the end.

It has one genuine feature, compared to other similar plugins (AFAIK): the body path is shortened to ensure that the arrow tip ends up reasonably well aligned with the path's last point.
This apparently trivial feature actually hid a rabbit hole. The requirement of cutting a Bezier curve at a specific point send me through a deep dive into Bezier curves theory and algorithms. :-)

Make sure you place the folder named "pl_stroke_arrows" in the GIMP plug-ins folder inside your profile.
Depending on your operating system, make the file "pl_stroke_arrows.py" inside this folder executable.
The plugin should appear at the bottom of the "Edit" menu.

The plugin has been tested, but some new bugs will probably happen. Please report here, preferably with a downloadable .xcf file to exemplify the case.

Edit: A few examples of what the plugin can do:


Attachments:
StrokeArrow05_samplesv09.png
StrokeArrow05_samplesv09.png [ 48.17 KiB | Viewed 282 times ]
StrokeArrow04_samples01_1.png
StrokeArrow04_samples01_1.png [ 56.92 KiB | Viewed 5299 times ]


Last edited by Scallact on Mon Oct 12, 2026 11:15 am, edited 6 times in total.
Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: pl_stroke_arrows, a GIMP 3.0 python plugin to draw simple arrows
PostPosted: Tue Aug 12, 2025 12:39 pm  (#2) 
Offline
GimpChat Member

Joined: Apr 11, 2024
Posts: 318
To help you out with the link (hope it's the correct one)
https://github.com/Scallact/gimp-stroke-arrows


Top
 Post subject: Re: pl_stroke_arrows, a GIMP 3.0 python plugin to draw simple arrows
PostPosted: Tue Aug 12, 2025 12:51 pm  (#3) 
Offline
GimpChat Member

Joined: Jun 15, 2025
Posts: 23
quietreader wrote:
To help you out with the link (hope it's the correct one)
https://github.com/Scallact/gimp-stroke-arrows


Yes, thank you!


Top
 Post subject: Re: pl_stroke_arrows, a GIMP 3.0 python plugin to draw simple arrows
PostPosted: Fri Sep 12, 2025 11:20 am  (#4) 
Offline
GimpChat Member

Joined: Jun 15, 2025
Posts: 23
Plugin updated to 0.7, see opening post for details.


Top
 Post subject: Re: pl_stroke_arrows, a GIMP 3.0 python plugin to draw simple arrows
PostPosted: Sun Dec 07, 2025 2:17 pm  (#5) 
Offline
GimpChat Member

Joined: Jun 15, 2025
Posts: 23
Plugin updated to 0.8, see opening post for details.


Top
 Post subject: Re: pl_stroke_arrows, a GIMP 3.0 python plugin to draw simple arrows
PostPosted: Sun Dec 07, 2025 11:39 pm  (#6) 
Offline
GimpChat Member

Joined: Mar 06, 2015
Posts: 308
Hi Gimp users

I need your help

I dowload the PY file.
I add the file to gimg plugins folder.
I do not see it the software menu.
I need to active the file ?

Thanks
Doron.


Top
 Post subject: Re: pl_stroke_arrows, a GIMP 3.0 python plugin to draw simple arrows
PostPosted: Mon Dec 08, 2025 5:17 am  (#7) 
Offline
GimpChat Member

Joined: Jun 15, 2025
Posts: 23
Did you install exactly as described https://github.com/Scallact/gimp-stroke-arrows?tab=readme-ov-file#installation?

You must copy the folder named pl_stroke_arrows, not the .py file alone.


Top
 Post subject: Re: pl_stroke_arrows, a GIMP 3.0 python plugin to draw simple arrows
PostPosted: Tue Dec 09, 2025 3:07 am  (#8) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16200
Works fine for me in Gimp-3.2 RC1 , and Windows 11. Thank you for the update.

Image


Top
 Post subject: Re: pl_stroke_arrows, a GIMP 3.0 python plugin to draw simple arrows
PostPosted: Tue Dec 09, 2025 3:46 am  (#9) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1442
Location: Finland
Thank you, seems to work fine.

Attachment:
Radioactive.jpg
Radioactive.jpg [ 227.67 KiB | Viewed 4682 times ]


Top
 Post subject: Re: pl_stroke_arrows, a GIMP 3.0 python plugin to draw simple arrows
PostPosted: Tue Dec 09, 2025 1:47 pm  (#10) 
Offline
GimpChat Member

Joined: Jun 15, 2025
Posts: 23
Thanks for the feedback Rod and Niddhog!

Rod wrote:
Works fine for me in Gimp-3.2 RC1 , and Windows 11. Thank you for the update.


I didn't have the chance to test this version on Windows, so it's good to know. I was quite confident though, now that python scripting is included in GIMP as a first class citizen.


Top
 Post subject: Re: pl_stroke_arrows, a GIMP 3.0 python plugin to draw simple arrows
PostPosted: Wed Dec 10, 2025 4:24 am  (#11) 
Offline
GimpChat Member

Joined: Apr 11, 2024
Posts: 318
works fine (Linux Mint 22 , GIMP 3.06).
I've made a German translation. I'll attach it here.
(Permission granted to upload it to your github, if you want)


Attachments:
de.zip [3.32 KiB]
Downloaded 117 times


Last edited by quietreader on Fri Dec 12, 2025 5:50 am, edited 1 time in total.
Top
 Post subject: Re: pl_stroke_arrows, a GIMP 3.0 python plugin to draw simple arrows
PostPosted: Wed Dec 10, 2025 3:26 pm  (#12) 
Offline
GimpChat Member

Joined: Mar 06, 2015
Posts: 308
Scallact wrote:
Did you install exactly as described https://github.com/Scallact/gimp-stroke-arrows?tab=readme-ov-file#installation?

You must copy the folder named pl_stroke_arrows, not the .py file alone.


Thank You very much.
I copy the folder and it is working very good.

Doron.


Top
 Post subject: Re: pl_stroke_arrows, a GIMP 3.0 python plugin to draw simple arrows
PostPosted: Fri Dec 12, 2025 6:58 am  (#13) 
Offline
GimpChat Member

Joined: Jun 15, 2025
Posts: 23
quietreader wrote:
works fine (Linux Mint 22 , GIMP 3.06).
I've made a German translation. I'll attach it here.
(Permission granted to upload it to your github, if you want)


Thanks a lot for the translation, quietreader! I just tried it, and I'll definitely add your language file to the plugin, with a mention of your contribution.


Top
 Post subject: Re: pl_stroke_arrows, a GIMP 3.0 python plugin to draw simple arrows
PostPosted: Mon Oct 12, 2026 8:09 am  (#14) 
Offline
GimpChat Member

Joined: Jun 15, 2025
Posts: 23
quietreader wrote:
works fine (Linux Mint 22 , GIMP 3.06).
I've made a German translation. I'll attach it here.
(Permission granted to upload it to your github, if you want)


Hi quitreader ! I've finally uploaded your German translation to the github, sorry for being so very late!

The cruel irony is that it is now partially obsolete, since I also uploaded a revised version of the plugin. Shame on me!

The current version, v0.9, is a temporary version before v0.10, which will be the same, but with the updated translation files, if you still want to do it. I'll also wait for the contributed pt_br translation. The french translation is up to date.


Top
 Post subject: Re: pl_stroke_arrows, a GIMP 3.0 python plugin to draw simple arrows
PostPosted: Mon Oct 12, 2026 8:27 am  (#15) 
Offline
GimpChat Member

Joined: Apr 11, 2024
Posts: 318
Sure, I'll revise the translation.


Top
 Post subject: Re: pl_stroke_arrows, a GIMP 3.0 python plugin to draw simple arrows
PostPosted: Mon Oct 12, 2026 12:23 pm  (#16) 
Offline
GimpChat Member

Joined: Apr 11, 2024
Posts: 318
The revised German translation:


Attachments:
de.zip [4.07 KiB]
Downloaded 2 times
Top
 Post subject: Re: pl_stroke_arrows, a GIMP 3.0 python plugin to draw simple arrows
PostPosted: Mon Oct 12, 2026 12:26 pm  (#17) 
Offline
GimpChat Member

Joined: Jun 15, 2025
Posts: 23
quietreader wrote:
The revised German translation:


Oh wow, that was fast!

Thanks @quietreader ! :-)


Top
Post new topic Reply to topic  [ 17 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group