View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

Be the first to rate this file! 11 Downloads (last 30 days) File Size: 12.1 KB File ID: #30709 Version: 1.0
image thumbnail




Conversion routines to take a surface and convert this into a solid.

| Watch this File

File Information

Conversion routines to take a surface (a function z of (x,y) or (theta,r)) and convert this into a solid; much as meshz does, but a little more useful for outputting as an STL for frabrication in a 3D printer. There are two cases, one in Cartesian co-ordinates, and the other in polar co-ordinates. Plus two sets of examples to show how they are used.


Surf2stl inspired this file.

MATLAB release MATLAB 7.5 (R2007b)
Other requirements surf2stl if you want to print out solids.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
18 Nov 2012 Aditya

Aditya (view profile)

If you create folders called "Plots" and "STL" then the error will go away. The error is due to matlab not finding those folders on your computer.

Comment only
17 Oct 2012 Faraz

Faraz (view profile)

I have tried, even after downloading surf2stl, but gets the following message

??? Error using ==> print at 364
Cannot create output file 'Plots\surf2solid_polar_ex.png'

Error in ==> surf2solid_polar_ex at 23
print('-dpng', 'Plots/surf2solid_polar_ex.png');

Comment only

Contact us