How to align straight lines from shift + f6?

Post questions on how to use or achieve an effect in Inkscape.
pythonforspss.org
Posts: 7
Joined: Mon Oct 15, 2012 3:20 pm

How to align straight lines from shift + f6?

Postby pythonforspss.org » Thu Sep 26, 2013 1:56 am

Dear all,

I drew straight lines with Shift + CTRL + F6 and rotated one of them 90 degrees. Now I'd like to align them in order to get an L shape. However, it doesn't seem to work as I'd expected using the distribute and align tool. There's dashed lines around them, slightly larger than the actual lines. What am I missing here and how should I do it?

Thank you in advance,

Ruben

Image

TheHappyHexagon
Posts: 12
Joined: Fri Sep 20, 2013 6:16 am

Re: How to align straight lines from shift + f6?

Postby TheHappyHexagon » Thu Sep 26, 2013 4:55 am

Hi,

As for where the two paths meet, perhaps the bounding box of the selection surrounds the entire extents of the group (including stroke width) yet with both vertices coinciding, align ignored stroke width (you will need to nudge by half stroke width). As for the other rectangle, I cannot be sure but perhaps something covers your vertical line.

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: How to align straight lines from shift + f6?

Postby Lazur » Thu Sep 26, 2013 6:41 am

Hi.

You see the visual bounding boxes of the two paths.
It's a bit confusing, because the visual bounding box is based on rounded cap style, while you used butt cap.
If you change to square cap, there would be no "gaps" between the edge of the line and the visual bounding box.
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Attributes-Stroke.html

But you are probably not on the right track on drawing an "L" from two paths.
If you are after a simple "L" shape, one path, with three nodes and two segments in between would be only necerssary.
You can use the pen tool to draw that, with no need of rotating, aligning (and for joining the two paths and removing unnecessary nodes).

Just use the pen tool (Shift+F6),
click on the canvas, hold Ctrl and click somewhere below, then
hold the Ctrl key and click somewhere to the right, then press Enter.

User avatar
Xav
Posts: 1209
Joined: Fri May 08, 2009 1:18 am
Location: UK
Contact:

Re: How to align straight lines from shift + f6?

Postby Xav » Fri Sep 27, 2013 12:28 am

Lazur URH wrote:Just use the pen tool (Shift+F6),
click on the canvas, hold Ctrl and click somewhere below, then
hold the Ctrl key and click somewhere to the right, then press Enter.



Another approach when using the Bézier/Pen tool (Shift-F6) is to use the Mode buttons on the tool control bar to limit the lines to horizontal/vertical (described as "paraxial" in the tooltip on my copy of Inkscape). In practice I prefer to use the CTRL key as Lazur mentioned, but I thought I'd point out the mode option for the sake of completeness.
Co-creator of The Greys and Monsters, Inked - Inkscape drawn webcomics
Web SiteFacebookTwitter

pythonforspss.org
Posts: 7
Joined: Mon Oct 15, 2012 3:20 pm

Re: How to align straight lines from shift + f6?

Postby pythonforspss.org » Fri Sep 27, 2013 3:30 am

You're totally right, I can draw perfect L shapes straight away with the pen tool and CTRL. Stupid of me to overlook that but many thanks for pointing that out!


Return to “Help with using Inkscape”