home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Narzedzia / Inkscape / Inkscape-0.48.2-1-win32.exe / share / extensions / lindenmayer.inx < prev    next >
Extensible Markup Language  |  2011-07-08  |  2KB  |  51 lines

  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" xml:space="preserve">
  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>
  51.