11 Oct
2007
11 Oct
'07
8:36 p.m.
On 10/11/07, Redefined Horizons <redefined.horizons@...400...> wrote:
I want to write a script that makes one line segment parallel or perpendicular to another line segment.
If these segments are indeed segments, i.e. parts of some paths, then you can't do this with scripting yet because scripts only get object selection, not node selection.
Also, I think it can be done easy enough without scripting: snap the nodes of the second segment to the first using "snap nodes to path", so they become parallel, then move the second one away to where you want it to be. Or just duplicate the first one and move away the copy.
--
bulia byak
Inkscape. Draw Freely.
http://www.inkscape.org