SVG to OpenSCAD Bezier - InkScape extension

SVG to OpenSCAD Bezier - InkScape extension

Description

[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.

Statistics

Likes

145

Downloads

0

Category

Tools