Open myk3y opened 5 years ago
Hello, I also have exactly the same problem - I have everything set to mm but no matter what my settings show, the import/export dimensions don't match.
You need to adjust the "SVG Scale" setting (under Import/Export). See https://community.glowforge.com/t/deepnest-resizing-svg-files/30736
You need to adjust the "SVG Scale" setting (under Import/Export). See https://community.glowforge.com/t/deepnest-resizing-svg-files/30736
If you look at what I posted, I clearly put something in SVG scale.
It just doesn’t make sense. I only use mm, why would I want to scale my SVG from anything other than 1:1?
I don’t use Inkscape or Illustrator for creating SVG, so the recommendations of 72 or 90(?) don’t apply.
If I put 2.54 in as the ratio, it changes after setting to 2.5399999 - clearly indicating a rounding error.
I am not the only one with this problem - it just isn’t a reliable app.
I ditched the scaling and all and added a circle of, say, 10 mm to the graphic. After nesting and export, I can scale the whole thing back so that the circle again has 10 mm.
Same issue. When operating in mm the scaling is bit random. Changing the settings seems to have 0 impact. I was hoping to use canvas (or as referred in app - Sheet) as reference but it looks like output also crops/changes it. i.e. if i set 100x100 mm , it gets scaled down. But when i select it as sheet and save exported svg, it loses the original ratio/size and becomes the size of item layout:
Created svg in AI with square to be sheet and circle to fill it.
Imported (tested with various settings, same result) it shows already scaled down 75x75
and in output it loses the sheet size altogether, drops it to size that layout of items occupies.
I mean scaling is not as important as keeping the sheet size/object, then you can easily convert/scale post nesting.
Had the same issue; just set your units to mm to 10 and scaling is spot on. I do have another issue with SVG export (i like it better, since it doen't built up arcs from lines, but from circles) but that SVG has issues with the direction of circles.. Some circles are pointing the wrong direction..
You're right. I changed to 10mm and its working correctly.
Thanks. Great work.
May you please elaborate what you have done to get the exact dimensions?
It’s currently all over the place again, it’s not working with the export feature of Fusion stable. One time it works, the other update it’s down the drain again. For that reason only i moved away from deepnest. It’s a struggle every time i use it not being size accurate.
Op 22 sep. 2021, om 18:43 heeft amka-98 @.***> het volgende geschreven:
May you please elaborate what you have done to get the exact dimensions?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Jack000/Deepnest/issues/52#issuecomment-925100363, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACWUPLZWAA2BDK5ANXK5KIDUDIBRVANCNFSM4GZDVLBQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Same issue (basically makes the software unusable/unreliable. PLEASE FIX THIS!)
I tested by putting in a 100x100mm sample rectangle and found I got 283.5mm (hmm...). So ratio of 2.835 works as a workaround for me.
When importing a mm DXF file, from Sketchup or Fusion360 for example, the objects import as much larger than they are in the original drawing.
If I open the dxf file in Lightburn, the objects are exactly the right size. The shaded area is my cutting profile - 900mm x 600mm
If I import them into Deepnest, they are huge - those 1000+mm objects are actually 380mm
My settings are very straightforward
It looks like you have based your code on imperial units, instead of metric, which introduces all sorts of weirdness - if I change the SVG ratio to 2.54, as soon as I have done so, it changes all the previous settings as per:
The objects are closer to correct size, but still wrong: 424.,1mm vs the correct size of 380mm
Surely everything should be in mm internally, with only the import and export in inches if you were unfortunate enough to not learn about the metric system at school?
Performing ongoing inch/metric calculations introduces increasing errors, and when I am working on tolerances of 0.05mm, can get out of hand pretty quickly.