OpenBuilds / OpenBuilds-CAM

Online CNC CAM System
https://cam.openbuilds.com
GNU Affero General Public License v3.0
253 stars 617 forks source link

Inkscape 1.0 svg resolution #67

Closed lolivz closed 4 years ago

lolivz commented 4 years ago

Openbuilds-CAM doesn't import svg files created with Inkscape 1.0 at 96 dpi but uses 90 dpi In Inkscape 1.0 svg file, there is no <!-- Created with Inkscape (http://www.inkscape.org/) --> line in XML Header. If I add this line in the svg, it's ok, files are now imported at 96dpi.

petervanderwalt commented 4 years ago

Post a couple sample files please

lolivz commented 4 years ago

You'll find 2 identical svg files in this zip : one created with Inkscape 0.92.5, the other with Inkscape 1.0

inkscape.zip

petervanderwalt commented 4 years ago

Alright, will check it out. Found a header we can fingerprint: inkscape:version="1.0 (4035a4fb49, 2020-05-01)"

petervanderwalt commented 4 years ago

Give it a go, and re-open if you have any issues

lolivz commented 4 years ago

It's ok now, many thanks !