[Solved] Triangle (or Polygon) with Rounded Corners?

Discuss the drawing application
Post Reply
2CV67oo
Posts: 55
Joined: Sat Nov 27, 2010 11:12 pm
Location: Alsace

[Solved] Triangle (or Polygon) with Rounded Corners?

Post by 2CV67oo »

Hi Guys!

Not a priority item, just wondering...

Draw has Basic Shapes including Rectangles & Squares with rounded corners.

Yesterday, I happened to want to draw a triangle with rounded corners, but did not manage to find any way of doing that, even after quite a bit of searching.

Is there any way of drawing triangles, or other polygons, with adjustable rounded corners?

Thanks!
Last edited by Hagar Delest on Mon Mar 07, 2011 10:31 pm, edited 1 time in total.
Reason: tagged [Solved].
LibreOffice4.4.2.2 on Ubuntu 15.04.1 & LibreOffice ??? on W8.1 & LibreOffice 3.3.4 on Win7
User avatar
keme
Volunteer
Posts: 3777
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway

Re: Triangle (or Polygon) with Rounded Corners?

Post by keme »

Rounded corners only available for rectangles, I believe.

Inkscape has an option for "rounded polygons", but with that, the entire sides are rounded (no straight line segment), with sharper curve at "corners" and only a slight bend for the sides. See this tutorial
Apache OO 4.1.12 and LibreOffice 7.5, mostly on Ms Windows 10
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Triangle (or Polygon) with Rounded Corners?

Post by acknak »

Here are some that I made; I just scale and tweak these as needed. The rounded corners are just Bezier curves; I adjust them by eye, so it's not a perfect result, but often "good enough".

I made the first one, very tediously, with circles for the corners, but I haven't come up with a simple construction for doing that with differently-sized circles.
Attachments
rounded_triangles.odg
(11.6 KiB) Downloaded 1598 times
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Triangle (or Polygon) with Rounded Corners?

Post by acknak »

PS: Ok, I had an idea of how to make it relatively easy to make precise rounded triangles--not as nice as the rounded rectangles, of course, where you can simply dial in the amount of curvature, but still possible in under a minute ;-)

This uses Draw's ability to snap lines to each other's endpoints--once you have positioned some lines exactly, you can use the ends as guide points. With guide points for the corner arcs, you can connect the arcs to form a closed, triangular shape.
Attachments
rounded_triangle_construct.odg
(14.73 KiB) Downloaded 1350 times
AOO4/LO5 • Linux • Fedora 23
2CV67oo
Posts: 55
Joined: Sat Nov 27, 2010 11:12 pm
Location: Alsace

Re: Triangle (or Polygon) with Rounded Corners?

Post by 2CV67oo »

Thanks, Acknak, for that idea & for the detailed explanation!

I learned some useful stuff there, including "connect" & "close curve"... :oops:

Much appreciated!
LibreOffice4.4.2.2 on Ubuntu 15.04.1 & LibreOffice ??? on W8.1 & LibreOffice 3.3.4 on Win7
Post Reply