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_eggbot_twist.inx

38 lines
1.2 KiB
Plaintext
Raw Normal View History

2020-07-31 01:09:23 +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>Twist</name>
2020-07-31 01:09:23 +02:00
<id>fablabchemnitz.de.twist</id>
2020-08-07 20:19:46 +02:00
<param name="Header" type="description" xml:space="preserve">
2020-07-31 01:09:23 +02:00
Iteratively twist and self-inscribe
a polygon within itself.
The number of twists is how many
iterations to perform.
The step ratio is the fractional
distance along an edge to move each
vertex.
***
This extension is intended as an
example of how to write an Inkscape
extension for use with the Eggbot.
See the eggbot_twist.py file in the
Inkscape extensions directory for
this extensions' Python code.
***
2020-08-07 20:19:46 +02:00
</param>
<param name="nSteps" type="int" min="1" max="100" gui-text=" Number of twists">8</param>
<param name="fRatio" type="float" min="-10" max="10" precision="5" gui-text=" Step ratio">0.15</param>
2020-07-31 01:09:23 +02:00
<effect needs-live-preview="true">
<object-type>all</object-type>
<effects-menu>
2020-08-07 20:19:46 +02:00
<submenu name="FabLab Chemnitz">
<submenu name="Shape/Pattern from existing Path(s)"/>
2020-07-31 01:09:23 +02:00
</submenu>
</effects-menu>
</effect>
<script>
<command reldir="extensions" interpreter="python">fablabchemnitz_eggbot_twist.py</command>
</script>
</inkscape-extension>