33 lines
1.9 KiB
Plaintext
33 lines
1.9 KiB
Plaintext
|
<?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>
|
||
|
<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>
|