08-13-2025, 11:33 AM
(08-12-2025, 01:47 PM)Scallact Wrote: 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.I tested the plugin on different paths with different parameters and I found no errors. Thanks
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. :-)
The image below shows a selection of arrowheads styles available:
The documentation is here, and you can download the current version here.
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.