While I have one selfish motive for wanting a reliable toolpath for going from an SVG to OpenSCAD, I’d also like to do a tutorial on this. 1 2.
- I can export an SVG from Inkscape to a DXF.
- I can import that same DXF into OpenSCAD.
- I can’t render the DXF or extrude it into a solid.
I just can’t seem to make OpenSCAD make heads or tails of that DXF. Is this a problem with the DXF files produced by Inkscape? A little bit of Googling tells me that Inkscape v0.48 (the one I’m using) exports in DXF R13 format which includes features that are not well supported by OpenSCAD. My attempts at finding plugins that will successfully allow Inkscape to expert to DXF R12 format have not been fruitful.
- 3D Models with OpenSCAD on Make uses a toolpath that isn’t available in my version of Inkscape
- DXF R12 exporter, didn’t work for me
- DXF R12 exporter, didn’t work for me either
- Yet another DXF R12 exporter that did not work for me
- Link suggesting that something called “pstoedit” might be helpful in converting SVG’s to DXF R12’s.
- From Photo to Inkscape to DXF to OpenSCAD to MakerBot to Costume Jewelry is an excellent tutorial on the exact toolpath I would like to get working
After MUCH fiddling around I have discovered that the only DXF exporting plugin I can get to work is the one called “Better DXF Output”, NOT to be confused with “Better Better DXF Output.” Unfortunately, I’ve installed so many of these little plugins I no longer recall exactly which combination of them might actually be working for me. I’ll do a little investigation and post a short tutorial on how it’s worked for me.
Edit: I’m 85% certain this is the plugin that worked for me. http://www.bobcookdev.com/inkscape/inkscape-dxf.html
Pingback: I’m so giddy! | MakerBlock
It works fine with the vanilla Inkscape 0.47 plugin, but has some limitations which are easy to overcome.
I made a small tutorial to explain: http://repraprip.blogspot.com/2011/05/inkscape-to-openscad-dxf-tutorial.html
:-)
I ran into this problem and I believe the one I found that worked for me was called Big Blue Saw. The only problem was that Inkscape (or maybe it was the plugin) seems to really screw up the size of things. Every time I used it I ended up having to open the .dxf in QCad to correct the size and positioning. Do you have that problem?
I have pretty good luck using pstoedit, you can see my workflow here: http://tonybuser.com/2d-to-3d
@Tony: Awesome! That’s perfect
@Nudel: Thanks for making this tutorial! I may Bogart the v0.47 plugin for my v0.48!
All: I think the above plugin for Inkscape may be able to just fix this issue outright without the need for extra steps or installations.
Oh.. I have forgotten to check for new versions for a while, but the method I described (make all segments lines) works fine with 0.48 as well.
Apparently better dxf output exports the polylines with no pen. Use librecad, edit layer 1 and choose line type: continous, and it works after smoothly with an extrude in openscad.
@eric: Awesome – thank you!