File: spirograph.inx

package info (click to toggle)
inkscape 0.47.0-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 122,072 kB
  • ctags: 46,938
  • sloc: cpp: 349,791; ansic: 31,306; python: 14,868; xml: 6,613; sh: 5,041; makefile: 1,773; perl: 1,486; asm: 675; ruby: 148
file content (25 lines) | stat: -rw-r--r-- 1,353 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
    <_name>Spirograph</_name>
    <id>org.ekips.filter.spirograph</id>
	<dependency type="executable" location="extensions">spirograph.py</dependency>
	<dependency type="executable" location="extensions">inkex.py</dependency>
	<param name="primaryr" type="float" min="0.0" max="1000.0" _gui-text="R - Ring Radius (px)">100.0</param>
	<param name="secondaryr" type="float" min="0.0" max="1000.0" _gui-text="r - Gear Radius (px)">60.0</param>
	<param name="penr" type="float" min="0.0" max="1000.0" _gui-text="d - Pen Radius (px)">50.0</param>
    <param name="gearplacement" type="optiongroup" _gui-text="Gear Placement">
        <_option value="inside">Inside (Hypotrochoid)</_option>
        <_option value="outside">Outside (Epitrochoid)</_option>
    </param>
    <param name="rotation" type="float" min="-360.0" max="360.0" _gui-text="Rotation (deg)">0.0</param>
    <param name="quality" type="int" min="1" max="100" _gui-text="Quality (Default = 16)">16</param>
	<effect>
		<object-type>all</object-type>
		<effects-menu>
			<submenu _name="Render"/>
		</effects-menu>						    		
    </effect>
    <script>
        <command reldir="extensions" interpreter="python">spirograph.py</command>
    </script>
</inkscape-extension>