Inkscape Community
Help Using Inkscape => Beyond the Basics => Topic started by: efeu on November 18, 2016, 04:35:07 AM
-
Hi,
I'm wondering if there is a way to convert a fill pattern (hatch) to path on the CLI? Right now I do a fill in the svg like this way:
<pattern id="diagonalHatch" patternUnits="userSpaceOnUse" width="4" height="4">
<path d="M-1,1 l2,-2
M0,4 l4,-4
M3,5 l2,-2"
style="stroke:black; stroke-width:1" />
</pattern>
and then a:
fill="url(#diagonalHatch)"
Then I convert the svg to pbm and back to svg. It's quick'n'dirty I know, but I didnt find out any other way. Must be usable on Linux cli.
Anyone can help?
Regards
-
For this kind of hatches (vector paths instead of pattern), I'd use the extensions that are available for it (they work via commandline, but the execution of the command may require a graphical user interface), search for 'Eggbot hatch' or use the ones included in the Gcodetools. Or one could use the LPEs for hatches.