Rhino SVG Export with Correct Physical Dimensions

Hi all,

I have seen several discussions in the forum regarding issues with SVG export from Rhino. Have these issues been resolved in the meantime?

I am using Rhino for 2D designs that are processed on an Epilog Fusion Pro 32 laser cutter.

My workflow is as follows:

Rhino → SVG → Epilog Print API → Epilog Fusion Pro 32

The Epilog Print API takes an SVG file containing the geometry and a JSON file containing the machine and process parameters, and uses these to generate and send a parameterized print job to the laser cutter.

My current issue is that SVG files exported from Rhino do not preserve the physical dimensions of the Rhino geometry reliably. As a workaround, I currently have to determine the geometry’s bounding box and rescale the SVG accordingly.

What I would like instead is a dimensionally accurate SVG export directly from Rhino, i.e.:

10 mm × 10 mm in Rhino → 10 mm × 10 mm in the exported SVG

without any additional scaling or mm-to-pixel-to-mm conversion.

Is there currently a recommended or native Rhino solution for exporting SVG files with exact physical dimensions in millimeters?

Kind regards,
Christian

Hello

exporting SVG for fabrication was always not very good, I thought it was resolved. I made a tool for R5 and R6 that but as it was old and not working on R8 I didn’t redo it and remove it for Food4Rhino. Perhaps with AI I could make a R8/R9 version !

My global understanding is that Rhino team consider SVG as a PDF/doc … a drawing in a document and not as an industrial 2D format (like dxf …) that is not really attached to a document (A0, A1 …). For all laser stuff I just use DXF.

Good luck.

Hello

I still use the Rhino 6 plugin and for me it still works … Also in Rhino 8 :wink:

After exporting .svg I open it in Inkscape and “print” it out of Inkscape. Works fine with correct dimensions.

Thanks for the tip, I’ll put it back of F4R and add your tip. I feel a little dumb, I stopped using it because it was not working! But I was mainly for sclupteo and now I have my laser that works better with dxf.

Hi Christian,

The default units in SVG are Points (72 Points = 1 inch). So if I create a 1000 x 1000 mm square Rhino will effectively export it as 2834.646 x 2834.646 points. If I import it into Rhino it creates a 1000 x 1000 mm square, accurate to 3 decimal places.

The key things to keep in mind:

  1. Create four points at the corners of a 32" x 20" rectangle representing the bed of your Epilog. Keep all your drawing elements within the rectangle.
  2. In the Save dialog, set Destination as Custom, sized at 32" x 20"
  3. Select View by Extents.
  4. Set the Scale to 1:1
  5. Set the Margins to 0
  6. Save
  7. Optional: Create a new Rhino file and import the SVG - check the dimensions match the originals.

Assuming the dimensions survived the round trip, the file is accurate and should load correctly into the Epilog. If you still see problems there then it’s likely the problem is in the Epilog API.

HTH
Jeremy