File Icon
 
 

5604

 

13

Rounded Corners

Rounded Corners Version 1.3 by Chris Hawley

This effect is designed to round off the corners on shapes made with the pencil tool. It will round off corners made of straight edges, while ignoring bezier lines. Corners that are too short for the desired radius will also be ignored. It does not work on Inkscape objects like the rectangle or star -
the user must convert objects to paths before using this extension.

Installation and usage instructions are at
https://github.com/hawley577/Inkscape-Rounded-Corners/wiki

Download the latest version on github:
https://github.com/hawley577/Inkscape-Rounded-Corners

Problematic or Old Extensions

Size
5.5 KB
Created
Revisions
3
Type
application/zip
MIT License (MIT)

Link

brynn wrote :

We already have this extension: https://inkscape.org/~taoari/%E2%98%85inkscape-fillet-and-chamfer I'm curious how yours is different?

crowhoot wrote :

I didn't realize that extension existed before I created the Rounded Corners extension.

Fillet and Chamfer appears to work on curved segments with corner points as well as straight segments, where Rounded Corners only works with straight segments.

Rounded corners gives you the option to choose units in inches, cm, points etc. where Fillet and Chamfer appears to only support pixels.

Rafik Alhaji wrote :

it does not work .....

crowhoot wrote :

Can you give more detail on your issue?
Have you installed the inkscape made easy extension? follow the instructions at https://github.com/hawley577/Inkscape-Rounded-Corners/wiki. Can you see the Rounded Corners extension in the menu? If so, do you have a shape with only straight lines and no curves selected?

brynn wrote :

Oh I see. I wonder if it would be possible for them to be combined? It sounds like they both have unique features, and combining them would make an even better extension.

I should say that I'm not a programmer, and have no idea what kind of problem I might be suggesting. Maybe one programmer using another programmer's code is a problem? Or maybe there is a license conflict?

Anyway, just a thought :-)

Adam Belis wrote :

nice plugin good job

crowhoot wrote :

brynn, I left out handling curved paths because I couldn't come up with a way to make the added cueves be exact arcs with exactly the user defined radius. I want the users of this plugin to be certain any rounded corners will be precise and not just a visually close approximation.

I looked into using inkscape's built-in inset and outset functions to achieve that, but those functions have bugs.

But my code is completely free to use for any purpose. If someone else wants to use it in another plugin they are welcome to it.

meetdilip wrote :

Works fine for me. Will it be possible to handle the corners individually ?

Victor Westmann wrote :

I think this functionality is just so useful we should have it inside of the Inkscape application. I saw something similar in Affinity (Serif) Design. Version 1.7 I guess.

brynn wrote :

Hello,
Thank you for providing this extension for Inkscape users!

This is just to let you know that most 3rd party Inkscape extensions, like this one, probably will not work with the upcoming new Inkscape version, the long-awaited version 1.0.

Here is the info you need to update this extension, so that it will work with 1.0 and future versions.
https://wiki.inkscape.org/wiki/index.php?title=Updating_your_Extension_for_1.0

If you have further questions, you can contact Inkscape developers via mailing lists (https://lists.inkscape.org/postorius/lists/?all-lists), forum (https://inkscape.org/forums/extensions/), or the chatroom (https://chat.inkscape.org/channel/team_devel)

If you have already updated it, please disregard this message.

All best,
brynn

meetdilip wrote :

It is not working now. Giving this error all time
--

Traceback (most recent call last):
File "RoundedCorners.py", line 204, in
import inkex
ImportError: No module named inkex

--

Jürgen Weigert wrote :

Here is a new solution for this topic. https://github.com/jnweiger/inkscape-round-corners
I named it "Round Corners" before I saw yours (sorry for that).

Features:

* Chamfer
* Fillet
* works on all nodes or on a selected set of nodes.
* works nicely also with curved path segments
* written for 1.0.1 (but comes with a backport to 0.92)

(shamelessly reinventing that wheel -- but that was a fun exercise to learn the new inkex API)

Please log in to leave a comment!