SVG to OpenSCAD Bezier - InkScape extension

SVG to OpenSCAD Bezier - InkScape extension

thingiverse

[UPDATE] OpenSCAD 2019-05 has added native SVG support, so I won't maintain this extension anymore. https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/SVG_Import This InkScape extension (plugin) can be used to convert any **SVG** files to native **OpenSCAD** code, with full **Bezier** support. The global variable ```$fn``` can be used to tweak the resolution of the curves. Generated OpenSCAD files contains a stripped down version of my OpenSCAD Bezier library: https://www.thingiverse.com/thing:2170645 The Cat SVG file used for the demonstration of the library is from: https://www.onlinewebfonts.com/icon/74146 **[2018-02-25]** Check if element is empty before adding it to the OpenSCAD file **[2018-03-01]** Re-uploaded the ZIP file. Fixed issues with holes. Unfortunately, I can't use the polygon drawing direction to determine if the polygon is a hole or not because the simplepath library do not respect the drawing direction when converting paths. I had to use a logic of "Paths inside path are holes". There is still a possibility of some SVG files not converting well, but they are exception cases that are very unlikely to happen. **[2018-03-03]** Fixed bug caused by polygons composed of a single point. **[2018-04-02]** Added support for InkScape layers, as suggested by Warren Baird: https://www.thingiverse.com/thing:2805184/#comment-1837500 **[2018-06-17]** Fixed bug causing parts of multi-part polygon to be missing. Fixed Python error caused by missing library when attempting to display warning messages. Added "translate" to center the drawing, as suggested by Jon Briggs (spinvector) and Anton Moiseev (sadr0b0t) **[2018-06-29]** Fixed bug with the "translate" function, when document is not in Pixel unit.

Download Model from thingiverse

With this file you will be able to print SVG to OpenSCAD Bezier - InkScape extension with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on SVG to OpenSCAD Bezier - InkScape extension.