檔案圖示
 
 

5689

 

13

Rounded Corners

作者 crowhoot

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

大小
5.5 KB
建立時間
修訂
3
類型
application/zip
MIT License (MIT)

連結

brynn 寫於

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

crowhoot 寫於

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 寫於

it does not work .....

crowhoot 寫於

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 寫於

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 寫於

nice plugin good job

crowhoot 寫於

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 寫於

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

Victor Westmann 寫於

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 寫於

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 寫於

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 寫於

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)

登入以留下評註!