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/
1) Grab some graph paper and layout some control points for a couple of curves
2) Plug those control points into either the BezCubicFillet(), or the BezCubicRibbon() modules to generate your piece of Bez'ness
Wouldn't it be cool if the printer could actually honor the color selection that you make in your drawings!