surf_extrude: linear extrusion of 3d surfaces in OpenSCAD

surf_extrude: linear extrusion of 3d surfaces in OpenSCAD

thingiverse

surf_extrude enables rapid creation of a surface given in the form: f(x,y)=z and defined over a matrix of x,y points. It skillfully constructs the mesh and polyhedron with minimal user effort required. The extrusion length and direction are dictated by a vector, with the default [0,0,1] resulting in a 1 mm extrusion in the z direction. I am confident that numerous implementations exist elsewhere, but I found none as simple and swift to my liking, so I developed it myself. Example usage: surf = [[for (x=linspace(0,40,100)) [for (y=linspace(0,20,100)) [ x, y, sqrt(x)+sqrt(y)+2*cos(x*40+200*cos(y*20)) ] ]]; surf_extrude(surf, direction=[0,0,1]);

Download Model from thingiverse

With this file you will be able to print surf_extrude: linear extrusion of 3d surfaces in 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 surf_extrude: linear extrusion of 3d surfaces in OpenSCAD.