Stripes along a line/curve?

Post questions on how to use or achieve an effect in Inkscape.
billyxyzxy
Posts: 1
Joined: Tue Sep 11, 2012 1:03 am

Stripes along a line/curve?

Postby billyxyzxy » Tue Sep 11, 2012 1:13 am

Hi all ,

I am wondering if there is a way to create stripes along the length of a line/curve? Here is a pic of broadly what I am talking about: http://us.123rf.com/400wm/400/400/hyper ... -curve.jpg.
I know you can make stripes that are against the direction of the line using the 'Stroke Paint' menu, but cant seem to work out how to make them along the length of the line. Is/How is this done?

Cheers :)

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Stripes along a line/curve?

Postby brynn » Tue Sep 11, 2012 4:16 am

Image
Welcome to InkscapeForum!

I'm thinking Interpolation. There's both an extension and an LPE. If one end of the band of stripes wasn't wider than the other end, I'd say pattern along path (also, both an extension and LPE). If you use pap, and each stripe will be a different color, as in the example, you'll have to use the pap extension, because you can use groups. Otherwise, if you use the LPE, all the stripes would have to be the same color. Although....actually there may be a way to use pap, even if the stripes are wider at one end. But certainly not if they get wider and thinner and wider and thinner, etc. All of this easily found in Help menu > Inkscape manual, but it's not necessarily easily understandable :) So if you get stuck we can help. But someone else might have some other, perhaps better ideas.

Also, if the stripes would be the same width all the way along the path, there's a way to use markers to do it. I'll have to look around for where I put a tutorial I found a while ago, for that.

Edit
I just thought of another way. When you mention putting stripes perpendicular to the path using Stroke Paint, you must be talking about using a pattern? Actually you can turn the pattern around, so that the stripes are parallel. However, with a pattern, you can't make it curve along with the path.

Edit #2
I just thought of yet another way, but it will only work to make a solid stripe. So for example, in the image, it looks like each stripe has a stroke and a fill. With this way, which is another LPE called Stitch Sub-Paths, I think each stripe can only be a solid stroked path....and I think all the same color, but I'm not sure. Again, you can find info in the manual, but we can always answer any further questions, if you get stuck :D


Return to “Help with using Inkscape”