Save As Scalable Vector Graphics
(by Laurent Delrieu)
Plug-in to export some Rhino 5 objects to SVG
Support Email

Plug-in to export some Rhino objects to SVG 1.1.

This utility for Rhinoceros 5.0/6.0 can be used by :

First. Menu File->Save As…->Scalable Vector Graphics (*.svg)

Second. Menu File->Export Selected…->Scalable Vector Graphics (*.svg)

Last. Command SaveAsSVG


Lines width and point size are in millimeters, so if unit of the project is bigger than mm, curves can appears in the canvas of the plugin (winform can't draw curves less than 1 pixel) and become very faint on other SVG viewer (Inkscape, Opera, Chrome …).

Point object is converted to circle or square.

Line is converted to Line SVG.

PolyLine is converted to PolyLine SVG.

Circle is converted to Circle SVG.

Nurbs curve is converted to Bezier SVG (using Rhino tolerance).

Hatch line is copied as Line SVG.

Brep is decomposed in surfaces which are decomposed on closed curves

Text could be converted to Bezier SVG or be SVG text (but not at the good scale and no vision of SVG text in the viewer).

Layers are converted to SVG group. Layers have the same organization as Rhino but rendering is the inverse of Rhino rendering order.

Limit angle allows to suppress curves that are on a plane with a certain angle related to point of view.  Beware 0° or more will suppress lines !  

This plug-ins is developed using the Rhino export template It uses Rhinocommon with C#, XMLdocument to put the SVG in memory, Winform for UI.

Comments are welcome, but be constructive. If you need a new implementation propose an user interface, variables you want …

I have tested this plug-ins, but it might contain still bugs. Please use it "as is", it does not come with warranties. I spent a lot of time developing the logic and implementing it, please give credit where credit is due.

To install:double click on RHI file.

If it isn't working change extension from rhi to zip, unzip, install rhp file. Don't forget to unblock the files.

Laurent Delrieu

License Cost:
Fourth release
Rhino 5 for Win
Third release
Rhino 5 for Win
Fourth release for Rhino 6
Rhino 6 for Win
Also by Laurent Delrieu