92 lines
6.4 KiB
XML
92 lines
6.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
|
<name>Origami Pattern - Kresling tower</name>
|
|
<id>fablabchemnitz.de.origami_patterns.kresling_full</id>
|
|
<param name='active-tab' type="notebook">
|
|
<page name="title" gui-text="Options">
|
|
<param name="pattern" type="optiongroup" appearance="combo" gui-text="Type of Kresling tower">
|
|
<option value="regular">Regular</option>
|
|
<option value="mirrowed">Mirror odd cells</option>
|
|
</param>
|
|
<param name="help" type="description" xml:space="preserve">------------------------------------------------------------</param>
|
|
<param name="lines" type="int" min="1" max="100" gui-text="Number of cells">3</param>
|
|
<param name="sides" type="int" min="3" max="100" gui-text="Number of polygon sides">6</param>
|
|
<param name="help" type="description" xml:space="preserve">------------------------------------------------------------</param>
|
|
<param name="measure_value" type="float" max="10000" precision="3" gui-text="Measure value:">10.0</param>
|
|
<param name="measure_type" type="optiongroup" appearance="combo" gui-text="Measure type:">
|
|
<option value="a">Polygon side (a)</option>
|
|
<option value="b">Vertical mountain crease (b)</option>
|
|
<option value="l">Diagonal valley crease (l)</option>
|
|
<option value="radius_external">External radius</option>
|
|
<option value="radius_internal">Internal radius (totally closed)</option>
|
|
<option value="diameter_external">External diameter</option>
|
|
<option value="diameter_internal">Internal diameter (totally closed)</option>
|
|
<!--
|
|
<option value="a_l_angle">Angle between valley crease and horizontal polygon side</option>
|
|
-->
|
|
</param>
|
|
<param name="units" type="optiongroup" appearance="combo" gui-text=" ">
|
|
<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></param>
|
|
<param name="help" type="description" xml:space="preserve">------------------------------------------------------------</param>
|
|
<param name="parameter_type" type="optiongroup" appearance="combo" gui-text="Parameter type:">
|
|
<option value="angle_ratio">Angle ratio (lambda)</option>
|
|
<option value="radial_ratio">Radial ratio</option>
|
|
<option value="lambdatheta">Angle between a and l (lambda * theta)</option></param>
|
|
<param name="radial_ratio" type="float" min="0" max="0.7" precision="3" gui-text="Radial ratio:">0.5</param>
|
|
<param name="angle_ratio" type="float" min="0.5" max="1" precision="3" gui-text="Angle ratio:">0.5</param>
|
|
<param name="lambdatheta" type="float" min="15" max="90" precision="2" gui-text="Angle between a and l">60.0</param>
|
|
<!-- <option value="angle">Angle between l and a</option>-->
|
|
</page>
|
|
<page name="extraoptions" gui-text="Extra Options">
|
|
<param name="add_attachment" type="bool" gui-text="Add one more facet to close tower?">false</param>
|
|
<param name="attachment_percentage" type="float" min="0" max="100" precision="1" appearance="full" gui-text="Length percentage of extra facet">100</param>
|
|
<param name="help" type="description" xml:space="preserve">------------------------------------------------------------</param>
|
|
</page>
|
|
<page name="mountains" gui-text="Mountain creases">
|
|
<param name="mountain_bool" type="bool" gui-text="Draw mountains?">true</param>
|
|
<param name="mountain_dashes_bool" type="bool" gui-text="Dashed strokes?">true</param>
|
|
<param name="mountain_dashes_len" type="float" min="0.1" max="10" appearance="full" precision="2" gui-text="Mountain dash + gap length">1</param>
|
|
<param name="mountain_dashes_duty" type="float" min="0.1" max="1" appearance="full" precision="2" gui-text="Mountain dash duty cycle">0.5</param>
|
|
<param name="mountain_stroke_width" type="float" min="0.01" max="3" appearance="full" gui-text="Width of mountain strokes">0.1</param>
|
|
<param name="mountain_stroke_color" type="color" gui-text="Mountain creases color: ">4278190335</param>
|
|
</page>
|
|
<page name="valleys" gui-text="Valley creases">
|
|
<param name="valley_bool" type="bool" gui-text="Draw valley?">true</param>
|
|
<param name="valley_dashes_bool" type="bool" gui-text="Dashed strokes?">true</param>
|
|
<param name="valley_dashes_len" type="float" min="0.1" max="10" appearance="full" precision="2" gui-text="Valley dash + gap length">1</param>
|
|
<param name="valley_dashes_duty" type="float" min="0.1" max="1" appearance="full" precision="2" gui-text="Valley dash duty cycle">0.25</param>
|
|
<param name="valley_stroke_width" type="float" min="0.01" max="3" appearance="full" gui-text="Width of valley strokes">0.1</param>
|
|
<param name="valley_stroke_color" type="color" gui-text="Valley creases color: ">65535</param>
|
|
</page>
|
|
<page name="edge" gui-text="Edge">
|
|
<param name="edge_bool" type="bool" gui-text="Draw edges?">true</param>
|
|
<param name="edge_single_path" type="bool" gui-text="Edges as single path?">true</param>
|
|
<param name="edge_dashes_bool" type="bool" gui-text="Dashed strokes?">false</param>
|
|
<param name="edge_dashes_len" type="float" min="0.1" max="10" appearance="full" precision="2" gui-text="Edge dash + gap length">1</param>
|
|
<param name="edge_dashes_duty" type="float" min="0.1" max="1" appearance="full" precision="2" gui-text="Edge dash duty cycle">0.25</param>
|
|
<param name="edge_stroke_width" type="float" min="0.01" max="3" appearance="full" gui-text="Width of edge strokes">0.1</param>
|
|
<param name="edge_stroke_color" type="color" gui-text="Edge color: ">255</param>
|
|
</page>
|
|
<page name="vertices" gui-text="Vertices">
|
|
<param name="vertex_bool" type="bool" gui-text="Draw vertices?">false</param>
|
|
<param name="vertex_radius" type="float" min="0.01" max="50" appearance="full" gui-text="Radius of vertices">0.1</param>
|
|
<param name="vertex_stroke_width" type="float" min="0.01" max="3" appearance="full" gui-text="Width of vertex strokes">0.1</param>
|
|
<param name="vertex_stroke_color" type="color" gui-text="Vertices\' color: ">255</param>
|
|
</page>
|
|
</param>
|
|
<effect>
|
|
<object-type>all</object-type>
|
|
<effects-menu>
|
|
<submenu name="FabLab Chemnitz">
|
|
<submenu name="Paper/Cardboard Boxes"/>
|
|
</submenu>
|
|
</effects-menu>
|
|
</effect>
|
|
<script>
|
|
<command location="inx" interpreter="python">OrigamiPatterns/Kresling_full.py</command>
|
|
</script>
|
|
</inkscape-extension> |