You are here

Plug-in: ArrowsCreator.py

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Rate this item!
AttachmentSize
ArrowsCreator for Linux and Windows14.38 KB

Another thin arrow GIMP Python plug-in called 'ArrowsCreator'.

It's characteristics are:

-produces many different types of straight arrows
-produces one type of 'path' arrow
-facilitates combination of multiple arrows
-interactive with GIMP
-developed on GIMP 2.6 (work on 2.8 except no repeat gradient in shaft and GIMP don't control brush size).

ATTENTION: don't change layer during execution of the plug-in, usually causes a crash but 'Ctrl+z' seems OK up to a point. Also on my computer begin to get sluggish for certain type of arrow in image greater than 7 Mpx.

The basic arrow types (0-5) in version 0.1, a blue 'multi-segmented' arrow and the initial window are illustrated below

After an extraction of the zip archive in the '.../.gimp-2.x/plug-ins' directory it should appears in GIMP under the menu: "(Image)/Extensions/Plugins-Python/Tools/Arrows creator..." or your choice at first start of GIMP .

[Edit 2013/04/11] version 0.2 compatible with GIMP-2.8
[Edit 2013/04/12] Applied the info given by Saulgoode to the last edit. Try to simplify the instructions in 'ArrowsCreator_Internationalization.' which is now in sub-folder 'ArrowsCreator-0.2' .
[2013/04/20] The first two items has a relation to comments made at 'GIMP Chat'
- Revise instructions at the windows top. I was counting to much on the interactivity.
- Introduce a configuration file for menu path. Working on that lately,
since I believe every one (me included) should choose where to put a plug-in.
Here it is restricted to the image menubar. Sorry this don't work in Windows, in that case download the appropriate one.
- More differences between arrow type 0 and type 1, by changing type 0.
- Some tweaks
[Edit 2013/04/22] Found the bug in 'Choosing menu path' for Windows.
[Edit 2013/05/11]
- Corrected a situation that seems to affect the mid-term stability of the plug-in. It was the time interval for each arrow type.
- Added a new straight arrow type: 'Notched arrow'.
- Small adaptations for GIMP-2.8. (Sorry did not test on GIMP-2.6)

Bye, Robert.

Code License: 
GIMP Version: 
Scripting Engine: 

Comments

I was hoping you would update this filter for Gimp-2.8.

Thank you!

-Rod

I am a newbie at gimp. I'm using a mac. Does this plugin work for mac? Help?

Hi frankandcathy,
If yes it will not work for that version, to date, on any platform, see the comments below.

Not in the version 2.7.6 and newer anyways.
Getting an gimp_wire_write_message error for libgimp.

Anyone know how to edit the script to work in Gimp-2.8 RC-1?

Thanks,
-Rod

Hi Rod,
It should be noted, thank you.
While not working completely in previous version of GIMP 2.7 < 2.7.5, it is not working at all now (GIMP 2.8 RC-1 Windows).
To have an idea of the changes involved, I am waiting for a more stable version and the GIMP migration guide for plug-in developers.
Assumption is that the 2.6 brush 'Circle (xx)' used by this plug-in is no longer available even as legacy since a change in 'libgimp' API.

any chance you will be updating this plugin for Gimp-2.8?

-Rod

Hi Rod,
Still don't know how to change the size, in a plug-in if possible, of the 'Hardness 100' brush in GIMP-2.8 .
But your question have encouraged me to try again with the old brush and it is accepted now.
So today I have updated it to GIMP-2.8, hope you find it pleasant to use.

- Rob

Create a duplicate of the brush (gimp-brush-duplicate) and then change the radius of the duplicate (gimp-brush-set-radius). Alternately, you could create a new brush (gimp-brush-new), change its hardness to 1.0 (gimp-brush-set-hardness), and its radius to what you want (the remaining defaults are the same for the "2. Hardness 100" brush).

Remember to delete the brush when you're done.

Hi Saulgoode,
So not possible to change the size of the original name brush (like I was trying to do, to imitate GIMP)
but can change the size of one made by the plug-in (which can be a copy)!

If you go to Edit->Preferences->Folders->Brushes and set the folder containing your original brushes (/usr/share/GIMP/2.0/brushes on my system) to be Writable AND your user has permissions to that directory (typically this requires root or Administrator privileges) then you will be able to modify the brush.

Pages

Subscribe to Comments for &quot;Plug-in: ArrowsCreator.py&quot;