Gimp-Forum.net
How to adjust brush fade to a path automaticly? - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions)
+--- Thread: How to adjust brush fade to a path automaticly? (/Thread-How-to-adjust-brush-fade-to-a-path-automaticly)



How to adjust brush fade to a path automaticly? - TheFunnySide - 07-05-2018

I want to stroke a path with a dynamic brush and i want the fade lenght of my brush to be set to the path length.
I can do this by hand, but this is tedious. I need something automatic.

thx in advance


RE: How to adjust brush fade to a path automaticly? - Ofnuts - 07-08-2018

I have a script for this but never published it. Will see if I can find the time to polish it up.


RE: How to adjust brush fade to a path automaticly? - Espermaschine - 07-08-2018

(07-08-2018, 12:04 AM)Ofnuts Wrote: I have a script for this but never published it. Will see if I can find the time to polish it up.

Yes, please !


RE: How to adjust brush fade to a path automaticly? - Ofnuts - 07-08-2018

(07-08-2018, 03:58 AM)Espermaschine Wrote:
(07-08-2018, 12:04 AM)Ofnuts Wrote: I have a script for this but never published it. Will see if I can find the time to polish it up.

Yes, please !

I'm petitioning for a 8th day in the week, called "Esperday" Smile


RE: How to adjust brush fade to a path automaticly? - Espermaschine - 07-08-2018

its not like i made the request...

just showing interest


RE: How to adjust brush fade to a path automaticly? - Ofnuts - 07-08-2018

Anyway... now I remember, I never finished the script because there is no way to get/set the fade length. If you have an id on the Gnome GitLab, you can upvote: https://gitlab.gnome.org/GNOME/gimp/issues/1385


RE: How to adjust brush fade to a path automaticly? - TheFunnySide - 07-09-2018

It seems that i was not the only one interested in this feature.
I am now going to take a look how to write these scrips.
If i find a way i will ofc share it.


RE: How to adjust brush fade to a path automaticly? - Ofnuts - 07-09-2018

(07-09-2018, 10:41 AM)TheFunnySide Wrote: It seems that i was not the only one interested in this feature.
I am now going to take a look how to write these scrips.
If i find a way i will ofc share it.

I have a script ready for this... there is just a blank line under the comment:

Code:
# wait for a Gimp API to set the fade length

No API, no .py.


RE: How to adjust brush fade to a path automaticly? - rich2005 - 07-09-2018

Just a thought.

I was looking at an old RobA script last night "taper-along-path.scm" wondering if it could be adapted. Has not worked since Gimp 2.6 but just creates a brush and 'stamps' at close intervals to create the line.

In more modern Gimp, there is the follow path plugin and it is a bit of a monster. The concept might be slimmed down a bit. The other snag of course is the brush opacity very quickly builds up to solid.

however, it looks like this: https://i.imgur.com/xhtEXLH.jpg


RE: How to adjust brush fade to a path automaticly? - Ofnuts - 07-09-2018

Not worth it... I really want the fade because I hope to be able to allow any kind of fade-related dynamics (size, opacity, color, direction..., and also following the fade curve defined in the dynamics). I even wonder if this could be made to work together with the "line" mode. As you can see, aiming for the maximum "wow" effect wit the minimum code Smile