jps_beziersurf.rb (9.6 KB)
I am new to Ruby, SketchUp and developing plugins for it and would really appreciate any code review and testing anyone might be willing to do for a plugin I have developed to draw and edit bezier surfaces in SketchUp.
Please install the attached jps_beziersurf.rb file in your Plugins directory and if everything goes well, you should see the “Draw Bezier Surface” menu item under Plugins the next time you launch SketchUp.
Clicking on it should draw a default Bezier surface near the origin.
To edit a surface, select the surface and choose “Edit Bezier Surface” in the Right Mouse Button context menu which should show the surface’s 16 control points.
Moving any of the 16 control points will affect the resultant Bezier surface.
Please provide as much feedback as possible regarding the code, issues/bugs you see or ways to improve the tool/interface etc.
Also, do let me know if you feel the tool is useful and if it is worth spending time trying to enhance it, draw any kind of Nonuniform Rational B-Splines(NURBS) surface etc.
Thanks a lot!