OpenScad Bezier Function with Ribbons (Q46167)

From Library of Open Source Hardware
Jump to navigation Jump to search
No description defined
Language Label Description Also known as
English
OpenScad Bezier Function with Ribbons
No description defined

    Statements

    en
    0 references
    https://spdx.org/licenses/CC0-1.0
    0 references
    www.thingiverse.com
    0 references
    0 references
    Perhaps it's bad form to create a derivative of your own thing when it's just a code update rather than an actual 'thing' but... This thing incorporates a couple more changes to the Bezier functions. First, it adds a 3 element version of the PointOnBezCubic() function. So, there's now 2D and 3D. The 3D version can be used for x,y,z values, or for r,g,b values, as demonstrated in the pictures. Speaking of pictures, I've added an example of how to use color with the bezier curve to give your images that groovy ramped color goodness. I expect to do very bad things with this. Some more factoring and commenting of the code should make it fairly easy to understand. But, all that goodness was added so that I could actually create BezierStrips! Just think of it. You give the function two sets of control points (4 points each), and it will generate an extruded strip that is 'in between' the two curves. Curve1 is on 'top' and Curve2 is on 'bottom', but actually it doesn't matter what their orientation is. This is really great for creating things like handles for cups, or funky looking springy feet, or vert ramps for skateboard parks. Just more Bezier goodness. One of the pictures shows a bell shaped thing. that's just a Bezier strip rotated around the z-axis an appropriate number of times. Can be used to make very interesting other shapes no doubt. And who knew OpenScad was able to render things so nicely! UPDATE: If you're interested in more words on this design, you can take a look here: http://williamaadams.wordpress.com/2011/05/12/mr-bezier-goes-to-openscad/
    0 references
    1.0.0
    0 references
    auto
    0 references
    WilliamAAdams
    0 references
    thingiverse.com
    0 references