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

43 lines
2.2 KiB
Plaintext
Raw Normal View History

2021-07-23 02:36:56 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Streaks</name>
<id>fablabchemnitz.de.streaks</id>
<param type="notebook" name="Nmain">
<page name="top" gui-text="Color">
<label appearance="header">Fills a box with a texture made of vertical line segments.</label>
<param name="strokeColour" type="color" appearance="colorbutton" gui-text="Line colour: ">255</param>
<separator/>
<param name="strokeWidth" type="int" gui-text="Line width: ">2</param>
</page>
<page name="main" gui-text="Main">
<param max="256" name="blur" type="int" gui-text="Blur">2</param>
<param max="1000" name="linno" type="int" gui-text="# of columns">50</param>
<param name="xrand" type="bool" gui-text="Lines randomized">true</param>
<separator/>
<param name="pagep" type="bool" gui-text="Default box to page size?">true</param>
<param max="10000" name="cusx" type="int" gui-text="Custom size x">500</param>
<param max="10000" name="cusy" type="int" gui-text="Custom size y">500</param>
</page>
<page name="vert" gui-text="Each column">
<param min="1" max="256" name="segLen" type="int" gui-text="# of segments">8</param>
<param name="yrand" type="bool" gui-text="Lengths randomized">true</param>
<param name="dashp" type="bool" gui-text="Use dashes?">true</param>
<param name="blankp" type="bool" gui-text="Use blanks?">true</param>
<param name="dotp" type="bool" gui-text="Use dots?">true</param>
<param max="1000" name="dots" type="int" gui-text="Dots per height">100</param>
<label>This sets the size of a dot relative to the total height. Higher is shorter.</label>
</page>
</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="FabLab Chemnitz">
<submenu name="Shape/Pattern from Generator"/>
</submenu>
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">streaks.py</command>
</script>
</inkscape-extension>