Repository navigation
Expand file tree
/
Copy pathpolygen.inx
More file actions
42 lines (41 loc) · 2.47 KB
/
Copy pathpolygen.inx
File metadata and controls
42 lines (41 loc) · 2.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Polygen</name>
<id>org.inkscape.polygen</id>
<param name="usermenu" type="notebook">
<page name="settings" gui-text="Settings">
<param name ="polysides" type="int" min="3" max="360" gui-text="Number of Polygon Sides:">6</param>
<param name="cntroffset" type="float" precision="3" min="-9999.0" max="9999.0" gui-text="Offset from Centerline:">0.0</param>
<param name ="tabangle" type="float" min="0.0" max="90.0" gui-text="Angle of tab edges (degrees):">45.0</param>
<param name="tabheight" type="float" precision="3" min="0.01" max="9999.0" gui-text="Height of tab:">0.4</param>
<param name="dashlength" type="float" precision="3" min="0.0" max="9999.0" gui-text="Length of dashline(zero for solid line):">0.1</param>
<param name="dashcolor" type="string" gui-text="Scoreline color (only when solid):">#00CC00</param>
<param name="linesonwrapper" type="bool" gui-text="Put dashlines on wrappers:">true</param>
<param name="unit" type="optiongroup" appearance="combo" gui-text="Dimensional units of above parameters and the selected paths:">
<option translatable="no" value="in">in</option>
<option translatable="no" value="px">px</option>
<option translatable="no" value="pt">pt</option>
<option translatable="no" value="ft">ft</option>
<option translatable="no" value="yd">yd</option>
<option translatable="no" value="mm">mm</option>
<option translatable="no" value="cm">cm</option>
<option translatable="no" value="m">m</option>
<option translatable="no" value="km">km</option>
</param>
</page>
<page name="_help" gui-text="Help">
<label xml:space="preserve">
Given a profile path and a centerline, creates one side of polygon figure with a wrapper, base, and lid.
Setting Offset from Centerline to a non-zero value will create the two adjacent sides of a rectangular shape. If the Number of Polygon sides is not four, the extension will ignore it.</label>
</page>
</param>
<effect needs-live-preview="false">
<!--object-type>path</object-type-->
<effects-menu>
<submenu name="Papercraft"/>
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">polygen.py</command>
</script>
</inkscape-extension>