-
-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
write matplotlib surfaceplot to stl file #19
Comments
I'm hoping this is trivial for you, but if it's not, could you give me some pointers? |
It took me a bit of experimenting as well, but this seems to do it:
|
Can you do it purely based on what you get from the |
Just to be completely clear: what I'm after is to be able to 3d-print any 3d surface plot that I make based on some x,y,z data. I'll come up with a better example soon. |
The problem is that for STL files you need to have triangulated data, luckily Matplotlib has several solutions for that: http://matplotlib.org/api/tri_api.html It seems that |
Closing this since it's not really related to this library. |
Would it be possible to write a matplotlib trisurf plot to an stl file? (I was hoping to print my graphs on a 3d printer)
I've been messing around with the
Poly3dCollection
object that is returned by thetrisurf
command, but I do not understand how you can get the actual vectors out of it. I also do not completely understand what sort ofdata
the Mesh constructor expects.The text was updated successfully, but these errors were encountered: