Bezier Library for OpenScad
Description
See Http://Github.Com/Uplake/Bezierscad Updated 5/10/13--Fixed Triangle Winding In Centered Bezwall; Use Polyhedron For Variable-Height Bezarc. I Wanted A Bezier Library That Could Handle An Arbitrary Number Of Control Points. When Working On Thingiverse.Com/Thing:77586, I Also Wanted To Rotate Extrude A "Wall" Defined By A Bezier Path And A Width. Bezwall Is The Workhorse Function. The "Ctlpts" Parameter Accepts Between 1-8 Bezier Control Points. The Parameters "Width" And "Height" Accept Static Values (E.G., 5) Specifying The Width And Height Of The Wall. If Height Is 0, It Will Generate A 2D Object You Can Extrude Yourself. The Alternate Parameters "Widthctls" And "Heightctls" Accept An Array Of Values That Will Be Bezier-Interpolated Along The Length Of The Wall. If The "Centered" Parameter Is "True", The Wall Is Centered On The Path Defined By "Ctlpts". Otherwise, One Edge Of The Wall Is Defined By "Ctlpts". At The Moment, There Is No Documentation! But There Is A Test File That Runs Through Most Of The Available Features.
Statistics
Likes
75
Downloads
0