How do I 3d print using the surf2stl function?

2 views (last 30 days)
Wesley
Wesley on 16 Apr 2014
Commented: Wesley on 6 May 2014
Hi, I am trying to use MatLab to create an STL file for chaotic systems (Rossler, Lorenz, Chua, etc.) The code runs through a for loop and iterates x,y,and z, n times. I turn these into matrices with the "vect2mat" command and use surf2stl to get the surface of the function. The issue is that there is no dimensions to the lines.
Please Advise,
Wes Miller
  3 Comments
Wesley
Wesley on 4 May 2014
I was able to fix the surface, and it looks just like the graph. When I use surf2stl I had to make 3 separate matrices one for x, one for y and one for z. and by this I was able to close in the top, bottom and sides. But when I use this and run stlwrite I got some flat surface with a bunch of spikes, it resembles the attractor I'm trying to get but... it looks more like the side of a mountain. so I stuck with the surf2stl but I had to put the STL file into an open source STL repair program called netfab. I am able to repair the file, but not fully, so when I tried to print a rossler attractor it only gave me the spiral- looking bottom and left out the arches that go up the z axis. any suggestions?
thanks,
Wes
Wesley
Wesley on 6 May 2014
I have attached a jpeg of what the graph looks like. The left plot is just the matlab plot of the file. The right plot is what it looks like after the top, bottom left and right sides are added.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!