[solved] align to path

Post questions on how to use or achieve an effect in Inkscape.
gingerbreadmann

[solved] align to path

Postby gingerbreadmann » Tue Feb 12, 2008 10:56 am

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.

tourquoise

How to Clone along path?

Postby tourquoise » Fri Feb 15, 2008 2:58 am

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.

Simarilius
Posts: 626
Joined: Wed Jun 06, 2007 2:37 am

Re: align to path

Postby Simarilius » Fri Feb 15, 2008 8:55 am

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...

User avatar
RobA
Posts: 335
Joined: Fri Aug 10, 2007 1:22 am

Re: align to path

Postby RobA » Fri Feb 15, 2008 12:52 pm

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>

tourquoise

Re: align to path

Postby tourquoise » Sat Feb 16, 2008 6:48 am

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.

gingerbreadmann

Re: align to path

Postby gingerbreadmann » Tue Feb 19, 2008 5:54 am

thanks for the help, I'll try that.

tourquoise

Re: align to path

Postby tourquoise » Thu Feb 21, 2008 9:23 am

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.


Return to “Help with using Inkscape”