Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Arrow Script
#21
There is always a trade off between complexity and convenience. I like the arrows.scm because it is script-fu. I load it when I need it, no need to restart Gimp.

There are others. Ofnuts has one, path-arrow-heads-0.0.py usual place http://sourceforge.net/projects/gimp-pat...s/scripts/   dated 2012-01-09 makes an arrow head end of a path.
and Akkana Peck's arrowdesigner.py http://shallowsky.com/software/gimp/arrowdesigner/  Straight arrow in a selection, can't get simpler than that.

   

draw arrow" (Pfeil zeichnen) plugin download? To download just the plugin without the rest of the documentation etc Try:
https://www.magentacloud.de/api/file?att...YJqJvvNU6J
Reply
#22
Hi Rich2005,
I really liked the arrow-set-size.scm script, it is practical and intuitive.
I have now downloaded Ofnuts' arrow-set-size.scm script and will try it out.
The link you posted takes me to a page with the following message:
{"msg": "Unauthorized", "code": "401"}

But ok, I believe that I will not need that script anymore, for creating arrows I think I already have enough.

Thanks.
Reply
#23
I'll start out by saying that I'm brand new to GIMP. I followed the discussion in this thread and successfully added some labels with appropriate arrows to an imported pgn, saved the xcf file, re-exported the png, and thought I was done. (ETA: I used the arrow-set-size.scm script.) Well, a reviewer wants the label moved. I opened the xcf file and was able to move the text labels, but for the life of me I can't figure out how to edit (or delete) the associated arrow. I've gone into the Paths dialog window to see if I could select the path that I used to define the arrow, but no luck. (I'm not even sure what paths it was showing me.) Is it possible to edit an arrow after saving/reopening to xcf or do I need to go back to the original png and start over?
Reply
#24
As none of the gurus, who can give really good help, seem to be around, I'll try my poor best.
* Bring forward the Paths tab. There you should see a list: at the left of each, clicking shows a chain icon, and to left of that, clicking shows an eye and makes the path visible. Unclick the chain and leave the eye.
* Select the Move Tool, and bring forward the tab 'Tool Options': there are 3 icons on top.
* Select the the last one = 'Move Path'
* Now you should able to move any of your visible paths: clicking the chains at their left links them to move together... visible or not--use with care to begin with.
Reply
#25
(12-10-2020, 11:42 PM)carmen Wrote: As none of the gurus, who can give really good help, seem to be around, I'll try my poor best.
* Bring forward the Paths tab. There you should see a list: at the left of each, clicking shows a chain icon, and to left of that, clicking shows an eye and makes the path visible. Unclick the chain and leave the eye.
* Select the Move Tool, and bring forward the tab 'Tool Options': there are 3 icons on top.
* Select the the last one = 'Move Path'
* Now you should able to move any of your visible paths: clicking the chains at their left links them to move together... visible or not--use with care to begin with.

Thanks for responding. I followed your guide and was able to find three paths listed, but I added five arrows. Unfortunately none of the three corresponded to the path/arrow I need to move. I assume that I managed to delete them after I created the arrows. At this point it is probably simplest to start over...there really aren't that many label/arrow pairs to create anyway. I'll play around with paths some more to see how I might have deleted the one I need.
Reply
#26
By default, the script deletes the path after its execution.
If you want to keep the path, you must deselect the option that regulates this condition. See attached image.    
Reply
#27
Quote:(ETA: I used the arrow-set-size.scm script.) Well, a reviewer wants the label moved. I opened the xcf file and was able to move the text labels, but for the life of me I can't figure out how to edit (or delete) the associated arrow. I've gone into the Paths dialog window to see if I could select the path that I used to define the arrow, but no luck.

You need to keep the path as Krikors post. Gimp is a bitmap editor, once the arrow is rendered, other than moving it as a layer, to change the 'shape' the whole arrow layer has to be replaced. Gimp is not a vector editor, It could be that you should be using vector application Inkscape to add arrows and text.

However, Gimp it is.
Advise: Use Layer Groups - then the paired arrow and text layers can be moved as one. Chain the Layer Group to the path and the path moves as well.

Fairly slow 5 minute video of these options: https://youtu.be/VSZ7tjkh9XE
Reply
#28
rich, the trick with the chained layer / path is superb. Thanks for the tip.
Reply


Forum Jump: