(*This Mathematica code was written by John Zweck (zweck@utdallas.edu) and generates a mathematical curve/surface that can be printed using a 3D printer. This model can (probably) be printed by Shapeways.*)

(*If you evaluate this Mathematica notebook,the curve/surface will be rendered using computer graphics.*)

(*If you uncomment the export line at the end of the code and set the directory path appropriately for your system you will obtain an STL file that can be sent to a 3D printer.*)

(*The STL file can also be viewed using the open source software Meshlab.*)

(*You may modify this code in any way you like.*)

(*This project was supported by the National Science Foundation through a Supplement to the UTeach Dallas Robert Noyce Scholarship Program (DUE 1544159).*)

xyscale=15;
zscale=0.1*xyscale;


StingRay=ParametricPlot3D[{xyscale*u,xyscale*v,zscale*(4+u^3+v^3-3*u*v)},{u,-2.5, 2.5},{v,-2.5,2.5},Mesh->False,  MaxRecursion->15,PlotStyle->{Thickness[2]}];

output= Show[StingRay]

(*Export["StingRay.stl",output];*)