diff options
| author | bulia byak <buliabyak@gmail.com> | 2008-05-05 01:25:06 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2008-05-05 01:25:06 +0000 |
| commit | 9a4ed006915e62278f9d065afe5acd3c2580d9ad (patch) | |
| tree | 60289dd34629023a191af670b7fe226f837eb27b | |
| parent | move to visualize path (diff) | |
| download | inkscape-9a4ed006915e62278f9d065afe5acd3c2580d9ad.tar.gz inkscape-9a4ed006915e62278f9d065afe5acd3c2580d9ad.zip | |
copyedit
(bzr r5607)
| -rw-r--r-- | share/extensions/funcplot.inx | 24 | ||||
| -rw-r--r-- | share/extensions/lindenmayer.inx | 36 |
2 files changed, 43 insertions, 17 deletions
diff --git a/share/extensions/funcplot.inx b/share/extensions/funcplot.inx index 928583624..1d5fb5e6e 100644 --- a/share/extensions/funcplot.inx +++ b/share/extensions/funcplot.inx @@ -5,28 +5,28 @@ <dependency type="executable" location="extensions">funcplot.py</dependency> <dependency type="executable" location="extensions">inkex.py</dependency> <param name="tab" type="notebook"> - <page name="sampling" _gui-text="Range and Sampling"> - <param name="xstart" type="float" min="-1000.0" max="1000.0" _gui-text="Start x-value">0.0</param> - <param name="xend" type="float" min="-1000.0" max="1000.0" _gui-text="End x-value">1.0</param> - <param name="times2pi" type="boolean" _gui-text="Multiply x-range by 2*pi">false</param> - <param name="ybottom" type="float" min="-1000.0" max="1000.0" _gui-text="y-value of rectangle's bottom">0.0</param> - <param name="ytop" type="float" min="-1000.0" max="1000.0" _gui-text="y-value of rectangle's top">1.0</param> + <page name="sampling" _gui-text="Range and sampling"> + <param name="xstart" type="float" min="-1000.0" max="1000.0" _gui-text="Start X value">0.0</param> + <param name="xend" type="float" min="-1000.0" max="1000.0" _gui-text="End X value">1.0</param> + <param name="times2pi" type="boolean" _gui-text="Multiply X range by 2*pi">false</param> + <param name="ybottom" type="float" min="-1000.0" max="1000.0" _gui-text="Y value of rectangle's bottom">0.0</param> + <param name="ytop" type="float" min="-1000.0" max="1000.0" _gui-text="Y value of rectangle's top">1.0</param> <param name="samples" type="int" min="2" max="1000" _gui-text="Samples">8</param> - <param name="isoscale" type="boolean" _gui-text="Isotropic scaling (uses smallest: width/xrange or height/yrange)">false</param> + <param name="isoscale" type="boolean" _gui-text="Isotropic scaling (uses smallest of width/xrange or height/yrange)">false</param> <param name="polar" type="boolean" _gui-text="Use polar coordinates">true</param> </page> <page name="use" _gui-text="Use"> - <_param name="funcplotuse" type="description">Select a rectangle before calling effect. -Rectangle determines x and y scales. + <_param name="funcplotuse" type="description">Select a rectangle before calling the extension, +it will determine X and Y scales. With polar coordinates: - Start and End x-values define the angle range in radians. - x scale is set so left and right edges of rectangle are at +/-1. + Start and end X values define the angle range in radians. + X scale is set so that left and right edges of rectangle are at +/-1. Isotropic scaling is disabled. First derivative is always determined numerically.</_param> </page> <page name="desc" _gui-text="Functions"> - <_param name="pythonfunctions" type="description">Standard python math functions are available: + <_param name="pythonfunctions" type="description">Standard Python math functions are available: ceil(x); fabs(x); floor(x); fmod(x,y); frexp(x); ldexp(x,i); modf(x); exp(x); log(x [, base]); log10(x); pow(x,y); sqrt(x); diff --git a/share/extensions/lindenmayer.inx b/share/extensions/lindenmayer.inx index ebe59b4aa..0b2b91389 100644 --- a/share/extensions/lindenmayer.inx +++ b/share/extensions/lindenmayer.inx @@ -4,6 +4,8 @@ <id>org.ekips.filter.turtle.lindenmayer</id> <dependency type="executable" location="extensions">lindenmayer.py</dependency> <dependency type="executable" location="extensions">inkex.py</dependency> + <param name="tab" type="notebook"> + <page name="rules" _gui-text="Axiom and rules"> <param name="axiom" type="string" _gui-text="Axiom">++F</param> <param name="rules" type="string" _gui-text="Rules">F=FF-[-F+F+F]+[+F-F-F]</param> <param name="order" type="int" min="0" max="100" _gui-text="Order">3</param> @@ -12,13 +14,37 @@ <param name="langle" type="float" min="0.0" max="360.0" _gui-text="Left angle">16.0</param> <param name="rangle" type="float" min="0.0" max="360.0" _gui-text="Right angle">16.0</param> <param name="randomizeangle" type="float" min="0.0" max="100.0" _gui-text="Randomize angle (%)">0.0</param> - <effect> + </page> + <page name="help" _gui-text="Help"> + <_param name="lhelp" type="description"> +The path is generated by applying the +substitutions of Rules to the Axiom, +Order times. The following commands are +recognized in Axiom and Rules: + +Any of A,B,C,D,E,F: draw forward + +Any of G,H,I,J,K,L: move forward + ++: turn left + +-: turn right + +|: turn 180 degrees + +[: remember poing + +]: return to remembered point +</_param> + </page> + </param> + <effect> <object-type>all</object-type> <effects-menu> <submenu _name="Render"/> </effects-menu> - </effect> - <script> - <command reldir="extensions" interpreter="python">lindenmayer.py</command> - </script> + </effect> + <script> + <command reldir="extensions" interpreter="python">lindenmayer.py</command> + </script> </inkscape-extension> |
