From bb3ab2f1ca149b2ab27410ab36676f6479f50dcb Mon Sep 17 00:00:00 2001 From: JazzyNico Date: Thu, 9 Sep 2010 18:26:54 +0200 Subject: [PATCH] Extensions. Consistency fix and UI improvements (Render submenu, part 2). --- share/extensions/draw_from_triangle.inx | 16 ++-- share/extensions/funcplot.inx | 73 ++++++++-------- share/extensions/lindenmayer.inx | 46 +++++----- share/extensions/param_curves.inx | 11 ++- share/extensions/polyhedron_3d.inx | 103 ++++++++++++----------- share/extensions/render_alphabetsoup.inx | 6 +- share/extensions/spirograph.inx | 16 ++-- share/extensions/triangle.inx | 31 +++---- share/extensions/wireframe_sphere.inx | 10 +-- 9 files changed, 159 insertions(+), 153 deletions(-) diff --git a/share/extensions/draw_from_triangle.inx b/share/extensions/draw_from_triangle.inx index 5b57e2c49..5c645bf26 100644 --- a/share/extensions/draw_from_triangle.inx +++ b/share/extensions/draw_from_triangle.inx @@ -29,14 +29,14 @@ - - <_option value="trilin">Trilinear Coordinates - <_option value="tcf">Triangle Function + + <_item value="trilin">Trilinear Coordinates + <_item value="tcf">Triangle Function - cos(a_a):cos(a_b):cos(a_c) + cos(a_a):cos(a_b):cos(a_c) - s_a*s_b*s_c/(4*area) + s_a*s_b*s_c/(4*area) @@ -68,9 +68,9 @@ You can specify the radius of a circle around a custom point using a formula, wh all - - - + + + + + + exp(-x*x) + true + x + true + false + + rect + + + + + diff --git a/share/extensions/lindenmayer.inx b/share/extensions/lindenmayer.inx index 4cebaf3fe..6dba2d5f9 100644 --- a/share/extensions/lindenmayer.inx +++ b/share/extensions/lindenmayer.inx @@ -4,19 +4,19 @@ org.ekips.filter.turtle.lindenmayer lindenmayer.py inkex.py - - - ++F - F=FF-[-F+F+F]+[+F-F-F] - 3 - 25.0 - 0.0 - 16.0 - 16.0 - 0.0 - - - <_param name="lhelp" type="description" xml:space="preserve"> + + + ++F + F=FF-[-F+F+F]+[+F-F-F] + 3 + 25.0 + 0.0 + 16.0 + 16.0 + 0.0 + + + <_param name="lhelp" type="description" xml:space="preserve"> The path is generated by applying the substitutions of Rules to the Axiom, Order times. The following commands are @@ -36,15 +36,15 @@ Any of G,H,I,J,K,L: move forward ]: return to remembered point - - - + + + all - - - - - + + + + + diff --git a/share/extensions/param_curves.inx b/share/extensions/param_curves.inx index 82a1df2af..25018c5e5 100644 --- a/share/extensions/param_curves.inx +++ b/share/extensions/param_curves.inx @@ -15,12 +15,15 @@ 1.0 30 false - <_param name="isoscaledesc" type="description">When set, Isotropic scaling uses smallest: width/xrange or height/yrange. + <_param name="isoscaledesc" type="description">When set, Isotropic scaling uses smallest of width/xrange or height/yrange - - <_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. + + <_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. + + + <_param name="pythonfunctions" type="description" xml:space="preserve">Standard Python math functions are available: -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); acos(x); asin(x); atan(x); atan2(y,x); hypot(x,y); diff --git a/share/extensions/polyhedron_3d.inx b/share/extensions/polyhedron_3d.inx index 10a054f8a..7dccc47f8 100644 --- a/share/extensions/polyhedron_3d.inx +++ b/share/extensions/polyhedron_3d.inx @@ -6,29 +6,29 @@ inkex.py - - <_option value="cube">Cube - <_option value="trunc_cube">Truncated Cube - <_option value="snub_cube">Snub Cube - <_option value="cuboct">Cuboctahedron - <_option value="tet">Tetrahedron - <_option value="trunc_tet">Truncated Tetrahedron - <_option value="oct">Octahedron - <_option value="trunc_oct">Truncated Octahedron - <_option value="icos">Icosahedron - <_option value="trunc_icos">Truncated Icosahedron - <_option value="small_triam_icos">Small Triambic Icosahedron - <_option value="dodec">Dodecahedron - <_option value="trunc_dodec">Truncated Dodecahedron - <_option value="snub_dodec">Snub Dodecahedron - <_option value="great_dodec">Great Dodecahedron - <_option value="great_stel_dodec">Great Stellated Dodecahedron - <_option value="from_file">Load from file + + <_item value="cube">Cube + <_item value="trunc_cube">Truncated Cube + <_item value="snub_cube">Snub Cube + <_item value="cuboct">Cuboctahedron + <_item value="tet">Tetrahedron + <_item value="trunc_tet">Truncated Tetrahedron + <_item value="oct">Octahedron + <_item value="trunc_oct">Truncated Octahedron + <_item value="icos">Icosahedron + <_item value="trunc_icos">Truncated Icosahedron + <_item value="small_triam_icos">Small Triambic Icosahedron + <_item value="dodec">Dodecahedron + <_item value="trunc_dodec">Truncated Dodecahedron + <_item value="snub_dodec">Snub Dodecahedron + <_item value="great_dodec">Great Dodecahedron + <_item value="great_stel_dodec">Great Stellated Dodecahedron + <_item value="from_file">Load from file - great_rhombicuboct.obj - - <_option value="face">Face-Specified - <_option value="edge">Edge-Specified + great_rhombicuboct.obj + + <_item value="face">Face-Specified + <_item value="edge">Edge-Specified 0 @@ -36,61 +36,62 @@ <_option value="x">X-Axis <_option value="y">Y-Axis <_option value="z">Z-Axis - 0 + 0 <_option value="x">X-Axis <_option value="y">Y-Axis <_option value="z">Z-Axis - 0 + 0 <_option value="x">X-Axis <_option value="y">Y-Axis <_option value="z">Z-Axis - 0 + 0 <_option value="x">X-Axis <_option value="y">Y-Axis <_option value="z">Z-Axis - 0 + 0 <_option value="x">X-Axis <_option value="y">Y-Axis <_option value="z">Z-Axis - 0 + 0 <_option value="x">X-Axis <_option value="y">Y-Axis <_option value="z">Z-Axis - 0 + 0 - 100 - 255 - 0 - 0 - 100 - 100 - 2 - 1 - 1 - 1 - -2 - - <_option value="fce">Faces - <_option value="edg">Edges - <_option value="vtx">Vertices - 0 - - <_option value="max">Maximum - <_option value="min">Minimum - <_option value="mean">Mean + 100 + 255 + 0 + 0 + 100 + 100 + 2 + 1 + 1 + 1 + -2 + + <_item value="fce">Faces + <_item value="edg">Edges + <_item value="vtx">Vertices + + 0 + + <_item value="max">Maximum + <_item value="min">Minimum + <_item value="mean">Mean all - - - + + +