-
Notifications
You must be signed in to change notification settings - Fork 1
/
zoetrope.inx
64 lines (59 loc) · 3.27 KB
/
zoetrope.inx
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Zoetrope</name>
<id>neon22.zoetrope</id>
<dependency type="executable" location="extensions">zoetrope.py</dependency>
<!-- start notebook -->
<param name='active-tab' type="notebook">
<page name="title" gui-text="Dimensions ">
<param name="units" type="optiongroup" appearance="combo" gui-text="Units">
<option value="mm">mm</option>
<option value="cm">cm</option>
<option value="in">in</option>
<option value="pt">pt</option>
<option value="px">px</option></param>
<param name="diameter" type="float" min="3" max="1200" gui-text="Diameter of final disk">200</param>
<param name="divisions" type="int" min="2" max="180" gui-text="Number of images around the outside">24</param>
<param name="desc_unit" type="description">(Image is always on the outer edge)</param>
<param name="height" type="float" min="0.5" max="600" gui-text="Height of image">20</param>
<param name="stroke_width" type="float" min="0.001" max="12" precision="2" gui-text="Width of lines">0.1</param>
</page>
<page name="pulse" gui-text="Trigger Ring ">
<param name="desc_unit" type="description">Draws a ring of black pulse markers.</param>
<param name="trigger" type="bool" gui-text="Include trigger ring">true</param>
<param name="triggerradius" type="float" min="1" max="600" gui-text="Radius of trigger ring">30</param>
<param name="thick" type="float" min="0.1" max="100" gui-text="Thickness of trigger ring">3</param>
<param name="desc_unit" type="description">Ratio can define duration of trigger pulse.</param>
<param name="ratio" type="float" min="0.01" max="1" precision="2" gui-text="Trigger Ratio">0.2</param>
<param name="desc_unit" type="description">Phase is offset from division edge.</param>
<param name="phase" type="float" min="0.0" max="1" precision="2" gui-text="Trigger Phase">0.0</param>
</page>
<page name="image" gui-text="Image Distortion ">
<param name="desc_unit" type="description">Show Image template.</param>
<param name="template" type="bool" gui-text="Include Image and Distortion template">true</param>
<param name="dpi" type="int" min="10" max="600" gui-text="Example DPI to estimate image size">150</param>
</page>
<page name="Usage" gui-text="Help ">
<param name="use2" type="description" xml:space="preserve">This builds a Zoetrope for printing onto a spinning disk.
Define the final Diameter of the disk and how many images
appear around the circumference.
Additionally a circle of black pulse markers can be printed
to trigger a strobe. The width and phase of the markers can
be adjusted. The ring can be set at any radius.
Finally indicate dpi and draw a rectangular image template,
This, along with the distorted reference, can be used in a
paint program to prepare the images to fit on this Zoetrope.
</param>
</page>
</param>
<!-- classify which menu it appears under - can be new name -->
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu _name="Render"/> <!-- which menu under Extensions -->
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">zoetrope.py</command>
</script>
</inkscape-extension>