2020-07-30 01:16:18 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
2020-08-07 20:19:46 +02:00
<name>Polar Grid</name>
2021-06-02 23:30:37 +02:00
<id>fablabchemnitz.de.polar_grid</id>
2021-04-27 14:38:04 +02:00
<label>Creates a printable polar grid of dots with a constant number of dots per circle and the distance between circles changing at the same speed as the distance between the dots on a circle.</label>
<label appearance="header">Grid style</label>
2020-07-30 01:16:18 +02:00
<hbox indent="1">
2020-08-07 20:19:46 +02:00
<param name="angle" type="float" precision="2" min="15" max="80" gui-text="Grid angle (degrees):">45.0</param>
2020-07-30 01:16:18 +02:00
</hbox>
<hbox indent="1">
2021-04-27 14:38:04 +02:00
<param name="dots" type="int" min="4" max="400" gui-text="Number of dots per circle:">180</param>
2020-07-30 01:16:18 +02:00
</hbox>
<hbox indent="1">
2020-08-07 20:19:46 +02:00
<param name="variant" type="optiongroup" appearance="combo" gui-text="Pattern:">
2020-08-15 04:12:30 +02:00
<option value="">diamond</option>
<option value="rectangle">rectangle</option>
<option value="hexagon1">hexagon (30°)</option>
<option value="hexagon2">hexagon (60°, /3)</option>
<option value="hexagon3">hexagon + triangle (30-45-60°, /2)</option>
<option value="hexagon4">hexagon + diamond (30°)</option>
<option value="hexagon5">hexagon + diamond (60°, /2)</option>
<option value="snow2">snow, hexagon (60°, /6)</option>
<option value="snow1">snow, hexagon + diamond (60°, /8)</option>
2020-07-30 01:16:18 +02:00
</param>
</hbox>
2021-04-27 14:38:04 +02:00
<label appearance="header">Grid size</label>
2020-07-30 01:16:18 +02:00
<hbox indent="1">
2020-08-07 20:19:46 +02:00
<param name="outerDiameter" type="float" precision="2" min="0.5" max="500" gui-text="Outside diameter:">160</param>
<param name="circleDiameterUnits" gui-text=" " type="optiongroup" appearance="combo">
2020-07-30 01:16:18 +02:00
<option value="mm">mm</option>
<option value="cm">cm</option>
<option value="in">in</option>
<option value="px">px</option>
<option value="pt">pt</option>
</param>
</hbox>
<hbox indent="1">
2020-08-07 20:19:46 +02:00
<param name="innerDiameter" type="float" precision="2" min="0.5" max="500" gui-text="Inside diameter:">100</param>
2020-07-30 01:16:18 +02:00
</hbox>
<hbox indent="1">
2020-08-07 20:19:46 +02:00
<param name="alignment" type="optiongroup" appearance="combo" gui-text="Align to:">
<option value="outside">outside circle</option>
<option value="inside">inside circle</option>
2020-07-30 01:16:18 +02:00
</param>
</hbox>
2021-04-27 14:38:04 +02:00
<label appearance="header">Dot properties</label>
2020-07-30 01:16:18 +02:00
<hbox indent="1">
2020-08-07 20:19:46 +02:00
<param name="size" type="float" precision="2" min="0.001" max="10" gui-text="Diameter:">0.5</param>
<param name="dotUnits" gui-text=" " type="optiongroup" appearance="combo">
2020-07-30 01:16:18 +02:00
<option value="px">px</option>
<option value="mm">mm</option>
<option value="cm">cm</option>
<option value="in">in</option>
<option value="pt">pt</option>
</param>
</hbox>
<hbox indent="1">
2020-08-07 20:19:46 +02:00
<param name="fill" type="color" appearance="colorbutton" gui-text="Color:">255</param>
2020-07-30 01:16:18 +02:00
</hbox>
<effect needs-live-preview="true">
<object-type>all</object-type>
<effects-menu>
2020-08-07 20:19:46 +02:00
<submenu name="FabLab Chemnitz">
2020-08-15 15:47:16 +02:00
<submenu name="Grids/Guides"/>
2020-07-30 01:16:18 +02:00
</submenu>
</effects-menu>
</effect>
<script>
2021-06-02 23:30:37 +02:00
<command location="inx" interpreter="python">polar_grid.py</command>
2020-07-30 01:16:18 +02:00
</script>
</inkscape-extension>