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

44 lines
2.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Ofsplot (Offset Paths)</name>
<id>fablabchemnitz.de.ofsplot</id>
<param name="unit" type="optiongroup" appearance="combo" gui-text="Unit">
<option value="mm">mm</option>
<option value="cm">cm</option>
<option value="in">in</option>
<option value="pt">pt</option>
<option value="px">px</option>
<option value="pc">pc</option>
</param>
<param name="offset_count" type="int" min="1" max="100000" gui-text="Number of offset paths:">1</param>
<param name="offset" type="float" precision="4" min="-1000" max="+1000" gui-text="Offset between two paths:">1.0000</param>
<param name="init_offset" type="float" precision="4" min="-1000" max="+1000" gui-text="Initial offset from original path:">1.0000</param>
<param name="copy_org" type="bool" gui-text="Copy original path (=keep it)">false</param>
<param name="offset_increase" type="float" precision="4" min="-1000" max="+1000" gui-text="Offset increase per iteration:">0.0000</param>
<param name="miterlimit" type="float" min="0.0" max="1000" gui-text="Miter limit">3.0</param>
<param name="clipperscale" type="float" min="0.0" max="9999.0" gui-text="Scaling factor">1024.0</param>
<param name="jointype" appearance="combo" type="optiongroup" default="2" gui-text="Join type">
<option value="0">Square</option>
<option value="1">Round</option>
<option value="2">Miter</option>
</param>
<param name="endtype" appearance="combo" type="optiongroup" default="3" gui-text="End type">
<option value="0">Closed Polygon</option>
<option value="1">Closed Line</option>
<option value="2">Open Butt</option>
<option value="3">Open Square</option>
<option value="4">Open Round</option>
</param>
<param name="settingsHelp" type="description">Python library pyclipper needs to be installed. Use Flatten Bezier plugin in advance of this plugin.</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="FabLab Chemnitz">
<submenu name="Shape/Pattern from existing Path(s)"/>
</submenu>
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">ofsplot.py</command>
</script>
</inkscape-extension>