Join two lines at 90 deg with rounded corner.

Post questions on how to use or achieve an effect in Inkscape.
RodSmallwood
Posts: 2
Joined: Thu Dec 10, 2015 10:55 pm

Join two lines at 90 deg with rounded corner.

Postby RodSmallwood » Thu Dec 10, 2015 11:12 pm

It so simple .. just draw two lines at 90 degrees to each other with a rounded corner at the junction.

No I don't want a rectangle
No the arc tool is not the answer it only produces distorted arcs.
I just want to draw one line and then another at 90 degrees to it and the join the two ends with a nice rounded 90deg bend

RS

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

Re: Join two lines at 90 deg with rounded corner.

Postby Xav » Fri Dec 11, 2015 12:26 am

There are a number of ways you could approach this, depending in part on whether you need a specific radius for the join, whether your lines are horizontal/vertical or are at an angle, and so on. Here are the three approaches I would be most likely to take:

1) Draw an oversized rectangle and round the corner. Draw another on top of it, so it's overlapping one corner and two sides. Path > Cut Path, then delete the unneeded section of the rectangle.

2) Draw a rectangle and round the corner. Path > Object to Path. Switch to the node tool and click on the corner you want to keep, to select its two end nodes. Edit > Invert Selection (or press !) to select all the other nodes instead. Click the "Delete Segment between two non-endpoint nodes" button.

3) Draw your horizontal and vertical lines, with a gap between them. Switch to the node tool and select the two end nodes. Click the "Join selected end nodes with a new segment" button. CTRL-SHIFT-click and drag on each of those two nodes, to drag the node handle in a straight line towards the corner. The distance you drag will affect each of the two radii.


The first two approaches can be used to set a specific radius (or radii, if you want them to be different). The third approach is less precise in that respect, but better if you already have the lines in place.

There are more precise solutions, involving circles and tangents, but they're more involved. What I think you really want is a chamfer/bevel tool, but I'm not aware of Inkscape having such a thing, even amongst the standard extensions.
Co-creator of The Greys and Monsters, Inked - Inkscape drawn webcomics
Web SiteFacebookTwitter

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Join two lines at 90 deg with rounded corner.

Postby tylerdurden » Fri Dec 11, 2015 12:33 am

Easy enough to start with a rectangle...

Image
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

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

Re: Join two lines at 90 deg with rounded corner.

Postby Xav » Fri Dec 11, 2015 1:06 am

tylerdurden wrote:Easy enough to start with a rectangle...


Note: td's lovely demonstration is almost the same as my method (2)... except that mine is better ;)

(No, it really is. Where he selects, then "delete segment", then selects, then deletes you can use my approach of click path, then invert (press '!'), then "delete segment" to get to the same result with less effort. He definitely gets bonus points for the animation though.)
Co-creator of The Greys and Monsters, Inked - Inkscape drawn webcomics
Web SiteFacebookTwitter

RodSmallwood
Posts: 2
Joined: Thu Dec 10, 2015 10:55 pm

Re: Join two lines at 90 deg with rounded corner.

Postby RodSmallwood » Tue Dec 15, 2015 7:03 pm

Well that's most kind of you both.
The animated answer really did blow me away.
Is it possible to halt it or step through it?

The answers won't disappear will they?
Senior memories need a more frequent refresh cycle.

I started out in computers in 1965 with paper tape and punched cards
I am a retired IT guy who collects and restores old DEC PDP computers.
I have to remake many damaged front panels.

They are silk screened Perspex in a variety of colours.
No prizes for guessing what I use the Inkscape for!!

Rod Smallwood


Return to “Help with using Inkscape”