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
How to align straight lines from shift + f6?
-
- Posts: 7
- Joined: Mon Oct 15, 2012 3:20 pm
-
- Posts: 12
- Joined: Fri Sep 20, 2013 6:16 am
Re: How to align straight lines from shift + f6?
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.
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.
Re: How to align straight lines from shift + f6?
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.
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.
Re: How to align straight lines from shift + f6?
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.
-
- Posts: 7
- Joined: Mon Oct 15, 2012 3:20 pm
Re: How to align straight lines from shift + f6?
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!