Code

Following this thread: http://www.nabble.com/Extension-parameters-td9064285.html...
[inkscape.git] / share / extensions / pathscatter.inx
1 <inkscape-extension>
2     <_name>Scatter</_name>
3     <id>math.univ-lille1.barraud.pathScatter</id>
4         <dependency type="executable" location="extensions">pathmodifier.py</dependency>
5         <dependency type="executable" location="extensions">pathScatter.py</dependency>
6         <dependency type="executable" location="extensions">inkex.py</dependency>
7         <_param name="title" type="description">This effect scatters a pattern along arbitrary "skeleton" paths. The pattern is the top most object in the selection. (groups of paths/shapes/clones... allowed)</_param>
9         <param name="follow" type="boolean" _gui-text="Follow path orientation.">false</param>
10         <param name="stretch" type="boolean" _gui-text="Stretch spaces to fit skeleton length">false</param>
12         <param name="space"     type="float"   _gui-text="Space between copies:" min="-10000.0" max="10000.0" >0.0</param>
14         <param name="noffset"   type="float"   _gui-text="Normal offset" min="-10000.0" max="10000.0">0.0</param>
15         <param name="toffset"   type="float"   _gui-text="Tangential offset"  min="-10000.0" max="10000.0" >0.0</param>
17         <param name="vertical"  type="boolean" _gui-text="Pattern is vertical">false</param>
18         <param name="copymode" type="optiongroup" _gui-text="Original pattern will be:">
19                 <_option value="move">Moved</_option>
20         <_option value="copy">Copied</_option>
21                 <_option value="clone">Cloned</_option>
22         </param>
23         <param name="duplicate" type="boolean" _gui-text="Duplicate the pattern before deformation">true</param>
24     <effect>
25         <effects-menu>
26                 <submenu _name="Generate from Path"/>
27         </effects-menu>
28     </effect>
29     <script>
30         <command reldir="extensions" interpreter="python">pathScatter.py</command>
31     </script>
32 </inkscape-extension>
34