82a1df2afdbe821d5b2088295a83d441a9ed7647
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: width/xrange or height/yrange.</_param>
19 </page>
20 <page name="help" _gui-text="Help">
21 <_param name="funcplotuse" type="description" xml:space="preserve">Select a rectangle before calling the extension, it will determine X and Y scales. First derivatives are always determined numerically.
23 Standard Python math functions are available:
24 ceil(x); fabs(x); floor(x); fmod(x,y); frexp(x); ldexp(x,i);
25 modf(x); exp(x); log(x [, base]); log10(x); pow(x,y); sqrt(x);
26 acos(x); asin(x); atan(x); atan2(y,x); hypot(x,y);
27 cos(x); sin(x); tan(x); degrees(x); radians(x);
28 cosh(x); sinh(x); tanh(x).
30 The constants pi and e are also available.</_param>
31 </page>
32 </param>
33 <param name="fofx" type="string" _gui-text="x-Function:">cos(3*t)</param>
34 <param name="fofy" type="string" _gui-text="y-Function:">sin(5*t)</param>
35 <param name="remove" type="boolean" _gui-text="Remove rectangle">true</param>
36 <param name="drawaxis" type="boolean" _gui-text="Draw Axes">false</param>
37 <effect>
38 <object-type>rect</object-type>
39 <effects-menu>
40 <submenu _name="Render"/>
41 </effects-menu>
42 </effect>
43 <script>
44 <command reldir="extensions" interpreter="python">param_curves.py</command>
45 </script>
46 </inkscape-extension>