<g id="g3160"> <path style="fill:none;fill-opacity:0.194118;stroke:#ff0000;stroke-width:0.264583;stroke-linejoin:round;stroke-miterlimit:7.70054;stroke-opacity:1" d="M 50,60 100,120 M 50,60 V 200 L 100,120" id="path3128" /> <path d="M 130.0238,69.547617 150.43452,220.73808 91.470236,213.93451 177.6488,69.547617 Z" id="path3150" style="fill:none;fill-opacity:0.194118;stroke:#ff0000;stroke-width:0.264583;stroke-linejoin:round;stroke-miterlimit:7.70054;stroke-opacity:1" /> </g>
Save as "optimised SVG" (with the "convert CSS attributes to XLM attributes" option checked and the "collapse groups" and "create groups for similar attributes" unchecked) produces:
I have a SVG with two (ungrouped) paths.
Using "Save as Inkskape SVG" produces:
<g
id="g3160">
<path
style="fill:none;fill-opacity:0.194118;stroke:#ff0000;stroke-width:0.264583;stroke-linejoin:round;stroke-miterlimit:7.70054;stroke-opacity:1"
d="M 50,60 100,120 M 50,60 V 200 L 100,120"
id="path3128" />
<path
d="M 130.0238,69.547617 150.43452,220.73808 91.470236,213.93451 177.6488,69.547617 Z"
id="path3150"
style="fill:none;fill-opacity:0.194118;stroke:#ff0000;stroke-width:0.264583;stroke-linejoin:round;stroke-miterlimit:7.70054;stroke-opacity:1" />
</g>
Save as "optimised SVG" (with the "convert CSS attributes to XLM attributes" option checked and the "collapse groups" and "create groups for similar attributes" unchecked) produces:
<g fill="none" stroke="#f00" stroke-linejoin="round" stroke-miterlimit="7.7005" stroke-width=".26458">
<path d="m50 60 50 60m-50-60v140l50-80"/>
<path d="m130.02 69.548 20.411 151.19-58.964-6.8036 86.179-144.39z"/>
</g>
What I'd like to export is:
<path d="m50 60 50 60m-50-60v140l50-80" fill="none" stroke="#f00" stroke-linejoin="round" stroke-miterlimit="7.7005" stroke-width=".26458"/>
<path d="m130.02 69.548 20.411 151.19-58.964-6.8036 86.179-144.39z" fill="none" stroke="#f00" stroke-linejoin="round" stroke-miterlimit="7.7005" stroke-width=".26458"/>
Any ideas?
Thanks!
Seems to work here in v .92.2 (Win) and v 1.01 (Mint).
Describe your OS & version, the version of Inkscape and the installer you used.
I am on Win10 and on Inkscape v1.01. I don't remember if I used the exe or msi, is there a way to confirm that?
I just look at my downloads.
It was installed/updated using the msi by the "patch my pc" utility:
21/09/2020 12:59:22 - 2 App(s) to install or update...
21/09/2020 12:59:22 - Inkscape required an uninstallation before the latest update. Uninstalling Inkscape: C:\WINDOWS\system32\msiexec.exe /X{81922150-317E-4BB0-A31D-FF1C14F707C5} /qb
21/09/2020 12:59:25 - Download URL: https://media.inkscape.org/dl/resources/file/inkscape-1.0.1-x64.msi
21/09/2020 12:59:25 - Download Path: C:\PatchMyPCUpdates\Inkscape 1.0.1 (x64).msi
21/09/2020 12:59:25 - Download size: 123.55 MB
21/09/2020 12:59:25 - Download Starting for: https://media.inkscape.org/dl/resources/file/inkscape-1.0.1-x64.msi
21/09/2020 12:59:30 - Total download time in seconds: 4.93
21/09/2020 12:59:30 - Install Command: /qn REBOOT=ReallySuppress
21/09/2020 12:59:30 - Inkscape 1.0.1 (x64) Downloaded Successfully
21/09/2020 12:59:30 - Installing Inkscape 1.0.1 (x64) Silently
21/09/2020 13:01:01 - Install Successful for Inkscape 1.0.1 (x64)
Looks ok, but I might uninstall and reinstall manually anyway.