32
$\begingroup$

Is it possible to convert/export 2D curves to an svg?

I know you could render it to a raster image and then convert it with inkscape/potrace, but it would be nice if you could keep the splines the way they are in blender.

$\endgroup$

1 Answer 1

34
$\begingroup$

You can try Liero's addon Viewport to SVG:

  • Download, install and enable add-on.
  • Add-on appears in properties panel of 3D View window (N).
  • Setup output directory
  • Check Bezier Overlay option
  • Select curve objects you want to export and hit "Export SVG"

The final shape is determined by point of view (perspective/orthogonal). Addon exports all selected curve objects (3D curves as well).

enter image description here

Note: Bezier curve is exported with strange looking poly line version. In Inkscape - click on this path and delete. In Illustrator – first Ungroup once (Cmd/Ctrl + Shift + G), than select and delete.


There is another add-on called Export SVG Format, which exports only active object. Shape of curve is determined by "Local Z" axis in Orthogonal view. Addon is a bit messed up with naming – downloaded script is called "exporter.py", in blender's user preferences appears as "Export SVG Format" and in blender's File menu under Export you will find it as "Inkscape SVG".

enter image description here

Both addons exports only paths (no fills).

$\endgroup$
10
  • 1
    $\begingroup$ Where is export menu for 'Viewport to SVG'? $\endgroup$
    – Wilf
    Commented Nov 2, 2014 at 0:56
  • $\begingroup$ @Wilf I think there is no separate menu except what you can see from my screenshot above. $\endgroup$ Commented Nov 2, 2014 at 13:14
  • $\begingroup$ @Wilf could you elaborate? I'm not sure where I should be looking for the Properties panel. It's likely there's an issue with my install but for all I know I just don't know what icon to click on and menu to expand. $\endgroup$
    – jozxyqk
    Commented Jan 20, 2015 at 7:11
  • 2
    $\begingroup$ @jozxyqk (and others like me who forgot...) - For 'Viewport to SVG' in Blender 2.68, you can find the export menu under 'View3d > Properties'. Basically click the 'View' Menu at the bottom, and click properties (or press 'n'). Note the extension needs to be placed in the CONFIG_DIR/2.**/scripts/addons, and if you enable it in the Addons settings you probably will want to press 'Save user settings' (bottom left) afterwards. Here is a screenshot if it helps. $\endgroup$
    – Wilf
    Commented Mar 1, 2015 at 22:24
  • 1
    $\begingroup$ @vklidu your edit was substantial enough to warrant your own answer, instead of editing somebody else's post. $\endgroup$
    – David
    Commented Apr 25, 2015 at 20:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .