summaryrefslogtreecommitdiffstats
path: root/share/extensions/pathalongpath.inx
blob: f7e728f0dad10fd929d899eaf29b2c9654e54343 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<inkscape-extension>
    <_name>Pattern along Path</_name>
    <id>math.univ-lille1.barraud.pathdeform</id>
	<dependency type="executable" location="extensions">pathmodifier.py</dependency>
	<dependency type="executable" location="extensions">pathalongpath.py</dependency>
	<dependency type="executable" location="extensions">inkex.py</dependency>
	<param name="title" type="description">This effect bends a pattern object along an arbitrary "skeleton" path. The pattern can be a path or a group of paths. First, select the pattern object; then add to selection the skeleton path; then call this effect.</param>

	<param name="copymode" type="enum" _gui-text="Copies of the pattern:">
	       <item>Single</item>
	       <item>Single, stretched</item>
	       <item>Repeated</item>
	       <item>Repeated, stretched</item>
	</param>

	<param name="kind" type="enum" _gui-text="Deformation type:">
	       <item>Snake</item>
	       <item>Ribbon</item>
	</param>

	<param name="space"     type="float"   _gui-text="Space between copies:" min="-10000.0" max="10000.0" >0.0</param>

	<param name="noffset"   type="float"   _gui-text="Normal offset" min="-10000.0" max="10000.0">0.0</param>
	<param name="toffset"   type="float"   _gui-text="Tangential offset"  min="-10000.0" max="10000.0" >0.0</param>

	<param name="vertical"  type="boolean" _gui-text="Pattern is vertical">false</param>
	<param name="duplicate" type="boolean" _gui-text="Duplicate the pattern before deformation">true</param>
    <effect>
	<effects-menu>
		<submenu _name="Generate from Path"/>
	</effects-menu>
    </effect>
    <script>
        <command reldir="extensions" interpreter="python">pathalongpath.py</command>
    </script>
</inkscape-extension>