Code

rearrange effect submenus, rename some effects, fix capitalization
authorbuliabyak <buliabyak@users.sourceforge.net>
Fri, 10 Feb 2006 05:56:28 +0000 (05:56 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Fri, 10 Feb 2006 05:56:28 +0000 (05:56 +0000)
18 files changed:
share/extensions/addnodes.inx
share/extensions/bluredge.inx
share/extensions/dots.inx
share/extensions/embedimage.inx
share/extensions/extractimage.inx
share/extensions/handles.inx
share/extensions/interp.inx
share/extensions/kochify.inx
share/extensions/kochify_load.inx
share/extensions/lindenmayer.inx
share/extensions/motion.inx
share/extensions/radiusrand.inx
share/extensions/rtree.inx
share/extensions/straightseg.inx
share/extensions/summersnight.inx
share/extensions/wavy.inx
share/extensions/whirl.inx
src/extension/internal/bluredge.cpp

index e9536a2d5fdaf41d9f42ddd43ab2acaaf7a5f723..ff55f0023897382141b18513b21b506e96464659 100644 (file)
@@ -3,11 +3,11 @@
     <id>org.ekips.filter.addnodes</id>
        <dependency type="executable" location="extensions">addnodes.py</dependency>
        <dependency type="executable" location="extensions">inkex.py</dependency>
-       <param name="max" type="float" min="0.0" max="10000.0" _gui-text="Maximum Segment Length">10.0</param>
+       <param name="max" type="float" min="0.0" max="10000.0" _gui-text="Maximum segment length">10.0</param>
     <effect>
                <object-type>path</object-type>
                <effects-menu>
-                       <submenu _name="Enhance Path"/>
+                       <submenu _name="Modify Path"/>
                </effects-menu>
     </effect>
     <script>
index 567efbc79256e0a3fd5c2473f9dca3e9f2e8c4bd..0a22c3082bde082610f776bb3fb955d9a93211e5 100644 (file)
@@ -6,6 +6,9 @@
     <param name="num-steps" type="int">11</param>
     <effect>
         <object-type>all</object-type>
+        <effects-menu>
+                <submenu _name="Generate from Path"/>
+        </effects-menu>
     </effect>
     <plugin>
         <name>bluredge</name>
index 50e37ff4c025a9771796b7edf5494b3421caf8d5..ac306cffc9444a274ee6cb5ace04a3be9a8eae8c 100644 (file)
@@ -1,12 +1,15 @@
 <inkscape-extension>
-    <_name>Connect the Dots</_name>
+    <_name>Number Nodes</_name>
     <id>org.ekips.filter.dots</id>
        <dependency type="executable" location="extensions">dots.py</dependency>
        <dependency type="executable" location="extensions">inkex.py</dependency>
-       <param name="fontsize" type="string" _gui-text="Font Size">20</param>
-       <param name="dotsize" type="string" _gui-text="Dot Size">10px</param>
+       <param name="fontsize" type="string" _gui-text="Font size">20</param>
+       <param name="dotsize" type="string" _gui-text="Dot size">10px</param>
     <effect>
                <object-type>path</object-type>
+                <effects-menu>
+                    <submenu _name="Visualize Path"/>
+                </effects-menu>
     </effect>
     <script>
         <command reldir="extensions" interpreter="python">dots.py</command>
index 221a3f0f63d9692bd4e0f740ece5d362a73403ff..eebd404a38ba3671d5f92e68c7bdad6760d22a2d 100644 (file)
@@ -1,10 +1,13 @@
 <inkscape-extension>
-    <_name>Embed Images</_name>
+    <_name>Embed All Images</_name>
     <id>org.ekips.filter.embedimage</id>
        <dependency type="executable" location="extensions">embedimage.py</dependency>
        <dependency type="executable" location="extensions">inkex.py</dependency>
     <effect>
                <object-type>all</object-type>
+                <effects-menu>
+                    <submenu _name="Images"/>
+                </effects-menu>
     </effect>
     <script>
         <command reldir="extensions" interpreter="python">embedimage.py</command>
index a167ed15d7d1c4ab9d4e2d5531b0c36e969df19f..1c80ccaae3dd52bf672a85b25db7f61840bf8c72 100644 (file)
@@ -3,9 +3,12 @@
     <id>org.ekips.filter.extractimage</id>
        <dependency type="executable" location="extensions">extractimage.py</dependency>
        <dependency type="executable" location="extensions">inkex.py</dependency>
-       <param name="filepath" type="string" _gui-text="Path to Save Image">none</param>
+       <param name="filepath" type="string" _gui-text="Path to save image">none</param>
     <effect>
                <object-type>all</object-type>
+                <effects-menu>
+                        <submenu _name="Images"/>
+                </effects-menu>                                       
     </effect>
     <script>
         <command reldir="extensions" interpreter="python">extractimage.py</command>
index 2ee83b189eb1fed69b51346a218feb6ab86869cd..e1c3cf9cfaaf2fb8002961ec94126f4fffcbf4e3 100644 (file)
@@ -6,7 +6,7 @@
     <effect>
                <object-type>path</object-type>
                <effects-menu>
-                       <submenu _name="Enhance Path" />
+                       <submenu _name="Visualize Path" />
                </effects-menu>
     </effect>
     <script>
index e7efa129207472dd63db7def4908adef0fe2d9aa..58d9cbe936a2ab1f21b0e55f95d7b87082ce774f 100644 (file)
@@ -4,15 +4,15 @@
        <dependency type="executable" location="extensions">interp.py</dependency>
        <dependency type="executable" location="extensions">inkex.py</dependency>
        <param name="exponent" type="float" min="-100.0" max="100.0" _gui-text="Exponent">0.00</param>
-       <param name="steps" type="int" min="1" max="1000" _gui-text="Interpolation Steps">5</param>
-       <param name="method" type="int" min="1" max="2" _gui-text="Interpolation Method">2</param>
-       <param name="dup" type="boolean" _gui-text="Duplicate Endpaths">true</param>
-       <param name="style" type="boolean" _gui-text="Interpolate Style (Experimental)">false</param>
+       <param name="steps" type="int" min="1" max="1000" _gui-text="Interpolation steps">5</param>
+       <param name="method" type="int" min="1" max="2" _gui-text="Interpolation method">2</param>
+       <param name="dup" type="boolean" _gui-text="Duplicate endpaths">true</param>
+       <param name="style" type="boolean" _gui-text="Interpolate style (experimental)">false</param>
     <effect>
                <object-type>path</object-type>
-               <effects-menu>
-                       <submenu _name="Enhance Path" />
-               </effects-menu>
+                <effects-menu>
+                    <submenu _name="Generate from Path"/>
+                </effects-menu>
     </effect>
     <script>
         <command reldir="extensions" interpreter="python">interp.py</command>
index cff9f9b6ba76a9a703f2d6f70dd077ce66a3d5c6..7c3264317ac7d505944c291644e939ac8dfcc99e 100644 (file)
@@ -4,12 +4,10 @@
        <dependency type="executable" location="extensions">kochify.py</dependency>
        <dependency type="executable" location="extensions">inkex.py</dependency>
     <effect>
-               <object-type>path</object-type>
-               <effects-menu>
-                       <submenu _name="Render">
-                               <submenu _name="Fractal" />
-                       </submenu>
-               </effects-menu>
+       <object-type>path</object-type>
+        <effects-menu>
+            <submenu _name="Modify Path"/>
+        </effects-menu>
     </effect>
     <script>
         <command reldir="extensions" interpreter="python">kochify.py</command>
index dc18ca0e4ecb96b5205fcd6df0fccd05f7db3974..a30cc52452f278da76eae3fee22ec0668f48501a 100644 (file)
@@ -1,14 +1,12 @@
 <inkscape-extension>
-    <_name>Kochify (Load)</_name>
+     <_name>Kochify (Load Pattern)</_name>
     <id>org.ekips.filter.kochify.load</id>
        <dependency type="executable" location="extensions">kochify_load.py</dependency>
        <dependency type="executable" location="extensions">inkex.py</dependency>
     <effect>
                <object-type>path</object-type>
                <effects-menu>
-                       <submenu _name="Render">
-                               <submenu _name="Fractal" />
-                       </submenu>
+                       <submenu _name="Modify Path"/>
                </effects-menu>
     </effect>
     <script>
index 655c95e338084f170b66b3ab7154afeda1b6184d..1e7f242710c759e606d99b6dd43cb38c576aa366 100644 (file)
@@ -10,6 +10,9 @@
        <param name="rules" type="string" _gui-text="Rules">F=FF-[-F+F+F]+[+F-F-F]</param>
     <effect>
                <object-type>all</object-type>
+                <effects-menu>
+                    <submenu _name="Render"/>
+                </effects-menu>                                                                
     </effect>
     <script>
         <command reldir="extensions" interpreter="python">lindenmayer.py</command>
index 46f7e70823f334b38616df26c335ee0856af957c..e26b693b279a97e5198115ab0121c82c30288177 100644 (file)
@@ -1,12 +1,15 @@
 <inkscape-extension>
-    <_name>Motion</_name>
+    <_name>Extrude</_name>
     <id>org.ekips.filter.motion</id>
        <dependency type="executable" location="extensions">motion.py</dependency>
        <dependency type="executable" location="extensions">inkex.py</dependency>
        <param name="magnitude" type="float" min="0" max="1000" _gui-text="Magnitude">100</param>
-       <param name="angle" type="float" min="0.0" max="360.0" _gui-text="Direction">45</param>
+       <param name="angle" type="float" min="0.0" max="360.0" _gui-text="Angle">45</param>
     <effect>
                <object-type>path</object-type>
+                <effects-menu>
+                    <submenu _name="Generate from Path"/>
+                </effects-menu>
     </effect>
     <script>
         <command reldir="extensions" interpreter="python">motion.py</command>
index 55578547742637cf24cf5a6ba028d4a6ebe82379..88bfbe596c6ba9d423b6c9f886888ae0da47ba7f 100644 (file)
@@ -4,10 +4,13 @@
        <dependency type="executable" location="extensions">radiusrand.py</dependency>
        <dependency type="executable" location="extensions">inkex.py</dependency>
        <param name="radius" type="float" min="0.0" max="1000.0" _gui-text="Radius">100.0</param>
-       <param name="end" type="boolean" _gui-text="Randomize Nodes">true</param>
-       <param name="ctrl" type="boolean" _gui-text="Randomize Control Points">false</param>
+       <param name="end" type="boolean" _gui-text="Randomize nodes">true</param>
+       <param name="ctrl" type="boolean" _gui-text="Randomize node handles">false</param>
    <effect>
                <object-type>path</object-type>
+                <effects-menu>
+                    <submenu _name="Modify Path"/>
+                </effects-menu>
    </effect>
    <script>
        <command reldir="extensions" interpreter="python">radiusrand.py</command>
index 9832725d963d0d1cec72fba7b79e722d36ee6143..55836e05653157503c2317965c7f06ed2766fc14 100644 (file)
@@ -3,10 +3,13 @@
     <id>org.ekips.filter.turtle.rtree</id>
        <dependency type="executable" location="extensions">rtree.py</dependency>
        <dependency type="executable" location="extensions">inkex.py</dependency>
-       <param name="size" type="float" min="0.0" max="1000.0" _gui-text="Initial Size">100.0</param>
-       <param name="minimum" type="float" min="0.0" max="500.0" _gui-text="Minimum Size">40.0</param>
+       <param name="size" type="float" min="0.0" max="1000.0" _gui-text="Initial size">100.0</param>
+       <param name="minimum" type="float" min="0.0" max="500.0" _gui-text="Minimum size">40.0</param>
     <effect>
                <object-type>all</object-type>
+                <effects-menu>
+                    <submenu _name="Render"/>
+                </effects-menu>                                            
     </effect>
     <script>
         <command reldir="extensions" interpreter="python">rtree.py</command>
index 490efd187268b35611275c29224ade13bd7f3a46..7b6ad9bdfb9bb8bc018a27de0e5b12b255e14cde 100644 (file)
@@ -7,6 +7,9 @@
        <param name="behavior" type="int" min="1" max="2" _gui-text="Behavior">1</param>
     <effect>
                <object-type>path</object-type>
+                <effects-menu>
+                    <submenu _name="Modify Path"/>
+                </effects-menu>
     </effect>
     <script>
         <command reldir="extensions" interpreter="python">straightseg.py</command>
index 82b140b26fb84bcbde4ff9255ec35c63db68bdb4..e08d65fda2e467355f60cf2108b06febd0fe3adc 100644 (file)
@@ -1,10 +1,13 @@
 <inkscape-extension>
-    <_name>Summer's Night</_name>
+    <_name>Envelope</_name>
     <id>org.ekips.filter.summersnight</id>
        <dependency type="executable" location="extensions">summersnight.py</dependency>
        <dependency type="executable" location="extensions">inkex.py</dependency>
     <effect>
-               <object-type>path</object-type>
+       <object-type>path</object-type>
+        <effects-menu>
+            <submenu _name="Modify Path"/>
+        </effects-menu>
     </effect>
     <script>
         <command reldir="extensions" interpreter="python">summersnight.py</command>
index cac34c3ad5e099cc926730ee9f3ecf27afebae0e..5d9a2365af0c73b4a044c509359be3ab7f269c24 100644 (file)
@@ -10,9 +10,9 @@
        <param name="fpofx" type="string" _gui-text="First derivative">cos(x)</param>
     <effect>
                <object-type>rect</object-type>
-               <effects-menu>
-                       <submenu _name="Render" />
-               </effects-menu>
+                <effects-menu>
+                        <submenu _name="Render"/>
+                </effects-menu>
     </effect>
     <script>
         <command reldir="extensions" interpreter="python">wavy.py</command>
index 5b7069d33607da3da5e378f7a282efef3748867c..a92d50328a8cfefd370161451861af9cf952e760 100644 (file)
@@ -5,10 +5,13 @@
        <dependency type="executable" location="extensions">inkex.py</dependency>
        <param name="centerx" type="float" min="0.0" max="10000.0" _gui-text="Center X">100.0</param>
        <param name="centery" type="float" min="0.0" max="10000.0" _gui-text="Center Y">100.0</param>
-       <param name="whirl" type="float" min="0.00" max="1000.00" _gui-text="Amount of Whirl">100.0</param>
-       <param name="rotation" type="boolean" _gui-text="Direction of Rotation">true</param>
+       <param name="whirl" type="float" min="0.00" max="1000.00" _gui-text="Amount of whirl">100.0</param>
+       <param name="rotation" type="boolean" _gui-text="Direction of rotation">true</param>
     <effect>
                <object-type>path</object-type>
+                <effects-menu>
+                    <submenu _name="Modify Path"/>
+                </effects-menu>
     </effect>
     <script>
         <command reldir="extensions" interpreter="python">whirl.py</command>
index 3ae78b91fcbdb23750acc6c7932dbb6353649c8b..cbfe906ee6b23f5c852d1d437602c0efb2574ca1 100644 (file)
@@ -139,7 +139,7 @@ BlurEdge::init (void)
             "<effect>\n"
                 "<object-type>all</object-type>\n"
                 "<effects-menu>\n"
-                    "<submenu name=\"" N_("Enhance Path") "\" />\n"
+                    "<submenu name=\"" N_("Generate from Path") "\" />\n"
                 "</effects-menu>\n"
             "</effect>\n"
         "</inkscape-extension>\n" , new BlurEdge());