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-0.92-deprecated/fablabchemnitz_sheriff_star.inx

45 lines
2.0 KiB
Plaintext
Raw Normal View History

2019-11-14 20:05:10 +01:00
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Sheriff Star</_name>
<id>fablabchemnitz.de.sheriff-star</id>
<dependency type="executable" location="extensions">fablabchemnitz_sheriff_star.py</dependency>
<dependency type="executable" location="extensions">inkex.py</dependency>
<param name="tab" type="notebook">
<page name="settings" _gui-text="Settings">
<param name="points" type="int" min="5" max="10" _gui-text="Num Points">6</param>
<param name="star-tip-ratio" type="int" min="1" max="100" _gui-text="Star Tip Circle Percentage">10</param>
<param name="inner-ratio" type="int" min="1" max="100" _gui-text="Inner Circle Percentage">58</param>
<param name="show-inner-circle" type="boolean" _gui-text="Show Inner Circle">false</param>
</page>
<page name="help" _gui-text="Help">
<_param name="help_info" type="description">
This extension creates a sheriff star in the currently selected circle or ellipse.
The outer vertices (points of the star) are connected through a point on the (usually hidden) inner circle. This inner connection point is located at an angle halfway between the angles of the two outer vertices. The radius of this inner circle is expressed as a percentage of the radius of the selected circle or ellipse.
Small circles are placed at the tip of each point of the star. The radius of these small circles is expressed as a percentage of the selected circle's radius (for ellipses, the x-radius is used).
The components that make up the star are left as separate objects so that additional processing can be performed.
</_param>
</page>
</param>
<effect>
<object-type>path</object-type>
<effects-menu>
<submenu _name="FabLab Chemnitz">
<submenu _name="Shape/Pattern from existing Object(s)"/>
</submenu>
</effects-menu>
</effect>
<script>
<command reldir="extensions" interpreter="python">fablabchemnitz_sheriff_star.py</command>
</script>
</inkscape-extension>