Posts: 966
Threads: 77
Joined: Aug 2018
Reputation:
76
Operating system(s):
- Windows (Vista and later)
Gimp version: 2.10
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.
Posts: 2
Threads: 0
Joined: Dec 2020
Reputation:
0
Operating system(s):
Gimp version: 2.10
12-10-2020, 10:31 PM
(This post was last modified: 12-10-2020, 10:32 PM by jcwjcw42.)
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?
Posts: 117
Threads: 23
Joined: May 2017
Reputation:
7
Operating system(s):
- Windows (Vista and later)
Gimp version: 2.10
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.
Posts: 1,010
Threads: 154
Joined: Sep 2018
Reputation:
103
Operating system(s):
- Windows (Vista and later)
Gimp version: 2.10
rich, the trick with the chained layer / path is superb. Thanks for the tip.
Posts: 224
Threads: 4
Joined: Jan 2019
Reputation:
16
Operating system(s):
- Windows (Vista and later)
- Linux
Gimp version: 2.10
I was just looking at arrow.scm to change the default size of the arrows and brush so looked at arrow-set-size.scm and the later arrow-set-size-samj.scm produced by Rich2005.
I think that there are errors in the changed script - the order of the options in the SF-OPTION parameters "Length of wings type" and "Brush thickness type" have been swapped to put the absolute pixel values before the ratio-metric settings but the constants FACTOR_RELATIVE_TO_PATH_LENGTH and FACTOR_IN_ABSOLUTE_PIXELS still have the original values (0 and 1 respectively) - this means that the program code will be using ratio-metric values when the UI is indicating that absolute values are being used and vice versa.
The SF-ADJUSTMENT parameters "Length of wings (LoW)" and "Brush thickness (BT)" have had their settings changed but the new values will be used as ratio-metric ones if using the default settings of the script (which I guess wasn't the intent).