Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Arrow Script
(04-21-2025, 01:10 PM)GimpUser2504 Wrote: Gimp 3.0
I have the error while running this script:
 GIMP Error
Execution error for 'Draw Arrow':
Error: eval: unbound variable: gimp-image-get-active-vectors

It was my fault - there was another script in the scripts folder and it conflicts with the current one.
Reply
Hello

Will arrow script work with GIMP PORTABLE 2.10?
I'm not getting the "Arrow" option in my tool list.

Thanks

Chris
Reply
(05-07-2025, 09:56 PM)Chris Thompson Wrote: Hello

Will arrow script work with GIMP PORTABLE 2.10?
I'm not getting the "Arrow" option in my tool list.

Checklist   Wink

The download zip archive contains two script-fu files arrow.scm for Gimp 2.10 and Arrow_V3.scm for Gimp 3.0 Obviously you use the arrow.scm version.

Which GimpPortable have you installed ? There is one from portableapps.com also one from samj or is it something else.

Assuming the portableapps.com version.  It is partially broken. When you first run it it makes the user profile GIMPPortable\Data\.gimp which should contain all the required folders - but it doesn't 

Where did you put the .scm file ?  Make a scripts folder in GIMPPortable\Data\.gimp as:

   

Put the arrow.scm in that folder and (re)start Gimp 2.10  Arrow shows in the Tools menu.
That works here.   If you have a different setup give details.
....or it might be a Windows11 thing.
Reply
(05-08-2025, 08:01 AM)rich2005 Wrote:
(05-07-2025, 09:56 PM)Chris Thompson Wrote: Hello

Will arrow script work with GIMP PORTABLE 2.10?
I'm not getting the "Arrow" option in my tool list.

Checklist   Wink

The download zip archive contains two script-fu files arrow.scm for Gimp 2.10 and Arrow_V3.scm for Gimp 3.0 Obviously you use the arrow.scm version.

Which GimpPortable have you installed ? There is one from portableapps.com also one from samj or is it something else.

(snip)

Thank you for the excellent instructions. It did the trick.

All best,

Chris
Reply
(03-01-2017, 11:04 AM)rich2005 Wrote: Looking at the available script-fu and plug-ins available for drawing arrows, I found it difficult to find a compromise between very simple hands-on involving manually stroking paths and all-encompassing plugins with a myriad of options.

Decided on this one from http://www.programmer97.talktalk.net/Files/arrow.zip http://programmer97.byethost10.com/Files/arrow.zip which is kept very up-to-date, with a sensible set of options. Do download it, it comes with a useful PDF on use. Un-zip, put the script arrow.scm in your Gimp profile ./gimp-2.8/scripts folder or for Gimp 2.10 C:\Users\"yourname"\AppData\Roaming\GIMP\2.10\scripts

I personally like it as a script because;
- I can add it to ofnuts resources manager and load it for occasional use.
- By default the arrows go on their own layers, easy to delete or move
- By default it cleans up after use.

How to use it, make a path, invoke the script. Tools -> arrow.. 

What I do not like are the default settings for 'Length of Wings' and 'Brush Thickness Type', so I have adjusted them in the attached script arrow-set-size.scm
Un-zip, put arrow-set-size.scm in your Gimp profile scripts folder.

A comparison using the default values, of course you can adjust either from the script dialogue for any particular image. The script(s) show up in the Tools menu.



Depending on the type of images edited, very large or small, you might want to permanently change some of the sizes. Not difficult if you stick to the basics. Edit the end of the script. Remember to work on a copy, in case (when) you screw things up.

Thank you!!
Reply


Forum Jump: