~ubuntu-branches/ubuntu/oneiric/inkscape/oneiric-updates

« back to all changes in this revision

Viewing changes to inkscape-0.47pre1/share/extensions/lindenmayer.inx

  • Committer: Bazaar Package Importer
  • Author(s): Bryce Harrington
  • Date: 2009-07-02 17:09:45 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20090702170945-nn6d6zswovbwju1t
Tags: 0.47~pre1-0ubuntu1
* New upstream release.
  - Don't constrain maximization on small resolution devices (pre0)
    (LP: #348842)
  - Fixes segfault on startup (pre0)
    (LP: #391149)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
 
3
    <_name>L-system</_name>
 
4
    <id>org.ekips.filter.turtle.lindenmayer</id>
 
5
        <dependency type="executable" location="extensions">lindenmayer.py</dependency>
 
6
        <dependency type="executable" location="extensions">inkex.py</dependency>
 
7
  <param name="tab" type="notebook">
 
8
    <page name="rules" _gui-text="Axiom and rules">
 
9
        <param name="axiom" type="string" _gui-text="Axiom">++F</param>
 
10
        <param name="rules" type="string" _gui-text="Rules">F=FF-[-F+F+F]+[+F-F-F]</param>
 
11
        <param name="order" type="int" min="0" max="100" _gui-text="Order">3</param>
 
12
        <param name="step" type="float" min="0.0" max="1000.0" _gui-text="Step length (px)">25.0</param>
 
13
        <param name="randomizestep" type="float" min="0.0" max="100.0" _gui-text="Randomize step (%)">0.0</param>
 
14
        <param name="langle" type="float" min="0.0" max="360.0" _gui-text="Left angle">16.0</param>
 
15
        <param name="rangle" type="float" min="0.0" max="360.0" _gui-text="Right angle">16.0</param>
 
16
        <param name="randomizeangle" type="float" min="0.0" max="100.0" _gui-text="Randomize angle (%)">0.0</param>
 
17
    </page>
 
18
    <page name="help" _gui-text="Help">
 
19
      <_param name="lhelp" type="description">
 
20
The path is generated by applying the 
 
21
substitutions of Rules to the Axiom, 
 
22
Order times. The following commands are 
 
23
recognized in Axiom and Rules:
 
24
 
 
25
Any of A,B,C,D,E,F: draw forward 
 
26
 
 
27
Any of G,H,I,J,K,L: move forward 
 
28
 
 
29
+: turn left
 
30
 
 
31
-: turn right
 
32
 
 
33
|: turn 180 degrees
 
34
 
 
35
[: remember point
 
36
 
 
37
]: return to remembered point
 
38
</_param>
 
39
    </page>
 
40
  </param>
 
41
  <effect>
 
42
                <object-type>all</object-type>
 
43
                <effects-menu>
 
44
                    <submenu _name="Render"/>
 
45
                </effects-menu>                                                         
 
46
  </effect>
 
47
  <script>
 
48
    <command reldir="extensions" interpreter="python">lindenmayer.py</command>
 
49
  </script>
 
50
</inkscape-extension>