This repository has been archived on 2023-03-25. You can view files and clone it, but cannot push or open issues or pull requests.
mightyscape-1.1-deprecated/extensions/fablabchemnitz/round_corners.inx

35 lines
1.2 KiB
Plaintext
Raw Normal View History

2021-01-15 12:09:08 +01:00
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Round Corners</name>
<id>fablabchemnitz.de.round_corners</id>
<param name="radius" type="float" gui-text="Radius: [mm]" precision="2" min="0.001" max="999.99">2.0</param>
2021-04-27 14:38:04 +02:00
<param name="method" type="optiongroup" appearance="radio" gui-text="Corner type:">
<option value="arc">Arc</option>
<option value="line">Line</option>
2021-01-15 12:09:08 +01:00
</param>
2021-04-27 14:38:04 +02:00
<label xml:space="preserve">* Select a path in edit mode.
2021-01-15 12:09:08 +01:00
* Select one or more vertices.
* Start the extension,
- set the radius of the arc.
- Apply
Each selected vertex is replaced by two or more vertices forming
a bezier spline that approximates an arc of the given radius.
When the corner type is set to 'line', the arc is
replaced with a straight cut.
Version: 1.4
</label>
<effect>
<object-type>path</object-type>
<effects-menu>
2021-02-22 21:49:08 +01:00
<submenu name="FabLab Chemnitz">
<submenu name="Legacy Tools"/>
</submenu>
2021-01-15 12:09:08 +01:00
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">round_corners.py</command>
</script>
</inkscape-extension>