It is currently Tue Apr 23, 2024 8:28 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: brush, image, pattern ALONG A PATH
PostPosted: Tue Dec 01, 2015 2:00 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
GIMP Version: 2.8.14
Operating System: Windows
GIMP Experience: Basic Level

List any relevant plug-ins or scripts:
Ofnuts' TEXT ALONG A PATH



Hi Ofnuts!

Is it possible to have an "extension" of your excellent script "Text along a path" to draw:
- a brush
- an image
- a pattern
along a path as it is for text?

Maybe you will say: this function is already there! if so, phantastic!

I just played a bit with your script using webdings/wingdings for text: very interesting outcomes!

Thanks

_________________
"Where am I ?"


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: brush, image, pattern ALONG A PATH
PostPosted: Tue Dec 01, 2015 3:43 am  (#2) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13015
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
The path tool has a function which allows you to stroke a path using any of the paint tools.
Attachment:
Screenshot (7).png
Screenshot (7).png [ 81.88 KiB | Viewed 3544 times ]

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: brush, image, pattern ALONG A PATH
PostPosted: Tue Dec 01, 2015 4:14 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
thanks Wallace, but there is no equivalent possibilities inside a script

_________________
"Where am I ?"


Top
 Post subject: Re: brush, image, pattern ALONG A PATH
PostPosted: Tue Dec 01, 2015 4:32 am  (#4) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13015
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
dinasset wrote:
thanks Wallace, but there is no equivalent possibilities inside a script

I don't know of any scripts that will allow you to stroke a path using a pattern or an image. That is not related to the paint tools.
However, there may be some sort of Python Plugin developed by Ofnuts, which does do what you're asking.
Maybe Ofnuts will offer you a suggestions, other then what I already have.

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: brush, image, pattern ALONG A PATH
PostPosted: Tue Dec 01, 2015 5:20 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
ya, that's a reason why I addressed this post primarily to Ofnuts (see first line).
He is a magician of path management, and what I like to have is the same possibility he's offering for text also for other gimp objects, like as I said brushes, patterns, images, ...
I should tell youi that my interest came out exactly from the poor stroking possibilities available in a script compared with those you mentioned for an interactive use.

_________________
"Where am I ?"


Top
 Post subject: Re: brush, image, pattern ALONG A PATH
PostPosted: Tue Dec 01, 2015 5:39 am  (#6) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2424
There is a plugin follow-path
http://www.arakne.es/en/dessign/gimp-pl ... llow-path/

a bit of searching and AFAIK this is the most recent version follow-path5
http://www.arakne.es/en/2014/04/ down at the bottom of that page

Dialog looks like this
Attachment:
followpath-0.jpg
followpath-0.jpg [ 96.64 KiB | Viewed 3482 times ]

That is a small 'icon' layer. Draw your path right to left or rotate the 'icon'

With a new white layer under looks like this.
Attachment:
followpath-1.jpg
followpath-1.jpg [ 98.49 KiB | Viewed 3482 times ]

_________________
Image


Top
 Post subject: Re: brush, image, pattern ALONG A PATH
PostPosted: Tue Dec 01, 2015 6:49 am  (#7) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
thanks Rich.
is it capable of "following" also the "curvature" (as Ofnuts filter does)?
(not shown in your example)

_________________
"Where am I ?"


Top
 Post subject: Re: brush, image, pattern ALONG A PATH
PostPosted: Tue Dec 01, 2015 7:27 am  (#8) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2424
dinasset wrote:
is it capable of "following" also the "curvature" (as Ofnuts filter does)? (not shown in your example)


That is the orientate (orient sic)-on path button - toggle that off.

This might/might not do what you want. Good for small discrete patterns. Do not expect to join a pattern up seamlessly,

_________________
Image


Top
 Post subject: Re: brush, image, pattern ALONG A PATH
PostPosted: Tue Dec 01, 2015 8:38 am  (#9) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
it seems to be good...

_________________
"Where am I ?"


Top
 Post subject: Re: brush, image, pattern ALONG A PATH
PostPosted: Tue Dec 01, 2015 9:03 am  (#10) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
hmm, giving a look to the pdb function to call that filter a looong series of parameters is involved, I guess the author should better create one or more "simpler" interfaces: the user in the majority of cases will just need the 3-4 parameters that are changed in the interactive call...
can you imagine the "readability" of a filter that lists more than 50(!) parameters (for each call)?
it's not for me
I was born with the Golden Rule that a mind is capable of mastering up to seven variables at a time...

_________________
"Where am I ?"


Top
 Post subject: Re: brush, image, pattern ALONG A PATH
PostPosted: Tue Dec 01, 2015 9:41 am  (#11) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4739
dinasset wrote:
GIMP Version: 2.8.14
Operating System: Windows
GIMP Experience: Basic Level

List any relevant plug-ins or scripts:
Ofnuts' TEXT ALONG A PATH



Hi Ofnuts!

Is it possible to have an "extension" of your excellent script "Text along a path" to draw:
- a brush
- an image
- a pattern
along a path as it is for text?

Maybe you will say: this function is already there! if so, phantastic!

I just played a bit with your script using webdings/wingdings for text: very interesting outcomes!

Thanks


What would you want the script to do for brush/image that stroking with a brush and "emulate brush dynamics" with the proper dynamics(*) doesn't already do?

(*) in particular mapping angle to direction (the "Track direction" standard dynamics)

_________________
Image


Top
 Post subject: Re: brush, image, pattern ALONG A PATH
PostPosted: Tue Dec 01, 2015 10:49 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
the pdb stroking function available to be called inside a script does not have all the capabilities available online (dynamics set to "track direction" only provides the capability to follow the line of the path, but does not provide the change in the "positioning"/"angle": the brush is painting always in the same shape)

_________________
"Where am I ?"


Top
 Post subject: Re: brush, image, pattern ALONG A PATH
PostPosted: Tue Dec 01, 2015 7:58 pm  (#13) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4739
Ah, so you want the function to call it from another script....

_________________
Image


Top
 Post subject: Re: brush, image, pattern ALONG A PATH
PostPosted: Wed Dec 02, 2015 1:03 am  (#14) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
yes, Ofnuts, I very rarely use Gimp functions interactively; when I like some function I create a script to use it (I'm a lazy boy....)

_________________
"Where am I ?"


Top
 Post subject: Re: brush, image, pattern ALONG A PATH
PostPosted: Wed Dec 02, 2015 8:04 am  (#15) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Saulgoode wrote a filter to warp text perhaps that could be utilized to write a new filter to use an image. Actually misshaping the images as they curve the path in a single line made into a filter would be very interesting indeed. :)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) stroke path with pattern

26

No new posts brush tool + pattern

3

No new posts Retexture an image with another image as "Image Pattern" Plug-in

4

No new posts Create Seamless Hexagon Pattern from Image - within seconds

0

No new posts Attachment(s) Made an animated brush from unsplash image

1



* Login  



Powered by phpBB3 © phpBB Group