Updated Origami inx
This commit is contained in:
parent
c1d65c9bab
commit
f7af18f5e2
@ -1,19 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<_name>Origami Pattern - Kresling tower</_name>
|
||||
<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" _gui-text="Type of Kresling tower" >
|
||||
<_option value="regular">Regular</_option>
|
||||
<_option value="mirrowed">Mirror odd cells</_option>
|
||||
<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="minimal" _gui-text="Measure type:">
|
||||
<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>
|
||||
@ -25,68 +25,68 @@
|
||||
<option value="a_l_angle">Angle between valley crease and horizontal polygon side</option>
|
||||
-->
|
||||
</param>
|
||||
<param name="units" type="optiongroup" appearance="minimal" _gui-text="">
|
||||
<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="full" _gui-text="Parameter type:">
|
||||
<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>
|
||||
<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="extra_options" _gui-text="Extra Options">
|
||||
<param name="add_attachment" type="boolean" _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 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="boolean" _gui-text="Draw mountains?">true</param>
|
||||
<param name="mountain_dashes_bool" type="boolean" _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>
|
||||
<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="boolean" _gui-text="Draw valley?">true</param>
|
||||
<param name="valley_dashes_bool" type="boolean" _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>
|
||||
<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="boolean" _gui-text="Draw edges?">true</param>
|
||||
<param name="edge_single_path" type="boolean" _gui-text="Edges as single path?">true</param>
|
||||
<param name="edge_dashes_bool" type="boolean" _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>
|
||||
<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="boolean" _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>
|
||||
<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 name="FabLab Chemnitz">
|
||||
<submenu name="Paper/Cardboard Boxes"/>
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
</effect>
|
||||
<script>
|
||||
<command reldir="extensions" interpreter="python">OrigamiPatterns/Kresling_full.py</command>
|
||||
<command location="inx" interpreter="python">OrigamiPatterns/Kresling_full.py</command>
|
||||
</script>
|
||||
</inkscape-extension>
|
@ -1,54 +1,54 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<_name>Origami Pattern - Circular</_name>
|
||||
<name>Origami Pattern - Circular</name>
|
||||
<id>fablabchemnitz.de.origami_patterns.pleat_circular</id>
|
||||
<param name='active-tab' type="notebook">
|
||||
<page name="title" _gui-text="Options">
|
||||
<param name="radius" type="float" max="10000" precision="3" _gui-text="Radius of circle">55.0</param>
|
||||
<param name="units" type="optiongroup" appearance="minimal" _gui-text="">
|
||||
<page name="title" gui-text="Options">
|
||||
<param name="radius" type="float" max="10000" precision="3" gui-text="Radius of circle">55.0</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="ratio" type="float" min="0" max="1" precision="3" _gui-text="Opening ratio">0.4</param>
|
||||
<param name="rings" type="int" min="3" max="100" _gui-text="Number of rings">15</param>
|
||||
<_param name="help" type="description" xml:space="preserve">------------------------------</_param>
|
||||
<param name="simulation_mode" type="boolean" _gui-text="Simulation mode">true</param>
|
||||
<_param name="help" type="description" xml:space="preserve">To simulate with OrigamiSimulator, semicreases (or facet creases) must be added to properly simulate paper, and the circles must be approximated as polygons.</_param>
|
||||
<param name="sides" type="int" min="10" max="100" _gui-text="Number of sides for polygon approximating half circle">20</param>
|
||||
<param name="ratio" type="float" min="0" max="1" precision="3" gui-text="Opening ratio">0.4</param>
|
||||
<param name="rings" type="int" min="3" max="100" gui-text="Number of rings">15</param>
|
||||
<param name="help" type="description" xml:space="preserve">------------------------------</param>
|
||||
<param name="simulation_mode" type="bool" gui-text="Simulation mode">true</param>
|
||||
<param name="help" type="description" xml:space="preserve">To simulate with OrigamiSimulator, semicreases (or facet creases) must be added to properly simulate paper, and the circles must be approximated as polygons.</param>
|
||||
<param name="sides" type="int" min="10" max="100" gui-text="Number of sides for polygon approximating half circle">20</param>
|
||||
</page>
|
||||
<page name="mountains" _gui-text="Mountain creases">
|
||||
<param name="mountain_bool" type="boolean" _gui-text="Draw mountains?">true</param>
|
||||
<param name="mountain_dashes_bool" type="boolean" _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>
|
||||
<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="boolean" _gui-text="Draw valley?">true</param>
|
||||
<param name="valley_dashes_bool" type="boolean" _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>
|
||||
<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="boolean" _gui-text="Draw edges?">true</param>
|
||||
<param name="edge_single_path" type="boolean" _gui-text="Edges as single path?">true</param>
|
||||
<param name="edge_dashes_bool" type="boolean" _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>
|
||||
<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="semicrease" _gui-text="Semicreases">
|
||||
<param name="semicrease_bool" type="boolean" _gui-text="Draw semicreases?">true</param>
|
||||
<param name="semicrease_dashes_bool" type="boolean" _gui-text="Dashed strokes?">false</param>
|
||||
<param name="semicrease_dashes_len" type="float" min="0.1" max="10" appearance="full" precision="2" _gui-text="Semicrease dash + gap length">1</param>
|
||||
<param name="semicrease_dashes_duty" type="float" min="0.1" max="1" appearance="full" precision="2" _gui-text="Semicrease dash duty cycle">0.25</param>
|
||||
<param name="semicrease_stroke_width" type="float" min="0.01" max="3" appearance="full" _gui-text="Width of semicrease strokes">0.1</param>
|
||||
<page name="semicrease" gui-text="Semicreases">
|
||||
<param name="semicrease_bool" type="bool" gui-text="Draw semicreases?">true</param>
|
||||
<param name="semicrease_dashes_bool" type="bool" gui-text="Dashed strokes?">false</param>
|
||||
<param name="semicrease_dashes_len" type="float" min="0.1" max="10" appearance="full" precision="2" gui-text="Semicrease dash + gap length">1</param>
|
||||
<param name="semicrease_dashes_duty" type="float" min="0.1" max="1" appearance="full" precision="2" gui-text="Semicrease dash duty cycle">0.25</param>
|
||||
<param name="semicrease_stroke_width" type="float" min="0.01" max="3" appearance="full" gui-text="Width of semicrease strokes">0.1</param>
|
||||
<param name="semicrease_stroke_color" type="color" gui-text="Semicreases color: ">4294902015</param>
|
||||
</page>
|
||||
|
||||
@ -56,12 +56,12 @@
|
||||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu _name="FabLab Chemnitz">
|
||||
<submenu _name="Paper/Cardboard Boxes"/>
|
||||
<submenu name="FabLab Chemnitz">
|
||||
<submenu name="Paper/Cardboard Boxes"/>
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
</effect>
|
||||
<script>
|
||||
<command reldir="extensions" interpreter="python">OrigamiPatterns/Pleat_Circular.py</command>
|
||||
<command location="inx" interpreter="python">OrigamiPatterns/Pleat_Circular.py</command>
|
||||
</script>
|
||||
</inkscape-extension>
|
@ -1,78 +1,78 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<_name>Origami Pattern - N-sided Hypar</_name>
|
||||
<name>Origami Pattern - N-sided Hypar</name>
|
||||
<id>fablabchemnitz.de.origami_patterns.pleat_hypar</id>
|
||||
<param name='active-tab' type="notebook">
|
||||
<page name="title" _gui-text="Options">
|
||||
<param name="pattern" type="optiongroup" _gui-text="Type of Hypar" >
|
||||
<_option value="classic">Classic Hypar</_option>
|
||||
<_option value="asymmetric">Asymmetric triangulation</_option>
|
||||
<_option value="alternate_asymmetric">Alternating asymmetric triangulation</_option>
|
||||
<page name="title" gui-text="Options">
|
||||
<param name="pattern" type="optiongroup" appearance="combo" gui-text="Type of Hypar">
|
||||
<option value="classic">Classic Hypar</option>
|
||||
<option value="asymmetric">Asymmetric triangulation</option>
|
||||
<option value="alternate_asymmetric">Alternating asymmetric triangulation</option>
|
||||
</param>
|
||||
<param name="radius" type="float" max="10000" precision="3" _gui-text="Radius of polygon">100.0</param>
|
||||
<param name="units" type="optiongroup" appearance="minimal" _gui-text="">
|
||||
<param name="radius" type="float" max="10000" precision="3" gui-text="Radius of polygon">100.0</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="sides" type="int" min="3" max="100" _gui-text="Number of polygon sides">4</param>
|
||||
<param name="rings" type="int" min="1" max="100" _gui-text="Number of rings">7</param>
|
||||
<param name="simplify_center" type="boolean" _gui-text="Simplify center (probably not suited for odd number of sides)">false</param>
|
||||
<_param name="help" type="description" xml:space="preserve">Implements Hypar (classical hyperbolic paraboloid approximate).

Classic Hypar is the easiest one to fold. However, it's not rigid foldable. More information in:
Demaine, E. D., Demaine, M. L., Hart, V., Price, G. N., & Tachi, T. (2011). (Non)Existence of Pleated Folds: How Paper Folds Between Creases. Graphs and Combinatorics, 27(3), 377–397. https://doi.org/10.1007/s00373-011-1025-2</_param>
|
||||
<option value="px">px</option>
|
||||
</param>
|
||||
<param name="sides" type="int" min="3" max="100" gui-text="Number of polygon sides">4</param>
|
||||
<param name="rings" type="int" min="1" max="100" gui-text="Number of rings">7</param>
|
||||
<param name="simplify_center" type="bool" gui-text="Simplify center (probably not suited for odd number of sides)">false</param>
|
||||
<param name="help" type="description" xml:space="preserve">Implements Hypar (classical hyperbolic paraboloid approximate). Classic Hypar is the easiest one to fold. However, it's not rigid foldable. More information in: Demaine, E. D., Demaine, M. L., Hart, V., Price, G. N. and Tachi, T. (2011). (Non)Existence of Pleated Folds: How Paper Folds Between Creases. Graphs and Combinatorics, 27(3), 377–397. https://doi.org/10.1007/s00373-011-1025-2</param>
|
||||
|
||||
</page>
|
||||
<page name="mountains" _gui-text="Mountain creases">
|
||||
<param name="mountain_bool" type="boolean" _gui-text="Draw mountains?">true</param>
|
||||
<param name="mountain_dashes_bool" type="boolean" _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>
|
||||
<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="boolean" _gui-text="Draw valley?">true</param>
|
||||
<param name="valley_dashes_bool" type="boolean" _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>
|
||||
<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="universal" _gui-text="Universal creases">
|
||||
<param name="universal_bool" type="boolean" _gui-text="Draw universal creases?">true</param>
|
||||
<param name="universal_dashes_bool" type="boolean" _gui-text="Dashed strokes?">false</param>
|
||||
<param name="universal_dashes_len" type="float" min="0.1" max="10" appearance="full" precision="2" _gui-text="Universal dash + gap length">1</param>
|
||||
<param name="universal_dashes_duty" type="float" min="0.1" max="1" appearance="full" precision="2" _gui-text="Universal dash duty cycle">0.25</param>
|
||||
<param name="universal_stroke_width" type="float" min="0.01" max="3" appearance="full" _gui-text="Width of universal strokes">0.1</param>
|
||||
<page name="universal" gui-text="Universal creases">
|
||||
<param name="universal_bool" type="bool" gui-text="Draw universal creases?">true</param>
|
||||
<param name="universal_dashes_bool" type="bool" gui-text="Dashed strokes?">false</param>
|
||||
<param name="universal_dashes_len" type="float" min="0.1" max="10" appearance="full" precision="2" gui-text="Universal dash + gap length">1</param>
|
||||
<param name="universal_dashes_duty" type="float" min="0.1" max="1" appearance="full" precision="2" gui-text="Universal dash duty cycle">0.25</param>
|
||||
<param name="universal_stroke_width" type="float" min="0.01" max="3" appearance="full" gui-text="Width of universal strokes">0.1</param>
|
||||
<param name="universal_stroke_color" type="color" gui-text="Universal creases color: ">4278255615</param>
|
||||
</page>
|
||||
<page name="edge" _gui-text="Edge">
|
||||
<param name="edge_bool" type="boolean" _gui-text="Draw edges?">true</param>
|
||||
<param name="edge_single_path" type="boolean" _gui-text="Edges as single path?">true</param>
|
||||
<param name="edge_dashes_bool" type="boolean" _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>
|
||||
<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="boolean" _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>
|
||||
<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 name="FabLab Chemnitz">
|
||||
<submenu name="Paper/Cardboard Boxes"/>
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
</effect>
|
||||
<script>
|
||||
<command reldir="extensions" interpreter="python">OrigamiPatterns/Hypar.py</command>
|
||||
<command location="inx" interpreter="python">OrigamiPatterns/Hypar.py</command>
|
||||
</script>
|
||||
|
||||
</inkscape-extension>
|
@ -1,90 +1,90 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<_name>Origami Pattern - Template effect</_name>
|
||||
<name>Origami Pattern - Template effect</name>
|
||||
<id>fablabchemnitz.de.origami_patterns.template</id>
|
||||
<param name='active-tab' type="notebook">
|
||||
<page name="title" _gui-text="Options">
|
||||
<param name="pattern" type="optiongroup" _gui-text="Type of template" >
|
||||
<_option value="template1">Template pattern 1</_option>
|
||||
<_option value="template2">Template pattern 2</_option>
|
||||
<page name="title" gui-text="Options">
|
||||
<param name="pattern" type="optiongroup" appearance="combo" gui-text="Type of template">
|
||||
<option value="template1">Template pattern 1</option>
|
||||
<option value="template2">Template pattern 2</option>
|
||||
</param>
|
||||
<param name="length" type="float" max="10000" precision="3" _gui-text="Length of grid square">10.0</param>
|
||||
<param name="units" type="optiongroup" appearance="minimal" _gui-text="">
|
||||
<param name="length" type="float" max="10000" precision="3" gui-text="Length of grid square">10.0</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="theta" type="int" min="0" max="360" _gui-text="Rotation angle (degree)">0</param>
|
||||
<_param name="help" type="description" xml:space="preserve">The .inx file defines the bridge between Inkscape's interface and the python script.</_param>
|
||||
<param name="theta" type="int" min="0" max="360" gui-text="Rotation angle (degree)">0</param>
|
||||
<param name="help" type="description" xml:space="preserve">The .inx file defines the bridge between Inkscape's interface and the python script.</param>
|
||||
|
||||
</page>
|
||||
<page name="mountains" _gui-text="Mountain creases">
|
||||
<param name="mountain_bool" type="boolean" _gui-text="Draw mountains?">true</param>
|
||||
<param name="mountain_dashes_bool" type="boolean" _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>
|
||||
<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="boolean" _gui-text="Draw valley?">true</param>
|
||||
<param name="valley_dashes_bool" type="boolean" _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>
|
||||
<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="boolean" _gui-text="Draw edges?">true</param>
|
||||
<param name="edge_single_path" type="boolean" _gui-text="Edges as single path?">true</param>
|
||||
<param name="edge_dashes_bool" type="boolean" _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>
|
||||
<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="boolean" _gui-text="Draw vertices?">true</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>
|
||||
<page name="vertices" gui-text="Vertices">
|
||||
<param name="vertex_bool" type="bool" gui-text="Draw vertices?">true</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>
|
||||
<!-- UNCOMMENT UNIVERSAL CREASES, CUTS AND/OR SEMICREASES IF NEEDED-->
|
||||
<!-- <page name="universal" _gui-text="Universal creases">-->
|
||||
<!-- <param name="universal_bool" type="boolean" _gui-text="Draw universal creases?">true</param>-->
|
||||
<!-- <param name="universal_dashes_bool" type="boolean" _gui-text="Dashed strokes?">false</param>-->
|
||||
<!-- <param name="universal_dashes_len" type="float" min="0.1" max="10" appearance="full" precision="2" _gui-text="Universal dash + gap length">1</param>-->
|
||||
<!-- <param name="universal_dashes_duty" type="float" min="0.1" max="1" appearance="full" precision="2" _gui-text="Universal dash duty cycle">0.25</param>-->
|
||||
<!-- <param name="universal_stroke_width" type="float" min="0.01" max="3" appearance="full" _gui-text="Width of universal strokes">0.1</param> -->
|
||||
<!-- <page name="universal" gui-text="Universal creases">-->
|
||||
<!-- <param name="universal_bool" type="bool" gui-text="Draw universal creases?">true</param>-->
|
||||
<!-- <param name="universal_dashes_bool" type="bool" gui-text="Dashed strokes?">false</param>-->
|
||||
<!-- <param name="universal_dashes_len" type="float" min="0.1" max="10" appearance="full" precision="2" gui-text="Universal dash + gap length">1</param>-->
|
||||
<!-- <param name="universal_dashes_duty" type="float" min="0.1" max="1" appearance="full" precision="2" gui-text="Universal dash duty cycle">0.25</param>-->
|
||||
<!-- <param name="universal_stroke_width" type="float" min="0.01" max="3" appearance="full" gui-text="Width of universal strokes">0.1</param> -->
|
||||
<!-- <param name="universal_stroke_color" type="color" gui-text="Universal creases color: ">4278255615</param>-->
|
||||
<!-- </page>-->
|
||||
<!-- <page name="semicrease" _gui-text="Semicreases">-->
|
||||
<!-- <param name="semicrease_bool" type="boolean" _gui-text="Draw semicreases?">true</param>-->
|
||||
<!-- <param name="semicrease_dashes_bool" type="boolean" _gui-text="Dashed strokes?">false</param>-->
|
||||
<!-- <param name="semicrease_dashes_len" type="float" min="0.1" max="10" appearance="full" precision="2" _gui-text="Semicrease dash + gap length">1</param>-->
|
||||
<!-- <param name="semicrease_dashes_duty" type="float" min="0.1" max="1" appearance="full" precision="2" _gui-text="Semicrease dash duty cycle">0.25</param>-->
|
||||
<!-- <param name="semicrease_stroke_width" type="float" min="0.01" max="3" appearance="full" _gui-text="Width of semicrease strokes">0.1</param>-->
|
||||
<!-- <page name="semicrease" gui-text="Semicreases">-->
|
||||
<!-- <param name="semicrease_bool" type="bool" gui-text="Draw semicreases?">true</param>-->
|
||||
<!-- <param name="semicrease_dashes_bool" type="bool" gui-text="Dashed strokes?">false</param>-->
|
||||
<!-- <param name="semicrease_dashes_len" type="float" min="0.1" max="10" appearance="full" precision="2" gui-text="Semicrease dash + gap length">1</param>-->
|
||||
<!-- <param name="semicrease_dashes_duty" type="float" min="0.1" max="1" appearance="full" precision="2" gui-text="Semicrease dash duty cycle">0.25</param>-->
|
||||
<!-- <param name="semicrease_stroke_width" type="float" min="0.01" max="3" appearance="full" gui-text="Width of semicrease strokes">0.1</param>-->
|
||||
<!-- <param name="semicrease_stroke_color" type="color" gui-text="Semicreases color: ">4294902015</param>-->
|
||||
<!-- </page>-->
|
||||
<!-- <page name="cuts" _gui-text="Cuts">-->
|
||||
<!-- <param name="cut_bool" type="boolean" _gui-text="Draw cuts?">true</param>-->
|
||||
<!-- <param name="cut_dashes_bool" type="boolean" _gui-text="Dashed strokes?">false</param>-->
|
||||
<!-- <param name="cut_dashes_len" type="float" min="0.1" max="10" appearance="full" precision="2" _gui-text="Cut dash + gap length">1</param>-->
|
||||
<!-- <param name="cut_dashes_duty" type="float" min="0.1" max="1" appearance="full" precision="2" _gui-text="Cut dash duty cycle">0.25</param>-->
|
||||
<!-- <param name="cut_stroke_width" type="float" min="0.01" max="3" appearance="full" _gui-text="Width of cut strokes">0.1</param>-->
|
||||
<!-- <page name="cuts" gui-text="Cuts">-->
|
||||
<!-- <param name="cut_bool" type="bool" gui-text="Draw cuts?">true</param>-->
|
||||
<!-- <param name="cut_dashes_bool" type="bool" gui-text="Dashed strokes?">false</param>-->
|
||||
<!-- <param name="cut_dashes_len" type="float" min="0.1" max="10" appearance="full" precision="2" gui-text="Cut dash + gap length">1</param>-->
|
||||
<!-- <param name="cut_dashes_duty" type="float" min="0.1" max="1" appearance="full" precision="2" gui-text="Cut dash duty cycle">0.25</param>-->
|
||||
<!-- <param name="cut_stroke_width" type="float" min="0.01" max="3" appearance="full" gui-text="Width of cut strokes">0.1</param>-->
|
||||
<!-- <param name="cut_stroke_color" type="color" gui-text="Cut creases color: ">16711935</param>-->
|
||||
<!-- </page>-->
|
||||
</param>
|
||||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu _name="FabLab Chemnitz">
|
||||
<submenu _name="Paper/Cardboard Boxes"/>
|
||||
<submenu name="FabLab Chemnitz">
|
||||
<submenu name="Paper/Cardboard Boxes"/>
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
</effect>
|
||||
<script>
|
||||
<command reldir="extensions" interpreter="python">OrigamiPatterns/Template.py</command>
|
||||
<command location="inx" interpreter="python">OrigamiPatterns/Template.py</command>
|
||||
</script>
|
||||
</inkscape-extension>
|
@ -1,73 +1,73 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<_name>Origami Pattern - Waterbomb</_name>
|
||||
<name>Origami Pattern - Waterbomb</name>
|
||||
<id>fablabchemnitz.de.origami_patterns.magic_ball</id>
|
||||
<param name='active-tab' type="notebook">
|
||||
<page name="title" _gui-text="Options">
|
||||
<param name="pattern_first_line" type="optiongroup" _gui-text="First line:" >
|
||||
<_option value="waterbomb">Regular waterbomb</_option>
|
||||
<_option value="magic_ball">Magic ball</_option>
|
||||
<page name="title" gui-text="Options">
|
||||
<param name="pattern_first_line" type="optiongroup" appearance="combo" gui-text="First line:">
|
||||
<option value="waterbomb">Regular waterbomb</option>
|
||||
<option value="magic_ball">Magic ball</option>
|
||||
</param>
|
||||
<param name="pattern_last_line" type="optiongroup" _gui-text="Last line:" >
|
||||
<_option value="waterbomb">Regular waterbomb</_option>
|
||||
<_option value="magic_ball">Magic ball</_option>
|
||||
<param name="pattern_last_line" type="optiongroup" appearance="combo" gui-text="Last line:">
|
||||
<option value="waterbomb">Regular waterbomb</option>
|
||||
<option value="magic_ball">Magic ball</option>
|
||||
</param>
|
||||
<param name="phase_shift" type="boolean" _gui-text="Shift phase?">false</param>
|
||||
<_param name="help" type="description" xml:space="preserve">------------------------------</_param>
|
||||
<param name="lines" type="int" min="1" max="100" _gui-text="Number of lines">8</param>
|
||||
<param name="columns" type="int" min="1" max="100" _gui-text="Number of columns">16</param>
|
||||
<_param name="help" type="description" xml:space="preserve">------------------------------</_param>
|
||||
<param name="length" type="float" max="10000" precision="3" _gui-text="Length of grid square">10.0</param>
|
||||
<param name="units" type="optiongroup" appearance="minimal" _gui-text="">
|
||||
<param name="phase_shift" type="bool" gui-text="Shift phase?">false</param>
|
||||
<param name="help" type="description" xml:space="preserve">------------------------------</param>
|
||||
<param name="lines" type="int" min="1" max="100" gui-text="Number of lines">8</param>
|
||||
<param name="columns" type="int" min="1" max="100" gui-text="Number of columns">16</param>
|
||||
<param name="help" type="description" xml:space="preserve">------------------------------</param>
|
||||
<param name="length" type="float" max="10000" precision="3" gui-text="Length of grid square">10.0</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">"Waterbomb tessellation" creates a simple tessellation pattern repeating the Waterbomb base, with a half-step phase shift between each line.
The Magic ball is a different design that inverts both the upper half of the first line and the bottom half of the last line.</_param>
|
||||
<param name="help" type="description" xml:space="preserve">"Waterbomb tessellation" creates a simple tessellation pattern repeating the Waterbomb base, with a half-step phase shift between each line.
The Magic ball is a different design that inverts both the upper half of the first line and the bottom half of the last line.</param>
|
||||
|
||||
</page>
|
||||
<page name="mountains" _gui-text="Mountain creases">
|
||||
<param name="mountain_bool" type="boolean" _gui-text="Draw mountains?">true</param>
|
||||
<param name="mountain_dashes_bool" type="boolean" _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>
|
||||
<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="boolean" _gui-text="Draw valley?">true</param>
|
||||
<param name="valley_dashes_bool" type="boolean" _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>
|
||||
<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="boolean" _gui-text="Draw edges?">true</param>
|
||||
<param name="edge_single_path" type="boolean" _gui-text="Edges as single path?">true</param>
|
||||
<param name="edge_dashes_bool" type="boolean" _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>
|
||||
<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="boolean" _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>
|
||||
<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 name="FabLab Chemnitz">
|
||||
<submenu name="Paper/Cardboard Boxes"/>
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
</effect>
|
||||
<script>
|
||||
<command reldir="extensions" interpreter="python">OrigamiPatterns/Waterbomb.py</command>
|
||||
<command location="inx" interpreter="python">OrigamiPatterns/Waterbomb.py</command>
|
||||
</script>
|
||||
</inkscape-extension>
|
Reference in New Issue
Block a user