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

49 lines
3.0 KiB
Plaintext
Raw Normal View History

2020-08-04 23:47:56 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
2020-08-13 14:51:38 +02:00
<name>_Hatch Fill</name>
2020-08-04 23:47:56 +02:00
<id>fablabchemnitz.de.hatchfill</id>
<param name="tab" type="notebook">
2020-08-13 14:51:38 +02:00
<page name="splash" gui-text="Hatch Fill">
<param name="Header" type="description" xml:space="preserve">
2020-08-04 23:47:56 +02:00
This extension fills each closed figure in your drawing with a path consisting of back and forth drawn "hatch" lines. If any objects are selected, then only those selected objects will be filled.
Hatched figures will be grouped with their fills.
2020-08-13 14:51:38 +02:00
</param>
<param name="hatchSpacing" type="float" min="0.1" max="1000" gui-text="Hatch spacing">3.0</param>
<param name="hatchAngle" type="float" min="-360" max="360" gui-text="Hatch angle (degrees)">45</param>
<param name="crossHatch" type="bool" gui-text="Crosshatch?">false</param>
<param name="reducePenLifts" type="bool" gui-text="Connect nearby ends?">true</param>
<param name="hatchScope" type="float" min="0.1" max="10.0" gui-text="Range of end connections (default: 3)">3.0</param>
<param name="holdBackHatchFromEdges" type="bool" gui-text="Inset fill from edges?">true</param>
<param name="holdBackSteps" type="float" min="0.1" max="10.0" gui-text="Inset distance (default: 1)">1.0</param>
<param name="tolerance" type="float" min="0.1" max="100" gui-text="Tolerance (default: 3.0)">3.0</param>
2020-08-04 23:47:56 +02:00
<param name="footer" type="description" xml:space="preserve">(v0.9.0b, July, 2020)</param>
</page>
2020-08-13 14:51:38 +02:00
<page name="info" gui-text="More info...">
<param name="aboutpage" type="description" xml:space="preserve">Hatch spacing is the distance between hatch lines, measured in units of screen pixels (px). Angles are in degrees from horizontal; for example 90 is vertical.
2020-08-04 23:47:56 +02:00
The Crosshatch option will apply a second set of hatches, perpendicular to the first.
The "Connect nearby ends" option will attempt to connect nearby line ends with a smoothly flowing curve, to improve the smoothness of plotting.
The Range parameter sets the distance (in hatch widths)over which that option searches for segments to join. Large values may result in hatches where you don't want them. Consider using a value in the range of 2-4.
The Inset option allows you to hold back the edges of the fill somewhat from the edge of your original object. This can improve performance, as it allows you to more reliably "color inside the lines" when using pens.
The hatches will be the same color and width as the original object.
2020-08-13 14:51:38 +02:00
The Tolerance parameter affects how precisely the hatches try to fill the input paths.</param>
2020-08-04 23:47:56 +02:00
</page>
</param>
<effect needs-live-preview="true">
<object-type>all</object-type>
<effects-menu>
2020-08-13 14:51:38 +02:00
<submenu name="FabLab Chemnitz">
<submenu name="Shape/Pattern from existing Path(s)"/>
2020-08-04 23:51:13 +02:00
</submenu>
2020-08-04 23:47:56 +02:00
</effects-menu>
</effect>
<script>
<command interpreter="python" location="inx">fablabchemnitz_hatchfill.py</command>
</script>
</inkscape-extension>