InkStitch - fills with programmable stitches: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 14: | Line 14: | ||
|cat_syllabus=InkStitch | |cat_syllabus=InkStitch | ||
}} | }} | ||
== Introduction == | |||
Ink/Stitch, as of summer 2018, provides support for four [[Embroidery stitch type]]<nowiki/>s: Lines, satin columns, tatami fills and manual stitches. Some embroidery software suites offer the possibility to fill in polygons with so-called programmable or speciality stitches, e.g. radial fills, hatches, little objects etc. | |||
Ink/Stitch does not plan to includes these in the near future. However you can use standard InkScape functionality to create some of these. In addition, there are some extensions of interest. | |||
== Using InkScape Patterns - does not work == | |||
According to avmjong Bah's [http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Attributes-Fill-Stroke.html#Attributes-Patterns Inkscape manual], Any object or set of objects can be turned into a ''Pattern'' and used in the fill of an object. The ''Pattern'' can be shifted, rotated, and stretched as necessary. Inkscape includes a set of ''Patterns'' accessible through the ''[http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Attributes.htmldialog Fill and Stroke]'' [http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Attributes.htmldialog dialog]. One either can use built-in patterns or use your own ones. | |||
Unfortunately, there is no way to translate a fill with pattern to paths since the pattern is considered a color. And, of course, Ink/stitch cannot handle colors as paths.<syntaxhighlight lang="python"> | |||
Traceback (most recent call last): | |||
File "inkstitch.py", line 20, in <module> | |||
if script_name.endswith('.py'): | |||
File "inkscape-0.92.2/share/extensions/inkex.py", line 283, in affect | |||
File "lib/extensions/embroider.py", line 84, in effect | |||
File "lib/stitch_plan/stitch_plan.py", line 28, in patches_to_stitch_plan | |||
File "lib/stitch_plan/stitch_plan.py", line 168, in color | |||
File "lib/threads/color.py", line 17, in __init__ | |||
ValueError: Invalid color: 'url(#pattern5514)' | |||
</syntaxhighlight>Other extensions, e.g. Generate from path -> Voronoi pattern are also using patterns as colors and cannot be used either. |
Revision as of 17:05, 23 July 2018
Introduction
Ink/Stitch, as of summer 2018, provides support for four Embroidery stitch types: Lines, satin columns, tatami fills and manual stitches. Some embroidery software suites offer the possibility to fill in polygons with so-called programmable or speciality stitches, e.g. radial fills, hatches, little objects etc.
Ink/Stitch does not plan to includes these in the near future. However you can use standard InkScape functionality to create some of these. In addition, there are some extensions of interest.
Using InkScape Patterns - does not work
According to avmjong Bah's Inkscape manual, Any object or set of objects can be turned into a Pattern and used in the fill of an object. The Pattern can be shifted, rotated, and stretched as necessary. Inkscape includes a set of Patterns accessible through the Fill and Stroke dialog. One either can use built-in patterns or use your own ones.
Unfortunately, there is no way to translate a fill with pattern to paths since the pattern is considered a color. And, of course, Ink/stitch cannot handle colors as paths.
Traceback (most recent call last):
File "inkstitch.py", line 20, in <module>
if script_name.endswith('.py'):
File "inkscape-0.92.2/share/extensions/inkex.py", line 283, in affect
File "lib/extensions/embroider.py", line 84, in effect
File "lib/stitch_plan/stitch_plan.py", line 28, in patches_to_stitch_plan
File "lib/stitch_plan/stitch_plan.py", line 168, in color
File "lib/threads/color.py", line 17, in __init__
ValueError: Invalid color: 'url(#pattern5514)'
Other extensions, e.g. Generate from path -> Voronoi pattern are also using patterns as colors and cannot be used either.