Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In Inkscape, rounding the corners of a rectangle is easy - you select the object, press F4 (rectangle tool), and drag the circular nodes.

How do you do that for more complex shapes?

polygon, and its rounded equivalent

"Dynamic offset" is nearly the right thing, but it doesn't round the insides of a concave polygon.

share|improve this question

4 Answers 4

up vote 3 down vote accepted

This seems to be a weak point with Inkscape, to not have a simple way to do this. The best way to deal with this I've found so far is:

  1. Make several rounded-corner rectangles, using the desired final corner radius
  2. Butt them up against each other to make the overall final shape, not minding the spots where corners don't meet due to roundness,
  3. Path-union them into one path
  4. Fix the extraneous notches by deleting their nodes.

Luckily someone has described this technique online, with illlustrations (scroll down a bit) http://www.inkscapeforum.com/viewtopic.php?f=5&t=880

I hope there's a path-editing tool that can just convert a path the way you (and fifty thousand other Inkscape users) want, somewhere out there. If not, this would make a great weekend coding project.

share|improve this answer

Another makeshift solution with issues, but which also works for non-rectangular shapes:

  1. Apply Dynamic Offset to your object.
  2. Convert Object to Path.
  3. Add Nodes (under Extensions → Modify Path). This is optional but will most probably improve your results drastically. The more the merrier.
  4. Apply a dynamical inset (i.e., negative Dynamical Offset) to your object.
  5. If desired, convert Object to Path once more and Simplify.
share|improve this answer
    
see also inkscape.org/doc/advanced/tutorial-advanced.html -- inset / offset are ctrl+( and ctrl+), dynamic offset is ctrl+J to add a draggable handle –  Jason S Dec 2 at 16:10
  1. Select the rectangle or square
  2. Select the nodes option
  3. On the right hand corner, you will see a round node instead of a square node. Drag down the node until you get the rounded corner you want.
share|improve this answer

Since there is no clean solution, let's mention another one, using GIMP!

1- Make a copy of only this object in another Inkscape instance (in case you have other objects)

2- Export to bitmap (a png file)

3- Open the png with GIMP, select the shape by "Select by Color Tool"

3- Select -> Feather -> by R pixels (the radius)

4- Color the selection and save/export to png again

5- Open the modified png file with Inkscape and use "Trace Bitmap" tool to get a rounded path (since the shape should be single-colored, it's easy and probably clean)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.