Join all paths of single parts and remove sublayers

This commit is contained in:
2025-05-24 14:29:45 +02:00
parent 5c7bfb5e5f
commit 8c0c1b0774

View File

@@ -31,7 +31,7 @@
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer6" />
inkscape:current-layer="layer4" />
<defs
id="defs1" />
<g
@@ -296,23 +296,11 @@
id="path1-3-2"
sodipodi:nodetypes="ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
inkscape:label="side" />
<g
inkscape:groupmode="layer"
id="layer5"
inkscape:label="top">
<path
d="m 195,160 v -4 h -10 v 4 h -10 v -4 h -10 v 4 h -10 v -4 h -10 v 4 h -10 v -4 h -10 v 4 h -10 v -4 h -10 v 4 H 95 v -4 H 85 v 4 H 70 v -15.00001 h 4 v -10 H 70 V 125 h 4 v -10 h -4 v -10 h 4 V 95 H 70 V 85 h 4 V 75 H 70 V 65 h 4 V 55 H 70 V 45 h 4 V 35 H 70 V 20 h 15 v 4 h 10 v -4 h 10 v 4 h 10 v -4 h 10 v 4 h 10 v -4 h 10 v 4 h 10 v -4 h 10 v 4 h 10 v -4 h 10 v 4 h 10 v -4 h 15 v 15 h -4 v 10 h 4 v 10 h -4 v 10 h 4 v 10 h -4 v 10 h 4 v 10 h -4 v 10 h 4 v 10 h -4 v 10 h 4 v 10 h -4 v 10 h 4 v 15 z"
style="fill:none;stroke:#00ff00;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
id="path1"
sodipodi:nodetypes="ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
inkscape:label="outer" />
<path
d="M 80,150 V 30 h 120 v 120 z"
style="fill:none;stroke:#00ff00;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
id="path1-6"
sodipodi:nodetypes="ccccc"
inkscape:label="inner" />
</g>
<path
id="path1-6"
style="fill:none;stroke:#00ff00;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
inkscape:label="top"
d="M 80,150 V 30 h 120 v 120 z m 115,10 v -4 h -10 v 4 h -10 v -4 h -10 v 4 h -10 v -4 h -10 v 4 h -10 v -4 h -10 v 4 h -10 v -4 h -10 v 4 H 95 v -4 H 85 v 4 H 70 v -15.00001 h 4 v -10 H 70 V 125 h 4 v -10 h -4 v -10 h 4 V 95 H 70 V 85 h 4 V 75 H 70 V 65 h 4 V 55 H 70 V 45 h 4 V 35 H 70 V 20 h 15 v 4 h 10 v -4 h 10 v 4 h 10 v -4 h 10 v 4 h 10 v -4 h 10 v 4 h 10 v -4 h 10 v 4 h 10 v -4 h 10 v 4 h 10 v -4 h 15 v 15 h -4 v 10 h 4 v 10 h -4 v 10 h 4 v 10 h -4 v 10 h 4 v 10 h -4 v 10 h 4 v 10 h -4 v 10 h 4 v 10 h -4 v 10 h 4 v 15 z" />
</g>
<g
inkscape:groupmode="layer"
@@ -324,63 +312,27 @@
id="path1-7"
sodipodi:nodetypes="ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
inkscape:label="top" />
<g
inkscape:groupmode="layer"
id="layer7"
inkscape:label="middle">
<path
d="m 69,389 h 24 v 4 h 20 v -4 h 20 v 4 h 21 v -4 h 20 v 4 h 20 v -4 h 20 v -20 h 4 v -20 h -4 v -20 h 4 v -21 h -4 v -20 h 4 v -20 h -4 v -20 h -20 v -4 h -20 v 4 h -20 v -4 h -21 v 4 h -20 v -4 H 93 v 4 H 69 v 15 h 4 v 10 h -4 v 10 h 4 v 10 h -4 v 10 h 4 v 10 h -4 v 10.99999 h 4 V 334 h -4 v 10.00001 h 4 v 10 h -4 v 10 h 4 v 10 h -4 z"
style="fill:none;stroke:#00ff00;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
id="path1-7-8"
sodipodi:nodetypes="ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
inkscape:label="outer" />
<path
d="M 83,379 V 258 h 121 v 121 z"
style="fill:none;stroke:#00ff00;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
id="path1-6-3"
sodipodi:nodetypes="ccccc"
inkscape:label="inner" />
</g>
<g
inkscape:groupmode="layer"
id="layer8"
inkscape:label="back">
<path
d="m 514,390 v -10 h 4 v -10 h -4 v -10 h 4 v -10 h -4 v -10 h 4 v -10 h -4 v -10 h -5 v -4 h -10 v 4 h -10 v -4 h -10 v 4 h -10 v -4 h -10 v 4 h -10 v -4 h -11 v 4 h -10 v -4 h -10.00001 v 4 h -10 v -4 h -10 v 4 h -10 v -4 h -10 v 4 H 373 v 10 h -4 v 10 h 4 v 10 h -4 v 10 h 4 v 10 h -4 v 10 h 4 v 10 z"
style="fill:none;stroke:#00ff00;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
id="path1-1"
sodipodi:nodetypes="ccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
inkscape:label="outer" />
<path
d="m 393,346 v 4 h 20 v -4 z m 40,0 v 4 h 21 v -4 z m 41,0 v 4 h 20 v -4 z"
style="fill:none;stroke:#00ff00;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
id="path1-65"
sodipodi:nodetypes="ccccccccccccccc"
inkscape:label="inner" />
</g>
<g
inkscape:groupmode="layer"
id="layer9"
inkscape:label="side">
<path
d="m 369,250 h 149 v -10 h -4 v -10 h 4 v -10 h -4 v -10 h 4 v -10 h -4 v -10 h 4 v -10 h -9 v -4 h -10 v 4 h -10 v -4 h -10 v 4 h -10 v -4 h -10 v 4 h -10 v -4 h -11 v 4 h -10 v -4 h -10 v 4 h -10 v -4 h -10 v 4 h -10 v -4 h -10 v 4 h -9 v 30 h 4 v 10 h -4 v 10 h 4 v 10 h -4 z"
style="fill:none;stroke:#00ff00;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
id="path1-7-2"
sodipodi:nodetypes="ccccccccccccccccccccccccccccccccccccccccccccccccccccc"
inkscape:label="outer" />
<path
d="m 393,206 v 4 h 20 v -4 z m 40,0 v 4 h 21 v -4 z m 41,0 v 4 h 20 v -4 z"
style="fill:none;stroke:#00ff00;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
id="path1-65-5"
sodipodi:nodetypes="ccccccccccccccc"
inkscape:label="inner" />
</g>
<path
d="M 514,305 H 373 v -10 h -4 v -10 h 4 v -10 h -4 v -10 h 19 v -4 h 10 v 4 h 10 v -4 h 10 v 4 h 10 v -4 h 10 v 4 h 10.99999 v -4 H 459 v 4 h 10.00001 v -4 h 10 v 4 h 10 v -4 h 10 v 4 H 518 v 10 h -4 v 10 h 4 v 10 h -4 z"
style="fill:none;stroke:#00ff00;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
id="path1-78"
sodipodi:nodetypes="ccccccccccccccccccccccccccccccccccccccccc"
inkscape:label="front" />
<path
id="path1-65-5"
style="fill:none;stroke:#00ff00;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
inkscape:label="side"
d="m 393,206 v 4 h 20 v -4 z m 40,0 v 4 h 21 v -4 z m 41,0 v 4 h 20 v -4 z m -105,44 h 149 v -10 h -4 v -10 h 4 v -10 h -4 v -10 h 4 v -10 h -4 v -10 h 4 v -10 h -9 v -4 h -10 v 4 h -10 v -4 h -10 v 4 h -10 v -4 h -10 v 4 h -10 v -4 h -11 v 4 h -10 v -4 h -10 v 4 h -10 v -4 h -10 v 4 h -10 v -4 h -10 v 4 h -9 v 30 h 4 v 10 h -4 v 10 h 4 v 10 h -4 z" />
<path
id="path1-65"
style="fill:none;stroke:#00ff00;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
inkscape:label="back"
d="m 393,346 v 4 h 20 v -4 z m 40,0 v 4 h 21 v -4 z m 41,0 v 4 h 20 v -4 z m 40,44 v -10 h 4 v -10 h -4 v -10 h 4 v -10 h -4 v -10 h 4 v -10 h -4 v -10 h -5 v -4 h -10 v 4 h -10 v -4 h -10 v 4 h -10 v -4 h -10 v 4 h -10 v -4 h -11 v 4 h -10 v -4 h -10.00001 v 4 h -10 v -4 h -10 v 4 h -10 v -4 h -10 v 4 H 373 v 10 h -4 v 10 h 4 v 10 h -4 v 10 h 4 v 10 h -4 v 10 h 4 v 10 z" />
<path
id="path1-6-3"
style="fill:none;stroke:#00ff00;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
inkscape:label="middle"
d="M 83,379 V 258 h 121 v 121 z m -14,10 h 24 v 4 h 20 v -4 h 20 v 4 h 21 v -4 h 20 v 4 h 20 v -4 h 20 v -20 h 4 v -20 h -4 v -20 h 4 v -21 h -4 v -20 h 4 v -20 h -4 v -20 h -20 v -4 h -20 v 4 h -20 v -4 h -21 v 4 h -20 v -4 H 93 v 4 H 69 v 15 h 4 v 10 h -4 v 10 h 4 v 10 h -4 v 10 h 4 v 10 h -4 v 10.99999 h 4 V 334 h -4 v 10.00001 h 4 v 10 h -4 v 10 h 4 v 10 h -4 z" />
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 15 KiB