1 <?xml version="1.0" encoding="UTF-8"?>
2 <inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
3 <_name>Parametric Curves</_name>
4 <id>org.inkscape.effect.param_curves</id>
5 <dependency type="executable" location="extensions">param_curves.py</dependency>
6 <dependency type="executable" location="extensions">inkex.py</dependency>
7 <param name="tab" type="notebook">
8 <page name="sampling" _gui-text="Range and Sampling">
9 <param name="t_start" type="float" min="-1000.0" max="1000.0" _gui-text="Start t-value:">0.0</param>
10 <param name="t_end" type="float" min="-1000.0" max="1000.0" _gui-text="End t-value:">1.0</param>
11 <param name="times2pi" type="boolean" _gui-text="Multiply t-range by 2*pi:">true</param>
12 <param name="xleft" type="float" min="-1000.0" max="1000.0" _gui-text="x-value of rectangle's left:">-1.0</param>
13 <param name="xright" type="float" min="-1000.0" max="1000.0" _gui-text="x-value of rectangle's right:">1.0</param>
14 <param name="ybottom" type="float" min="-1000.0" max="1000.0" _gui-text="y-value of rectangle's bottom:">-1.0</param>
15 <param name="ytop" type="float" min="-1000.0" max="1000.0" _gui-text="y-value of rectangle's top:">1.0</param>
16 <param name="samples" type="int" min="2" max="1000" _gui-text="Samples:">30</param>
17 <param name="isoscale" type="boolean" _gui-text="Isotropic scaling">false</param>
18 <_param name="isoscaledesc" type="description">When set, Isotropic scaling uses smallest of width/xrange or height/yrange</_param>
19 </page>
20 <page name="use" _gui-text="Use">
21 <_param name="funcplotuse" type="description" xml:space="preserve">Select a rectangle before calling the extension, it will determine X and Y scales.
22 First derivatives are always determined numerically.</_param>
23 </page>
24 <page name="desc" _gui-text="Functions">
25 <_param name="pythonfunctions" type="description" xml:space="preserve">Standard Python math functions are available:
27 ceil(x); fabs(x); floor(x); fmod(x,y); frexp(x); ldexp(x,i);
28 modf(x); exp(x); log(x [, base]); log10(x); pow(x,y); sqrt(x);
29 acos(x); asin(x); atan(x); atan2(y,x); hypot(x,y);
30 cos(x); sin(x); tan(x); degrees(x); radians(x);
31 cosh(x); sinh(x); tanh(x).
33 The constants pi and e are also available.</_param>
34 </page>
35 </param>
36 <param name="fofx" type="string" _gui-text="x-Function:">cos(3*t)</param>
37 <param name="fofy" type="string" _gui-text="y-Function:">sin(5*t)</param>
38 <param name="remove" type="boolean" _gui-text="Remove rectangle">true</param>
39 <param name="drawaxis" type="boolean" _gui-text="Draw Axes">false</param>
40 <effect>
41 <object-type>rect</object-type>
42 <effects-menu>
43 <submenu _name="Render"/>
44 </effects-menu>
45 </effect>
46 <script>
47 <command reldir="extensions" interpreter="python">param_curves.py</command>
48 </script>
49 </inkscape-extension>