Re: [Inkscape-user] How to create a new node at the intersection of 2 straight lines
-------- Original Message -------- From: Bryce Harrington <bryce@...983...> Apparently from: inkscape-user-bounces@lists.sourceforge.net To: Inkscape User Community inkscape-user@lists.sourceforge.net Subject: Re: [Inkscape-user] How to create a new node at the intersection of2 straight lines Date: Tue, 2 Jan 2007 17:35:29 -0800
On Wed, Jan 03, 2007 at 01:04:49AM +0000, re2823@...2071... wrote:
re2823@...2071... wrote:
Hi.
Could anyone tell if there's a way to place a new node at the intersection of two straight lines (without converting each line into a shape by adding more nodes, then doing something like path merge/union/intersection on those two shapes etc).
Would it do what you're looking for if you turn on snapping and snap nodes to paths and have the appropriate sensitivity set (in options)?
Interesting idea - I've tried it out (with both "Snap nodes to objects", "Snap to object paths" and "Always snap" enabled) but (suprisingly) I still find it very difficult to pin new nodes exactly on the intersection point...
I tried it too using the double-click-while-node-editing, but it doesn't seem to obey object snap settings. Would be pretty spiffy if it did, though.
The approach I've used when needing to do this is zoom in really close to the intersection point, select the line to add the node to and just manually double-click on the junction while in node editing mode, and touch up as needed. Not CAD quality perfection, but good enough for my purposes.
Yeah, that was kind of my backup plan. I just thought that it would be nice to have a procedure which didn't rely of "manual accuracy", if you know what I mean.
I've only just noticed that inkscape can be extended using python scripts. I wonder whether inkscape exposes enough of an api to be able to script this particular problem. Time for me to read up on inkscape effects...
Jaime
participants (1)
-
unknown@example.com