Hi there, I am encountering an issue in Open Cam. I have this SVG that has a width of 978 mm, made with Inkscape. (purple rectangle below for the width) To be sure I have rechecked the dimension in other softwares : In Blender : In LightBurn : (See the Width below) In all 3 softwares the width is 978 mm, so I am thinking that the file is correct size wise. However when I drop the file in OpenCam I get a width of 917 mm : Any help would be greatly appreciated. Thanks, Thomas.
To be sure I have also started a new project in Inkscape test_855.svg, that is 855 mm of width. when I open this file in OpenCam it changes to 801 mm of width.
Play with your DPI settings, or use DXF (proper dimension info in the file): OpenBuilds CAM assumed DPI from the standards for different applications and versions as below. One of the disadvantages of SVGs. Its unitless (pixels * dpi to reconstruct to actual mm/inch) whereas proper CAD formats like DXF does maintain measurement units as well. Code: if (editor == "inkscape") { if (version > 1.0) { resol = 96dpi } else if (version > 0.91) { resol = 90dpi } else { resol = 96dpi } } else if (editor == "illustrator") { resol = 72dpi } else if (editor == "Opentype.js") { resol = 57dpi } else { resol = 96dpi }
Thanks Peter, changing DPI has solved the issue. I have tried on WIN10 / Inkscape 0.92 I went to Extensions > Document > DPI 90 to 96 Saved the document In OpenCam it has now the correct size. On Linux Arch / Inkscape 1.1 works the same as in windows 10 : I went to Extensions > Document > DPI 90 to 96 Saved the document In OpenCam it has now the correct size.
Thats a super old version of Inkscape (2017) - try to stay more up to date to avoid issues. You should be on 1.1.x Download Inkscape 1.1 | Inkscape