It is currently Mon Jun 24, 2024 6:41 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 27 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: stroke path with pattern
PostPosted: Mon Jul 26, 2021 12:01 pm  (#1) 
Offline
GimpChat Member

Joined: Jun 22, 2020
Posts: 98
GIMP Version: 2.8.14
Operating System: Windows
GIMP Experience: Basic Level



Attachment:
stroke.JPG
stroke.JPG [ 68.29 KiB | Viewed 5609 times ]
I have a pattern of narrow lace that i want to put around the edges of a selection. When i stroke pattern set to .5 inch it places it across the top, fine, but then it just duplicates it several times down the sides, it doesnt turn it to follow the path.

How do i get it to actually follow the path?


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: stroke path with pattern
PostPosted: Mon Jul 26, 2021 1:24 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 787
Location: SEA - South East Asia
You can fill path with pattern, but You cannot stroke a path with a pattern!

Unless... you are using a plugin (which one is it?) or make that pattern as a brush.

To make that pattern a brush, right click on that pattern (in the pattern dockable dialog) > open as image > Ctrl+A > Ctrl+C > now it's a brush (clipboard)
Select paint brush tool > Go to your brush setting > select this brush(Clipboard), then > Dynamics > Track Direction

Now you can go back to the tab of your main project and > Edit > Stroke the path... > Select paint brush...

Play with the angle of the brush /Spacing / Fade options /Repeat options, ...

_________________
Patrice


Top
 Post subject: Re: stroke path with pattern
PostPosted: Mon Jul 26, 2021 2:01 pm  (#3) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2435
It is possible but hardly worth the effort.

Make a gimp-image-hose (gih) brush. Greyscale, repeatable pattern, like this:

Attachment:
01-gih.jpg
01-gih.jpg [ 197.05 KiB | Viewed 5582 times ]


Stroke the path using paint tool and emulate dynamics on. Set the brush to suitable size, FG colour etc same as any other brush.

Attachment:
02-stroke.jpg
02-stroke.jpg [ 187.44 KiB | Viewed 5582 times ]


...but then what do you do with the corners ;)

I will attach that brush as an example:


Attachments:
border.gih [354.43 KiB]
Downloaded 116 times

_________________
Image
Top
 Post subject: Re: stroke path with pattern
PostPosted: Mon Jul 26, 2021 2:58 pm  (#4) 
Offline
GimpChat Member

Joined: Jun 22, 2020
Posts: 98
rich2005 wrote:
It is possible but hardly worth the effort.

Make a gimp-image-hose (gih) brush. Greyscale, repeatable pattern, like this:

Attachment:
01-gih.jpg


Stroke the path using paint tool and emulate dynamics on. Set the brush to suitable size, FG colour etc same as any other brush.

Attachment:
02-stroke.jpg


...but then what do you do with the corners ;)

I will attach that brush as an example:



Ahh, so its just like in the old photo draw, the corners are odd, some of the bushes there did get the corners though. Thank you. :tyspin I tried it with copy and paint the one brush, and it was an ugly lace that way, so i did something else, but i will do as above to learn, i dont want your time wasted.

For the corners i can use just one copy and rotate it and tuck it in, although then have to blend the edges in, hmm, yes not worth it! yikes. ;)


Top
 Post subject: Re: stroke path with pattern
PostPosted: Mon Jul 26, 2021 3:02 pm  (#5) 
Offline
GimpChat Member

Joined: Jun 22, 2020
Posts: 98
PixLab wrote:
You can fill path with pattern, but You cannot stroke a path with a pattern!

Unless... you are using a plugin (which one is it?) or make that pattern as a brush.

To make that pattern a brush, right click on that pattern (in the pattern dockable dialog) > open as image > Ctrl+A > Ctrl+C > now it's a brush (clipboard)
Select paint brush tool > Go to your brush setting > select this brush(Clipboard), then > Dynamics > Track Direction

Now you can go back to the tab of your main project and > Edit > Stroke the path... > Select paint brush...

Play with the angle of the brush /Spacing / Fade options /Repeat options, ...


I see, thank you. Yes it is also a brush.


Top
 Post subject: Re: stroke path with pattern
PostPosted: Mon Jul 26, 2021 3:17 pm  (#6) 
Offline
GimpChat Member

Joined: Jun 22, 2020
Posts: 98
iti wrote:
PixLab wrote:
You can fill path with pattern, but You cannot stroke a path with a pattern!

Unless... you are using a plugin (which one is it?) or make that pattern as a brush.

To make that pattern a brush, right click on that pattern (in the pattern dockable dialog) > open as image > Ctrl+A > Ctrl+C > now it's a brush (clipboard)
Select paint brush tool > Go to your brush setting > select this brush(Clipboard), then > Dynamics > Track Direction

Now you can go back to the tab of your main project and > Edit > Stroke the path... > Select paint brush...

Play with the angle of the brush /Spacing / Fade options /Repeat options, ...


I see, thank you. Yes it is also a brush.


I cant find this: ' then > Dynamics > Track Direction'


Top
 Post subject: Re: stroke path with pattern
PostPosted: Mon Jul 26, 2021 3:36 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: Dec 09, 2018
Posts: 656
I don't think you are going to get a neat result with stroking as it's a wide brush so won't be nicely centred on the picture or have good corners.

If you don't mind doing it manually:
I had a play with tiling the pattern to make a long line of lace:
Filters -> Map -> Tile
Then duplicated it three times, moved it by hand into place rotating the sides:
Layer -> Transform -> Rotate 90 etc.
Finally cut the ends off at 45 degrees to tidy the corners.

Attachment:
ilacetest.jpg
ilacetest.jpg [ 121.1 KiB | Viewed 5550 times ]


Last edited by teapot on Mon Jul 26, 2021 3:43 pm, edited 1 time in total.

Top
 Post subject: Re: stroke path with pattern
PostPosted: Mon Jul 26, 2021 3:38 pm  (#8) 
Offline
GimpChat Member
User avatar

Joined: Apr 26, 2014
Posts: 3543
Location: belgium
in the attachment an explanation how I line my path

Image


Attachments:
STROKE PAT.zip [648.2 KiB]
Downloaded 127 times
Top
 Post subject: Re: stroke path with pattern
PostPosted: Mon Jul 26, 2021 5:33 pm  (#9) 
Offline
GimpChat Member

Joined: Jun 22, 2020
Posts: 98
teapot wrote:
I don't think you are going to get a neat result with stroking as it's a wide brush so won't be nicely centred on the picture or have good corners.

If you don't mind doing it manually:
I had a play with tiling the pattern to make a long line of lace:
Filters -> Map -> Tile
Then duplicated it three times, moved it by hand into place rotating the sides:
Layer -> Transform -> Rotate 90 etc.
Finally cut the ends off at 45 degrees to tidy the corners.

Attachment:
ilacetest.jpg

:wow Thats amazing. I started to do that, not in that way as im too new, and i got frustrated with how ugly it was looking. Thank you!


Top
 Post subject: Re: stroke path with pattern
PostPosted: Mon Jul 26, 2021 5:36 pm  (#10) 
Offline
GimpChat Member

Joined: Jun 22, 2020
Posts: 98
gimper66 wrote:
in the attachment an explanation how I line my path

[ Image ]

Thank you i will study it!


Top
 Post subject: Re: stroke path with pattern
PostPosted: Mon Jul 26, 2021 7:39 pm  (#11) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4750
Also, ofn-brush-strokes-on-paths, that tweaks the spacing to have an exact integer count of strokes.

_________________
Image


Top
 Post subject: Re: stroke path with pattern
PostPosted: Mon Jul 26, 2021 8:09 pm  (#12) 
Offline
GimpChat Member

Joined: Jun 22, 2020
Posts: 98
gimper66 wrote:
in the attachment an explanation how I line my path

[ Image ]


I tried this several times, and the first times i stroked with the bottom option, but it filled the image, i read your tut again and stroked with line, pattern. Nothing happens. I dont know what the heck im doing wrong, i will try tomorrow. Im stubborn and it will pick at me till i get it right. I did get it to go all the way around once, but it was just like before, it stacked them on top of each other on the sides. it didnt run them around.

I have been toying with just stroking a straight line and then bending it around the image, but that just more research to see if it would work after its been stroked. that sounds so funny.


Top
 Post subject: Re: stroke path with pattern
PostPosted: Mon Jul 26, 2021 8:22 pm  (#13) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 787
Location: SEA - South East Asia
iti wrote:
I cant find this: ' then > Dynamics > Track Direction'


It's in the tools option of the brush, but after reading teapot's solution, I think it's the neatest as you can have very neat corners.
anyway it's always good to know, dynamics :bigthup
Image

_________________
Patrice


Top
 Post subject: Re: stroke path with pattern
PostPosted: Mon Jul 26, 2021 8:28 pm  (#14) 
Offline
GimpChat Member

Joined: Jun 22, 2020
Posts: 98
PixLab wrote:
iti wrote:
I cant find this: ' then > Dynamics > Track Direction'


It's in the tools option of the brush, but after reading teapot's solution, I think it's the neatest as you can have very neat corners.
anyway it's always good to know, dynamics :bigthup
[ Image ]


Yeah i saw that, mine says 'all off' I clicked on it thinking there must be a menu, but no menu. I clicked the pen to the right of it, and there are a bunch of empty boxes, i guess i can pick from. Non of them use that term, direction forward? so yeah

I clicked the icon i dont have track anything, I can type it in the blank, but that does nothing too.


Top
 Post subject: Re: stroke path with pattern
PostPosted: Mon Jul 26, 2021 8:43 pm  (#15) 
Offline
GimpChat Member
User avatar

Joined: Dec 09, 2018
Posts: 656
iti wrote:
Yeah i saw that, mine says 'all off' I clicked on it thinking there must be a menu, but no menu. I clicked the pen to the right of it, and there are a bunch of empty boxes, i guess i can pick from. Non of them use that term, direction forward? so yeah

I clicked the icon i dont have track anything, I can type it in the blank, but that does nothing too.

Have added a green arrow to PixLab's image to show where to click to get the menu.

Image


Top
 Post subject: Re: stroke path with pattern
PostPosted: Mon Jul 26, 2021 8:51 pm  (#16) 
Offline
GimpChat Member

Joined: Jun 22, 2020
Posts: 98
gimper66 wrote:
in the attachment an explanation how I line my path

[ Image ]


I tried again, i give up, it is still stacking them on the sides. Not sure how you got yours to go around. thanks for trying to help me.


Attachments:
Again.JPG
Again.JPG [ 84.83 KiB | Viewed 2595 times ]
Top
 Post subject: Re: stroke path with pattern
PostPosted: Mon Jul 26, 2021 8:56 pm  (#17) 
Offline
GimpChat Member

Joined: Jun 22, 2020
Posts: 98
teapot wrote:
iti wrote:
Yeah i saw that, mine says 'all off' I clicked on it thinking there must be a menu, but no menu. I clicked the pen to the right of it, and there are a bunch of empty boxes, i guess i can pick from. Non of them use that term, direction forward? so yeah

I clicked the icon i dont have track anything, I can type it in the blank, but that does nothing too.

Have added a green arrow to PixLab's image to show where to click to get the menu.

[ Image ]


yep i clicked there and i do not have that option. its alphabetical and its not in the list, thank you though =) those are nice arrows! mine are always crooked.


Attachments:
dont have it.JPG
dont have it.JPG [ 34.24 KiB | Viewed 2595 times ]
Top
 Post subject: Re: stroke path with pattern
PostPosted: Mon Jul 26, 2021 9:08 pm  (#18) 
Offline
GimpChat Member
User avatar

Joined: Dec 09, 2018
Posts: 656
iti wrote:
yep i clicked there and i do not have that option. its alphabetical and its not in the list, thank you though =)

Have you scrolled right to the bottom of the list? Track Direction should be there. The list has the writable ones first in alphabetical order and after those the non-writeable ones in alphabetical order. Track Direction comes with gimp and is non-writable. If Untitled is the bottom of your list then you've likely got loads missing as that one is usually writeable so usually comes before all the gimp preset ones :(


Top
 Post subject: Re: stroke path with pattern
PostPosted: Mon Jul 26, 2021 9:24 pm  (#19) 
Offline
GimpChat Member

Joined: Jun 22, 2020
Posts: 98
teapot wrote:
iti wrote:
yep i clicked there and i do not have that option. its alphabetical and its not in the list, thank you though =)

Have you scrolled right to the bottom of the list? Track Direction should be there. The list has the writable ones first in alphabetical order and after those the non-writeable ones in alphabetical order. Track Direction comes with gimp and is non-writable. If Untitled is the bottom of your list then you've likely got loads missing as that one is usually writeable so usually comes before all the gimp preset ones :(


yep that was the bottom of the list. I looked in the top and it wasnt there either, i checked in the load directory to make sure i have the ones that came with gimp checked and it is. I have two checked, one for the paint thing and the one that came with gimp. I can uncheck the one to see if there is more.


Top
 Post subject: Re: stroke path with pattern
PostPosted: Mon Jul 26, 2021 10:30 pm  (#20) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 787
Location: SEA - South East Asia
iti wrote:
those are nice arrows! mine are always crooked.

take a brush, make 1 dot, hold Shift key down, move it somewhere else and while holding the Shift key down make your second dot (continue with the arrow's tip) :bigthup

_________________
Patrice


Top
Post new topic Reply to topic  [ 27 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) stroke selection/stroke path

2

No new posts Attachment(s) Board Game Design - Stroke Selection and Pattern Fill Questions

3

No new posts Stroke: how to remove space between test & stroke

3

No new posts Attachment(s) i struggle with the option to copy the path - the path where a file i

3

No new posts Attachment(s) Colorful Pattern from Text (Text Pattern) Plug-in

32



* Login  



Powered by phpBB3 © phpBB Group