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/sheriff_star.inx

33 lines
1.9 KiB
Plaintext
Raw Normal View History

2020-07-30 01:16:18 +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>Sheriff Star</name>
2020-07-30 01:16:18 +02:00
<id>fablabchemnitz.de.sheriff-star</id>
<param name="tab" type="notebook">
2020-08-07 20:19:46 +02:00
<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="bool" gui-text="Show Inner Circle">false</param>
2020-07-30 01:16:18 +02:00
</page>
2020-08-07 20:19:46 +02:00
<page name="help" gui-text="Help">
2021-04-27 14:38:04 +02:00
<label xml:space="preserve">This extension creates a sheriff star in the currently selected circle or ellipse.
2020-07-30 01:16:18 +02:00
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).
2021-04-27 14:38:04 +02:00
The components that make up the star are left as separate objects so that additional processing can be performed.</label>
2020-07-30 01:16:18 +02:00
</page>
</param>
<effect>
<object-type>path</object-type>
<effects-menu>
2020-08-07 20:19:46 +02:00
<submenu name="FabLab Chemnitz">
<submenu name="Shape/Pattern from existing Object(s)"/>
2020-07-30 01:16:18 +02:00
</submenu>
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">sheriff_star.py</command>
2020-07-30 01:16:18 +02:00
</script>
</inkscape-extension>