Jack000 / SVGnest

An open source vector nesting tool
MIT License
2.27k stars 378 forks source link

SVGNest does not import a circle #110

Open cecilchurms opened 1 year ago

cecilchurms commented 1 year ago

I have the following svg file: <?xml version="1.0" encoding="UTF-8"?>

When I upload it, SVGNest sees the two rectangles, but not the circle. Sometimes it does see a circle, but draws it at what seems to be a random location, with a random radius, and not in its proper place.

The file was created by LightBurn.

Any suggestions?

Thanks

cecilchurms commented 1 year ago

Still havn't managed to attach the entire file. I HAVE REPLACED '<' and '>' by [ and ]

[?xml version="1.0" encoding="UTF-8"?]

[svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="20.000mm" height="38.175mm" viewBox="174.000000 -290.175018 20.000000 38.175018"]

[rect transform="matrix(1,0,0,-1,184,-262)" style="stroke:#004754;stroke-width:0.05mm;fill:none" x="-10" y="-10" width="20" height="20"/]

[circle transform="matrix(1,0,0,-1,183.903,-283.825012)" style="stroke:#004754;stroke-width:0.05mm;fill:none" r="6.350001" cx="0" cy="0"/]

[rect transform="matrix(1,0,0,-1,183.903,-283.825012)" style="stroke:#004754;stroke-width:0.05mm;fill:none" x="-1.585" y="-3.809" width="3.17" height="7.618"/]

[/svg]