I use openSCAD, do a projection, export to SVG and upload to Glowforge. If I make a rectangle 25.4 x 50.8 I expect to get something that is 1 x 2 inches when cut, but it is WAY smaller. In order to get things to come out right I have to use 95.62 units in OpenSCAD to get an inch in Glowforge. (this was determined by printing out rulers and measuring the distance between ticks)
I took the SVG file and opened it in inkscape and got exactly the dimensions as shown in OpenSCAD, but when cut with the Glowforge, they are almost 4 times smaller.
Is there some really strange conversion factor being applied to an SVG from OpenSCAD?
I’m using Glowforge to make engineering devices and I need them to fit to fairly close tolerances, this bizarre conversion just doesn’t seem right.
Other people seem to get OpenSCAD to cut properly so it must be something I’m doing wrong, but I don’t know what it is.
I have no idea about OpenSCAD, but I did find that when using InkScape (on Windows 10), saving as an inkscape SVG file caused some shrinkage when importing into the GFUI. When I save as a “PLAIN” SVG in inkscape, the import works at the intended size.
I don’t know if there is something similar that happens with OpenSCAD, but I would suggest looking for an alternative (plain) SVG format.
OpenSCAD version 2015.03 doesn’t include units in the svg export at all. If you grab the latest development snapshot at the bottom of the downloads page version 2018.0X it will export with sizing in mm. In which case the scaling should be correct… maybe.
I think the 20x12 is a work around for files that don’t specify the units. People have suggested any 5:3 ratio will work and gets scaled up to 20x12. If mm or inches are specified the GFUI will get the right size and it doesn’t need to be 20x12.
Having it 20x12 though does cause its position in the GFUI to be fixed.
Yep, I was just doing this earlier today. Much smaller when uploaded directly. When I imported to inkscape, I saw that my 140-mm object was now 140 pixels across, i.e about 37mm. I guess I’ll have to go get another development version. Easy enough to fix, but annoying.
Whee! I hid my copy of the release version and fired up openscad-nightly (the not nightly at all automatic development build snapshot) and everything was fine. Now if only they let you pick colors for the SVG…