svg2gcode
svg2gcode copied to clipboard
Show warning(s) when an SVG is missing important information
The resulting gcode for this svg has dimensions that are 0.00something. I assume svg2gcode does not like the width/height/viewbox setting here?
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 2481 3508" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">
<rect x="414.339" y="605.03" width="1722.03" height="1487.66" style="fill:none;stroke:black;stroke-width:1px;"/>
<path d="M787.051,991.288C787.051,991.288 1281.03,963.267 1402.26,1022.86C1505.39,1073.56 1514.44,1348.86 1514.44,1348.86L919.849,1254.57" style="fill:none;stroke:black;stroke-width:1px;"/>
</svg>
G21
G90;svg > rect
G0 X0.022393681679969593 Y0.07006408019764349
G1 X0.06395540916001521 Y0.07006408019764349 F300
G1 X0.06395540916001521 Y0.03415894526795895 F300
G1 X0.022393681679969593 Y0.03415894526795895 F300
G1 X0.022393681679969593 Y0.07006408019764349 F300;svg > path
G0 X0.03138920125427594 Y0.06074162371721779
G1 X0.03771610979665527 Y0.06089998453534777 F300
G1 X0.04623746104142911 Y0.059979623717217774 F300
G1 X0.04894496009122006 Y0.052111512732801214 F300
G1 X0.03459432212086659 Y0.054387231090839976 F300