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/split_bezier/split_bezier.inx

35 lines
1.8 KiB
Plaintext
Raw Normal View History

2020-07-30 01:16:18 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
2020-08-07 20:19:46 +02:00
<name>Split Bezier (Subdivide Path)</name>
2020-07-30 01:16:18 +02:00
<id>fablabchemnitz.de.split_bezier</id>
<param name="tab" type="notebook">
2020-08-07 20:19:46 +02:00
<page name="subdividePath" gui-text="Subdivide Path">
<param name="maxLength" type="float" min="0.001" max="99999" gui-text="Max Length / Subdiv Count:">10</param>
2021-04-27 14:38:04 +02:00
<param name="unit" type="optiongroup" appearance="combo" gui-text="Unit:">
2020-08-07 20:19:46 +02:00
<option value="px">px</option>
<option value="pt">pt</option>
<option value="in">in</option>
<option value="mm">mm</option>
<option value="cm">cm</option>
<option value="perc">%</option>
<option value="count">Subdivision Count</option>
2020-07-30 01:16:18 +02:00
</param>
2021-04-27 14:38:04 +02:00
<param name="precision" type="int" min="1" max="10" gui-text="Precision (max. 5):">5</param>
<param name="separateSegs" type="bool" gui-text="Break Apart">true</param>
2020-07-30 01:16:18 +02:00
</page>
2020-08-07 20:19:46 +02:00
<page name="desc" gui-text="Help">
2021-04-27 14:38:04 +02:00
<label xml:space="preserve">This effect subdivides the bezier path into individual segments based on the maximum length or the subdivision count provided. Precision field denotes the number of significant digits, to which the length is rounded.</label>
2020-07-30 01:16:18 +02:00
</page>
</param>
<effect needs-live-preview="true">
<object-type>path</object-type>
<effects-menu>
2020-08-07 20:19:46 +02:00
<submenu name="FabLab Chemnitz">
<submenu name="Legacy Tools"/>
2020-07-30 01:16:18 +02:00
</submenu>
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">split_bezier.py</command>
2020-07-30 01:16:18 +02:00
</script>
</inkscape-extension>