Wed, 09 Mar 2022 14:07:58 +0200
Simplify parsing (removed header parsing)
Removed ldraw::Comment (MetaCommand handles line type 0)
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" viewBox="0 0 512 512" version="1.1" id="svg22" sodipodi:docname="renderstyle-randomcolors.svg" inkscape:version="1.0.2 (e86c870879, 2021-01-15)"> <metadata id="metadata28"> <rdf:RDF> <cc:Work rdf:about=""> <dc:format>image/svg+xml</dc:format> <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> <dc:title></dc:title> </cc:Work> </rdf:RDF> </metadata> <defs id="defs26" /> <sodipodi:namedview pagecolor="#ffffff" bordercolor="#666666" borderopacity="1" objecttolerance="10" gridtolerance="10" guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-width="1920" inkscape:window-height="970" id="namedview24" showgrid="false" inkscape:zoom="0.5469029" inkscape:cx="300.3555" inkscape:cy="72.382402" inkscape:window-x="0" inkscape:window-y="29" inkscape:window-maximized="1" inkscape:current-layer="svg22" /> <path style="fill:#80ff80;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1" d="M 256,263.98999 443,153.99 443.48098,354.94764 256,463.98999 V 263.99" id="path857" /> <path style="fill:#ffff40;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1" d="m 69,153.99 187,110 V 463.98999 L 75.234572,364.48702 63.051018,324.06147 69,153.99" id="path855" /> <path style="fill:#80a0ff;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1" d="M 69,153.99 247.09884,42.697167 269.2517,47.173927 443,153.99 l -187,110 z" id="path30" /> <path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M448,341.37V170.61A32,32,0,0,0,432.11,143l-152-88.46a47.94,47.94,0,0,0-48.24,0L79.89,143A32,32,0,0,0,64,170.61V341.37A32,32,0,0,0,79.89,369l152,88.46a48,48,0,0,0,48.24,0l152-88.46A32,32,0,0,0,448,341.37Z" id="path2" /> <polyline fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" points="69 153.99 256 263.99 443 153.99" id="polyline4" /> <line fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" x1="256" y1="463.99" x2="256" y2="263.99" id="line6" /> <ellipse cx="256" cy="152" rx="24" ry="16" id="ellipse8" /> <ellipse cx="208" cy="296" rx="16" ry="24" id="ellipse10" /> <ellipse cx="112" cy="328" rx="16" ry="24" id="ellipse12" /> <ellipse cx="304" cy="296" rx="16" ry="24" id="ellipse14" /> <ellipse cx="400" cy="240" rx="16" ry="24" id="ellipse16" /> <ellipse cx="304" cy="384" rx="16" ry="24" id="ellipse18" /> <ellipse cx="400" cy="328" rx="16" ry="24" id="ellipse20" /> </svg>