[solved] align to path
[solved] align to path
Hi all, I know that you can align text to a path ("Put on Path," no?). But what if I want to align an object to a path? For example, I am working with a line of rectangles simply drawn, duplicated, and aligned. But I want to align those so they aren't in a straight line, but form a curve-y line, one that I drew as a path(I am making a zipper). How would I align those to a path to form the curvy line that I drew? Thanks a million.
How to Clone along path?
hi,
Saw your question and hope you don't mind me asking a related question. Is there a "Clone or copy along path"? There is the "path along path" which copies a path multiple times along a path but if an object is used then a path is created from the object. I want to be able to keep the clones or copies as objects not as a path.
Saw your question and hope you don't mind me asking a related question. Is there a "Clone or copy along path"? There is the "path along path" which copies a path multiple times along a path but if an object is used then a path is created from the object. I want to be able to keep the clones or copies as objects not as a path.
-
- Posts: 626
- Joined: Wed Jun 06, 2007 2:37 am
Re: align to path
with regards ot the original question, you may be able to achieve what your after with the path along path extension, or by creating a marker from the object.
for the second q, markers are the only way i can think of...
for the second q, markers are the only way i can think of...
Re: align to path
Definitely works using a clone as a marker. I just tried it - create one object and make a clone of it, then select the clone and (under .46) select "object to marker". The clone disappears and then you can use it on paths. You can use the "modify-path"->"add nodes" effect to space nodes (and therefore the cloned markers). The live preview really helps with this (also under .46).
-Rob A>
-Rob A>
Re: align to path
hi,
Thanks for suggesting using markers. Trying 0.46 and "add nodes" came somewhat close to what I want. If the path only has two nodes then it works well but if the path is squiggly there are already quite a few nodes defining the shape of the path so "add nodes" does not evenly spread out a clone / copy of shape. But it is definitely a lot closer and saves much work so thanks.
Thanks for suggesting using markers. Trying 0.46 and "add nodes" came somewhat close to what I want. If the path only has two nodes then it works well but if the path is squiggly there are already quite a few nodes defining the shape of the path so "add nodes" does not evenly spread out a clone / copy of shape. But it is definitely a lot closer and saves much work so thanks.
Re: align to path
hi,
Take a look at the pathscatter code at
http://math.univ-lille1.fr/~barraud/Inkscape/pathdeform/
The code is by the person who did the Path on Path but will not be in the 0.46 release. The pathscatter.py and pathscatter.inx need to be run with the not yet production version 0.46 and put in the inkscape\share directory. When run the script will put multiple copies along the path. It works very nicely for me except for squares. The author has been contacted and he will likely be fixing the script. For me this script was very much what I was looking for.
Take a look at the pathscatter code at
http://math.univ-lille1.fr/~barraud/Inkscape/pathdeform/
The code is by the person who did the Path on Path but will not be in the 0.46 release. The pathscatter.py and pathscatter.inx need to be run with the not yet production version 0.46 and put in the inkscape\share directory. When run the script will put multiple copies along the path. It works very nicely for me except for squares. The author has been contacted and he will likely be fixing the script. For me this script was very much what I was looking for.