add icon to offset_paths

This commit is contained in:
Mario Voigt 2025-06-02 15:49:05 +02:00
parent 7489080291
commit f6a1eef454
2 changed files with 70 additions and 0 deletions

View File

@ -0,0 +1,68 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="100.0px"
height="100.0px"
viewBox="0 0 100.0 100.0"
version="1.1"
id="svg2051"
inkscape:version="1.4.2 (1:1.4.2+202505120737+ebf0e940d0)"
sodipodi:docname="icon.svg"
inkscape:export-filename="icon.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#">
<sodipodi:namedview
id="namedview2053"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="false"
inkscape:document-units="px"
showgrid="false"
inkscape:showpageshadow="false"
inkscape:snap-tangential="true"
inkscape:snap-perpendicular="true"
inkscape:deskcolor="#ffffff"
inkscape:lockguides="true"
inkscape:zoom="3.6629371"
inkscape:cx="19.24685"
inkscape:cy="60.197594"
inkscape:window-width="1920"
inkscape:window-height="1008"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg2051"
inkscape:export-bgcolor="#ffffffff" />
<defs
id="defs2048" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="scale(3.77953, 3.77953)" />
<metadata
id="metadata2118">
<rdf:RDF>
<cc:Work
rdf:about="" />
</rdf:RDF>
</metadata>
<path
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#00a2bf;stroke-width:1.06583;stroke-dasharray:none;stroke-opacity:1"
d="M 15.288306,42.588777 54.128747,20.16422 19.931635,79.395313 50.784634,61.582367 83.944543,80.727194"
id="path13" />
<path
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.06583;stroke-dasharray:none;stroke-opacity:1"
d="M 34.104692,65.221432 50.783934,55.59103 91.030248,78.827095 85.843132,87.812762 50.783934,67.571027 5.759264,93.566861 39.953988,34.338623 13.39109,49.676115 8.2027384,40.691835 68.300844,5.9918492 Z"
id="path12" />
</svg>

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -73,6 +73,8 @@
<submenu name="Shape/Pattern from existing Path(s)"/>
</submenu>
</effects-menu>
<menu-tip>Create offset for open or closed paths from non-bezier paths (destructive method).</menu-tip>
<icon>icon.svg</icon>
</effect>
<script>
<command location="inx" interpreter="python">offset_paths.py</command>