Bezier library for OpenScad

Bezier library for OpenScad

thingiverse

IMPORTANT This library is user friendly. It's much harder to use without the SVG to OpenSCAD InkScape extension. See: https://www.thingiverse.com/thing:2805184 Another useful tool to create incredible models with OpenSCAD. I added a module to create multiple polygons from lists of points and bezier handles. The modules provided by the original version (http://www.thingiverse.com/thing:8483) are nice when we're trying to control how triangles will be split, but they're not useful when trying to create a polygon to use with rotate_extrude. The only modifications I made to the original library were adding the module bezier_polygon to create a single polygon from a list of points and fixing a few deprecated usages. [2017-03-13] I updated the BezPolygon module. I added a boolean parameter to show the points and bezier handles. Those are quite useful when drawing a complex polygon manually, or when editing one. This feature is not intended for rendering. [2017-03-19] I changed the "drawHandle" parameter (boolean) for "handleOpacity" (value from 0 to 1, default 0). I found it more useful that way. [2017-03-24] Added BezPolygonCoordinates function which returns an array of coordinates that can be used to create a polygon. I added this function because I couldn't find a way to send a polygon as a parameter to a module or another function. Polygons cannot be stored in a variable, but an array of coordinates can. NOTE: I just discovered the children() function which does exactly what I wanted, thanks to Kintel (#openscad on irc.freenode.net). I don't need BezPolygonCoordinates anymore, but I will leave it there because it may become useful at some point. [2018-02-25] Uploaded v2, with fixed module names and improved comments [2019-07-20] Added bezier_stroke Instructions Download bezier_v2.scad, put it in the same folder as your .scad file. Import the bezier library with include Create your polygon using bezier_polygon Extrude the polygon the same way you would do with a circle or a square. Look at demo_v2.scad for a simple example.

Download Model from thingiverse

With this file you will be able to print Bezier library for OpenScad 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 Bezier library for OpenScad.