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

34 lines
1.5 KiB
Plaintext
Raw Normal View History

2020-12-09 11:07:01 +01:00
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Maze</name>
<id>fablabchemnitz.de.maze</id>
2021-05-23 15:18:29 +02:00
<param name="verti" type="int" min="2" max="1000" gui-text="Height (cells)">20</param>
<param name="horiz" type="int" min="2" max="1000" gui-text="Length (cells)">20</param>
2020-12-09 11:07:01 +01:00
<param name="size" type="float" max="100.0" gui-text="Cell Size">10.0</param>
2021-05-23 15:18:29 +02:00
<param name="cell_units" gui-text="Cell units" type="optiongroup" appearance="combo">
<option value="px">px</option>
<option value="pt">pt</option>
<option value="in">in</option>
<option value="cm">cm</option>
<option value="mm">mm</option>
</param>
2020-12-09 11:07:01 +01:00
<param name="width" type="float" gui-text="Line Width">1.0</param>
2021-04-27 14:38:04 +02:00
<param name="algo" type="optiongroup" appearance="combo" gui-text="Algorithm">
2020-12-09 11:07:01 +01:00
<option value="kruskal">Kruskal</option>
<option value="recursive_backtrack">Recursive Backtrack</option>
<option value="empty">Empty</option>
<option value="full">Full</option>
</param>
2021-04-27 14:38:04 +02:00
<label>This script will generate a maze according to a certain algorithm.</label>
2020-12-09 11:07:01 +01:00
<effect>
<object-type>path</object-type>
<effects-menu>
<submenu name="FabLab Chemnitz">
<submenu name="Shape/Pattern from Generator"/>
2020-12-09 11:07:01 +01:00
</submenu>
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">maze.py</command>
2020-12-09 11:07:01 +01:00
</script>
</inkscape-extension>