Align lines to overlap

Flesh out your ideas for new or improved Inkscape features before submitting a request.
User avatar
nils
Posts: 154
Joined: Mon Jun 09, 2008 10:39 am

Align lines to overlap

Postby nils » Sat Jul 02, 2011 12:47 pm

When I am constructing stuff, I am missing a feature that allows me to set two lines to overlap.

Example: I have Box A and Box B of the same size.

I can make them sit on top of each other, but I can't make them share a line.

i.e. if I align bottom line of object to top line of anchor it will look like so:

Code: Select all

+--+
|  |
+--+
+--+
|  |
+--+


But I want:

Code: Select all

+--+
|  |
+--+
|  |
+--+


I think i could dleete line sbut of course that would destroy the integrity of that object.
Visit my DeviantArt Gallery for more of my work.

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

Re: Align lines to overlap

Postby brynn » Sat Jul 02, 2011 2:45 pm

Hhm....well there I have learned my new thing for today, lol. I don't use the Align/Distr dialog much, as I prefer snapping.
I wonder if using the Geometric Bounding Box would cause it to behave differently (than the Visual Bounding Box)? Because I don't know how Align and Distr works, but judging by this, it looks like it might be aligning the bounding boxes??

Have you checked Launchpad to see if it's maybe already been requested?

Of course you know you could use snapping of nodes to achieve such an overlap....?

llogg
Posts: 443
Joined: Tue Mar 11, 2008 7:30 am

Re: Align lines to overlap

Postby llogg » Sat Jul 02, 2011 8:21 pm

I think using snapping you can directly overlap.

User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Re: Align lines to overlap

Postby druban » Sun Jul 03, 2011 2:45 pm

Example: I have Box A and Box B of the same size.
I can make them sit on top of each other, but I can't make them share a line.
i.e. if I align bottom line of object to top line of anchor it will look like so:

Here are two pairs of objects (seen in outline view) that have been aligned using the Inkscape align dialog.
g3110.png
g3110.png (5.79 KiB) Viewed 3617 times

Is this (on the left) the problem you are experiencing, and is this (on the right) the result you want? if so, then the answer is that you are aligning objects that have a stroke assigned. remove the stroke and the nodes will line up. You can put the stroke back afterwards, but you can't make the align dialog ignore the stroke.
Your mind is what you think it is.

User avatar
nils
Posts: 154
Joined: Mon Jun 09, 2008 10:39 am

Re: Align lines to overlap

Postby nils » Sun Jul 10, 2011 9:01 pm

Great idea, I will try removing + reapplying the stroke. But yes my objects have strokes and they are supposed to have strokes... ;-) I know the align dialog can't ignore them, hence my hope that this behavior might be added some day.
Visit my DeviantArt Gallery for more of my work.


Return to “Inkscape Ideas”