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_travel.inx
2020-08-30 12:36:33 +02:00

45 lines
2.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Travel</name>
<id>fablabchemnitz.de.travel</id>
<param name="active-tab" type="notebook">
<page name="options" gui-text="Options">
<param name="x_scale" type="float" max="10000" precision="3" gui-text="X scale:">1</param>
<param name="y_scale" type="float" max="10000" precision="3" gui-text="Y scale:">1</param>
<param name="t_start" type="float" max="10000" min="-10000" precision="4" gui-text="start time">0</param>
<param name="t_end" type="float" max="10000" min="-10000" precision="4" gui-text="end time">1</param>
<param name="timing" type="description" xml:space="preserve">
Specify one of the following:
</param>
<param name="n_steps" type="int" max="1000" gui-text="number of steps">11</param>
<param name="fps" type="float" max="1000" precision="3" gui-text="fps">0</param>
<param name="dt" type="float" max="1000" precision="5" gui-text="time interval">0</param>
<param name="eqns" type="description" xml:space="preserve">
Enter Python-interpretable equations as function of t.
</param>
<param name="x_eqn" type="string" gui-text="x(t) = ">t</param>
<param name="y_eqn" type="string" gui-text="y(t) = ">0</param>
<param name="x_size_eqn" type="string" gui-text="x_size(t) = ">1</param>
<param name="y_size_eqn" type="string" gui-text="y_size(t) = ">1</param>
<param name="theta_eqn" type="string" gui-text="theta(t) (in degrees) = ">0</param>
</page>
<page name="help" gui-text="Help">
<param name="help" type="description" xml:space="preserve">
Copy an object along a precise parametric trajectory.
See https://github.com/rkp8000/inkscape-travel for instructions and usage examples.
</param>
</page>
</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="FabLab Chemnitz">
<submenu name="Shape/Pattern from existing Path(s)"/>
</submenu>
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_travel.py</command>
</script>
</inkscape-extension>