rotate filling pattern in obecjt

Post questions on how to use or achieve an effect in Inkscape.
baron-robert
Posts: 3
Joined: Tue Feb 19, 2013 8:53 am

rotate filling pattern in obecjt

Postby baron-robert » Tue Feb 19, 2013 9:39 am

Hi guys,

i'm new to inkscape and I wonder if it is possible to rotate (and change the scale) of a pattern filled in a closed path converted to a pattern. I'm not able to achieve that.
The idea is resumed in the attached image.

By the way I would like to draw a path shaped from a custom pattern. Like a line with small dots above or a line made of double dash...
Is there a way to customize the "Stroke style" library ? I found a workaround to do it after creating the pattern and using the "Scatter and Pattern along Path" extension, but it's not a convenient way and you cannot easily change the path after the operation is done.

Thanks for your help.
BR
Attachments
Selection_008.png
exemple1
Selection_008.png (52.03 KiB) Viewed 3288 times

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

Re: rotate filling pattern in obecjt

Postby brynn » Tue Feb 19, 2013 1:23 pm

Image
Welcome to InkscapeForum!

Yes it's possible! Select the object with the pattern, then switch to the Node tool. If it's one of the pre-made patterns, you'll find the pattern handles exactly on the top, left corner of the page border (you might want to make page border visible to help locating handles, if the page border has been hidden). But if it's a custom pattern, you will usually find the pattern handles exactly on the original object that you converted to pattern.

The handles consist of a tiny X, a tiny circle and a tiny square. The X allows you to move the handles. Most people like to move them closer to the object, so they can see what effect that moving the handles has on the pattern. Between the circle and square, I can't remember at the moment which one does what. One rotates the pattern and the other scales it. But the manual should clear things up for you: http://tavmjong.free.fr/INKSCAPE/MANUAL ... s-Patterns.

However, there is a bug, that can make it next to impossible to find the handles. They could be anywhere on the canvas, or even on a part of the canvas that is not visible, or sometimes not even visible after scrolling around! I haven't found a workable way of avoiding it.... I suppose if it's a custom pattern, if you created it on a new layer, the handles will be easy to find. Or for a pre-made pattern, if you move the object to which you want to apply the pattern, to a new layer, before adding the pattern, that would make the handles easy to find. But if your project uses a lot of patterns, making new layers could get to be a pain. You could try moving the object back into its original layer, after adjusting the handles, but then the handles will be lost again. Sorry I don't have a good solution, but maybe you won't encounter the bug. Or maybe someone else knows a trick?

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: rotate filling pattern in obecjt

Postby Lazur » Tue Feb 19, 2013 5:32 pm

Wow I never realised there were handles for that.
I used the trick of scaling and rotating the paths when needet the effect.
If I wanted the pattern to be two times smaller, just scaled up the path to 200%, then added the pattern, then scaled down the thing to 50%.
Same works when rotating, if you switch on the "move pattern along with path" at the top menu.

baron-robert
Posts: 3
Joined: Tue Feb 19, 2013 8:53 am

Re: rotate filling pattern in obecjt

Postby baron-robert » Wed Feb 20, 2013 6:13 am

Hi guys, thanks for your replies.
brynn wrote:Image
Yes it's possible! Select the object with the pattern, then switch to the Node tool. If it's one of the pre-made patterns, you'll find the pattern handles exactly on the top, left corner of the page border (you might want to make page border visible to help locating handles, if the page border has been hidden). But if it's a custom pattern, you will usually find the pattern handles exactly on the original object that you converted to pattern.

The handles consist of a tiny X, a tiny circle and a tiny square. The X allows you to move the handles. Most people like to move them closer to the object, so they can see what effect that moving the handles has on the pattern. Between the circle and square, I can't remember at the moment which one does what. One rotates the pattern and the other scales it. But the manual should clear things up for you: http://tavmjong.free.fr/INKSCAPE/MANUAL ... s-Patterns.


I tried this method, but the result is not the one expected. Maybe I didn't do it the right way, but by doing this I was able to rotate the whole pattern not just the "filling" (like the stripes you can see on the screenshot from my previous post). Did i miss something ?

baron-robert
Posts: 3
Joined: Tue Feb 19, 2013 8:53 am

Re: rotate filling pattern in obecjt

Postby baron-robert » Wed Feb 20, 2013 7:07 am

brynn wrote:Image
Yes it's possible! Select the object with the pattern, then switch to the Node tool. If it's one of the pre-made patterns, you'll find the pattern handles exactly on the top, left corner of the page border (you might want to make page border visible to help locating handles, if the page border has been hidden). But if it's a custom pattern, you will usually find the pattern handles exactly on the original object that you converted to pattern.


Ok ! My mistake ! I did not see them !! They "really" are on the left corner of the page border ! My drawing is somwhat big and i did not saw them !

Thanks for your help !


Return to “Help with using Inkscape”