forked from fablabnbg/inkscape-silhouette
-
Notifications
You must be signed in to change notification settings - Fork 0
/
eggbot_hatch.inx
executable file
·63 lines (56 loc) · 2.45 KB
/
eggbot_hatch.inx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Hatch fill</_name>
<id>command.eggbot.contributed.eggbot_hatch</id>
<dependency type="extension">org.inkscape.output.svg.inkscape</dependency>
<dependency type="executable" location="extensions">eggbot_hatch.py</dependency>
<dependency type="executable" location="extensions">inkex.py</dependency>
<dependency type="executable" location="extensions">simplepath.py</dependency>
<dependency type="executable" location="extensions">simpletransform.py</dependency>
<dependency type="executable" location="extensions">simplestyle.py</dependency>
<dependency type="executable" location="extensions">cubicsuperpath.py</dependency>
<dependency type="executable" location="extensions">cspsubdiv.py</dependency>
<dependency type="executable" location="extensions">bezmisc.py</dependency>
<_param name="Header" type="description" xml:space="preserve">
This extension fills each closed
figure in your drawing with straight
back and forth hatch lines. If one
or more figures are selected, then
only those figures will be filled.
Hatched figures will be grouped with
their fills.
For smoothly flowing, continuous
line fills, use the Path Effect
Editor's "Hatches (rough)" effect
and the EggBot extension "Preset
hatch for fills...". This extension
is not controlled by the "Preset
hatch for fills..." extension.
Hatch line angles are measured from
horizontal: 0 is horizontal and 90
is vertical.
Hatch spacing is the distance between
hatch lines measured in units of motor
steps.
A hatch margin can be specified, to
reduce overlap of pen strokes
between hatches and outline.
</_param>
<param name="hatchAngle" type="float" min="-360" max="360"
_gui-text=" Hatch angle (degrees)">90</param>
<param name="hatchSpacing" type="float" min="0" max="1000"
_gui-text=" Hatch spacing (steps)">6.0</param>
<param name="hatchMargin" type="float" min="0" max="1000"
_gui-text=" Hatch margin (steps)">3.0</param>
<param name="crossHatch" type="boolean"
_gui-text=" Crosshatch?">false</param>
<effect needs-live-preview="false">
<object-type>all</object-type>
<effects-menu>
<submenu _name="EggBot Contributed"/>
</effects-menu>
</effect>
<script>
<command reldir="extensions" interpreter="python">eggbot_hatch.py</command>
</script>
</inkscape-extension>