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/sundial_declining.inx
Mario Voigt 4175b377bd Refactored extension names by "rename 's/fablabchemnitz_//g' *.py;rename
's/fablabchemnitz_//g' *.inx;sed -i 's/>fablabchemnitz_/>/g' *.inx;sed
-i 's/fablabchemnitz_//g' *.py; rename 's/fablabchemnitz_//g' *.svg"
2020-09-03 00:35:27 +02:00

46 lines
2.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Sundial Declining</name>
<id>fablabchemnitz.de.sundialdeclining</id>
<param name="tab" type="notebook">
<page name="input" gui-text="Options">
<param name="desc1" type="description" appearance="header">Location coordinates</param>
<param name="latitude" type="float" min="10" max="70" precision="3" gui-text="Latitude: ">50</param>
<param name="longitude" type="float" min="-180" max="180" precision="3" gui-text="Longitude: ">16</param>
<param name="timezone" type="int" min="-12" max="12" precision="0" gui-text="Time zone: ">0</param>
<param name="summer_time" type="bool" gui-text="Summer time:">false</param>
</page>
<page name="input_2" gui-text="Add">
<param name="note1" type="description" appearance="header">Add 1</param>
<param name="gnom" type="float" min="10" max="50" precision="1" gui-text="Length of the gnomon: ">40</param>
<param name="decl" type="float" min="-90" max="90" precision="1" gui-text="Azimuth wall: ">40</param>
<param name="instructions" type="description" xml:space="preserve"> ( + West; - East)</param>
<param name="incl" type="float" min="-45" max="45" precision="1" gui-text="Slope of the wall: ">0</param>
<param name="instructions" type="description" xml:space="preserve"> ( + x; - x)</param>
</page>
<page name="input_3" gui-text="Draw">
<param name="note2" type="description" appearance="header">Add 2</param>
<param name="DL" type="optiongroup" appearance="combo" gui-text="Number of data lines:">
<option value="0">0</option>
<option value="3">3</option>
<option value="7">7</option>
</param>
</page>
</param>
<param name="instructions" type="description" xml:space="preserve">
* Latitude from +10 to +70
* Longitude (+ to E) from -180 to 180
* Time Zone (+ to E) from -12 to 12
</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="FabLab Chemnitz">
<submenu name="Shape/Pattern from Generator"/>
</submenu>
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">sundial_declining.py</command>
</script>
</inkscape-extension>