Bezier library for OpenScad

Bezier library for OpenScad

prusaprinters

<p><strong>IMPORTANT</strong> This library is not user friendly. It a lot easier to use with the SVG to OpenSCAD InkScape extension.</p> <p>See: <a href="https://www.thingiverse.com/thing:2805184">https://www.thingiverse.com/thing:2805184</a></p> <p>Another useful tool to create incredible models with OpenSCAD. I added a module to create a single polygon from a list of points and bezier handles.</p> <p>The modules provided by the original version (<a href="https://www.thingiverse.com/thing:8483">http://www.thingiverse.com/thing:8483</a>) are nice when we are trying to control how the polygon will be split into triangles, but they are not useful when trying to create a polygon to use with rotate_extrude.</p> <p>The only modifications I made to the original library is to add the module bezier_polygon to create a single polygon from a list of point, and I fixed a few deprecated usages.</p> <p><strong>[2017-03-13]</strong> 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 to be used for render.</p> <p><strong>[2017-03-19]</strong> I changed the "drawHandle" parameter (boolean) for "handleOpacity" (value from 0 to 1, default 0). I found it more useful that way.</p> <p><strong>[2017-03-24]</strong> Added BezPolygonCoordinates function which returns an array of coordinates that can be used to create a polygon. I added this function because I could not find a way to send a polygon as a parameter to a module or another function. Polygons can't be stored in a variable, but an array of coordinates can.</p> <p>NOTE: I just discover 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.</p> <p><strong>[2018-02-25]</strong> Uploaded v2, with fixed module names and improved comments</p> <p><strong>[2019-07-20]</strong> Added bezier_stroke</p> <h3>Instructions</h3> <ol> <li>Download bezier_v2.scad, put it in the same folder as your .scad file.</li> <li>Import the bezier library with include <bezier_v2.scad></bezier_v2.scad></li> <li>Create your polygon using bezier_polygon</li> <li>Extrude the polygon the same way you would do with a circle or a square.</li> </ol> <p>Look at demo_v2.scad for a simple example.</p> Category: Other

Download Model from prusaprinters

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.