35 lines
1.2 KiB
XML
35 lines
1.2 KiB
XML
<?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>
|
|
<param name="method" type="optiongroup" appearance="radio" gui-text="Corner type:">
|
|
<option value="arc">Arc</option>
|
|
<option value="line">Line</option>
|
|
</param>
|
|
<label xml:space="preserve">* Select a path in edit mode.
|
|
* 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>
|
|
<submenu name="FabLab Chemnitz">
|
|
<submenu name="Legacy Tools"/>
|
|
</submenu>
|
|
</effects-menu>
|
|
</effect>
|
|
<script>
|
|
<command location="inx" interpreter="python">round_corners.py</command>
|
|
</script>
|
|
</inkscape-extension> |