Loading
arpruss

Inkscape to OpenSCAD export with hole, Bezier and inflation support

by arpruss Mar 30, 2019
Download All Files

Thing Apps Enabled

Please Login to Comment

Thanks for your work. I have some problems with bex.scad (and others I export from Inkscape).
Beizer.scad works fine but bex.scad gives me these errors:
WARNING: Ignoring unknown function 'LINE', in file Bex.scad, line 12.
WARNING: max() parameter could not be converted, in file bezier.scad, line 63
WARNING: abs() parameter could not be converted, in file bezier.scad, line 56
DEPRECATED: Using ranges of the form [begin:end] with begin value greater than the end value is deprecated.
WARNING: Unable to convert translate(undef) parameter to a vec3 or vec2 of numbers, in file Bex.scad, line 19
ERROR: Unable to convert point undef at index 0 to a vec2 of numbers, in file Bex.scad, line 35

Oops. This uses a newer version of the Bezier library. I just uploaded the new library to its thingiverse page. Let me know if it works.

Yes, now it works perfectly, thank you.
How does the svg file look for bex.scad?
Some tricks you need in inkscape?

The only trick was to convert any text to a path (select it, then Path | Object to Path). If you're worried about the fact that fonts use quadratic Bezier while my library is cubic Bezier, don't worry: the plugin converts quadratic to cubic Bezier.

I did cheat slightly in Bex.scad in that I manually edited the height of the ribbon to be 1mm higher than the fill for a better screenshot.