Save as DXF without Splines for import to OpenSCAD

Post about using Inkscape with cutters or plotters.
tenbergen
Posts: 1
Joined: Sat Sep 29, 2012 12:17 pm

Save as DXF without Splines for import to OpenSCAD

Postby tenbergen » Sat Sep 29, 2012 2:07 pm

I am trying to use Inkscape to generate DXF files to import into OpenSCAD (http://www.openscad.org/) to make into 3D objects (e.g. for 3D printing).

When I import an Inkscape-generated .dxf into OpenSCAD and try to extrude it I get an error telling me that there is a spline it can't process.

There are a number of posts all over the place regarding the functionality of the DXF exporter in different versions (, and how at some point it was changed from "R12" to "R13", and how some stuff worked in one but not the other.
There is also a post (http://repraprip.blogspot.ca/2011/05/inkscape-to-openscad-dxf-tutorial.html) that appears to have solved the problem before (convert objects to paths, add nodes if needed to estimate curves, select all paths, make paths into lines, export). I was able to import a square from an Inkscape .dxf using this, but when I try the same with a circle I get an error "WARNING: Unsupported DXF Entity `SPLINE' (64) in circle.dxf". I don't expect anyone here to troubleshoot OpenSCAD errors, I'll bring it back to the .DXF file: If I look into the square one with notepad I get no splines, if I look into the circle one I do.

My questions:
- has anyone here had success getting an Inkscape circle --> Dxf --> Openscad?
- How would I get Inkscape to export to DXF lines only, no splines?

Thanks!

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Save as DXF without Splines for import to OpenSCAD

Postby ~suv » Sat Sep 29, 2012 2:27 pm

tenbergen wrote:- How would I get Inkscape to export to DXF lines only, no splines?
Apply 'Extensions > Modify Path > Flatten Bezier' first, then save a copy as DXF.
tenbergen wrote:- has anyone here had success getting an Inkscape circle --> Dxf --> Openscad?
Try with this recent extension: Inkscape to OpenSCAD converter v2 by dnewman (Thingiverse)
Also described here: Inkscape gets OpenSCAD converter (Libre Graphics World)


Return to “Inkscape & Cutters/Plotters”

Who is online

Users browsing this forum: No registered users and 2 guests