This repository has been archived on 2023-03-25. You can view files and clone it, but cannot push or open issues or pull requests.
mightyscape-1.1-deprecated/extensions/fablabchemnitz/fablabchemnitz_zoetrope.inx

62 lines
3.5 KiB
Plaintext
Raw Normal View History

2020-07-30 01:16:18 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
2020-08-07 20:19:46 +02:00
<name>Zoetrope</name>
2020-07-30 01:16:18 +02:00
<id>fablabchemnitz.de.zoetrope</id>
<param name="active-tab" type="notebook">
2020-08-07 20:19:46 +02:00
<page name="title" gui-text="Dimensions">
<param name="units" type="optiongroup" appearance="combo" gui-text="Units">
2020-07-30 01:16:18 +02:00
<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>
2020-08-07 20:19:46 +02:00
<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>
2020-07-30 01:16:18 +02:00
<param name="desc_unit" type="description">(Image is always on the outer edge)</param>
2020-08-07 20:19:46 +02:00
<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>
2020-07-30 01:16:18 +02:00
</page>
2020-08-07 20:19:46 +02:00
<page name="pulse" gui-text="Trigger Ring">
2020-07-30 01:16:18 +02:00
<param name="desc_unit" type="description">Draws a ring of black pulse markers.</param>
2020-08-07 20:19:46 +02:00
<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">3</param>
<param name="thick" type="float" min="0.1" max="100" gui-text="Thickness of trigger ring">3</param>
2020-07-30 01:16:18 +02:00
<param name="desc_unit" type="description">Ratio can define duration of trigger pulse.</param>
2020-08-07 20:19:46 +02:00
<param name="ratio" type="float" min="0.01" max="1" precision="2" gui-text="Trigger Ratio">0.1</param>
2020-07-30 01:16:18 +02:00
<param name="desc_unit" type="description">Phase is offset from division edge.</param>
2020-08-07 20:19:46 +02:00
<param name="phase" type="float" min="0.0" max="1" precision="2" gui-text="Trigger Phase">0.1</param>
2020-07-30 01:16:18 +02:00
</page>
2020-08-07 20:19:46 +02:00
<page name="image" gui-text="Image Distortion">
2020-07-30 01:16:18 +02:00
<param name="desc_unit" type="description">Show Image template.</param>
2020-08-07 20:19:46 +02:00
<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>
2020-07-30 01:16:18 +02:00
</page>
2020-08-07 20:19:46 +02:00
<page name="Usage" gui-text="Help">
<param name="use2" type="description" xml:space="preserve">This builds a Zoetrope for printing onto a spinning disk.
2020-07-30 01:16:18 +02:00
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.
2020-08-07 20:19:46 +02:00
</param>
2020-07-30 01:16:18 +02:00
</page>
</param>
<!-- classify which menu it appears under - can be new name -->
<effect>
<object-type>all</object-type>
<effects-menu>
2020-08-07 20:19:46 +02:00
<submenu name="FabLab Chemnitz">
<submenu name="Shape/Pattern from Generator"/>
2020-07-30 01:16:18 +02:00
</submenu>
</effects-menu>
</effect>
<script>
2020-08-13 14:51:38 +02:00
<command location="inx" interpreter="python">fablabchemnitz_zoetrope.py</command>
2020-07-30 01:16:18 +02:00
</script>
</inkscape-extension>