64 lines
3.6 KiB
XML
64 lines
3.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
|
<_name>Zoetrope</_name>
|
|
<id>fablabchemnitz.de.zoetrope</id>
|
|
<param name="active-tab" type="notebook">
|
|
<page name="title" _gui-text="Dimensions ">
|
|
<param name="units" type="optiongroup" appearance="minimal" _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">12</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">3</param>
|
|
<param name="stroke_width" type="float" min="0.001" precision="2" max="12" _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="boolean" _gui-text="Include trigger ring">true</param>
|
|
<param name="triggerradius" type="float" min="1" max="600" _gui-text="Radius of trigger ring">3</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.1</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.1</param>
|
|
</page>
|
|
<page name="image" _gui-text="Image Distortion ">
|
|
<param name="desc_unit" type="description">Show Image template.</param>
|
|
<param name="template" type="boolean" _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="FabLab Chemnitz">
|
|
<submenu _name="Shape/Pattern from Generator" />
|
|
</submenu>
|
|
</effects-menu>
|
|
</effect>
|
|
<script>
|
|
<command reldir="extensions" interpreter="python">fablabchemnitz_zoetrope.py</command>
|
|
</script>
|
|
</inkscape-extension> |