Can I get an .stl from a spreadsheet?
11 views (last 30 days)
Show older comments
I have a spreadsheet with coordinate data (lat/long) and height for the surface and the bed of a glacier. I'm looking to take this data and convert it to an .stl geometry file that I can use for modeling in other programs like COMSOL or Elmer/Ice. I have been able to plot the data using boundaryFacets and trisurf to visually get a good geometry, but how do I transfer that to an .stl?
What I've tried:
iso2mesh (surf2stl command) "wrote 0 facets" when I tried surf2stl('GeoSTL',X,Y,Z);
Using delaunayTriangulation and tetramesh gives me a shape that is not similar enough to my glacier to use.
Attached is my code and an arbitrary set of coordinates and depths to represent a glacier.
0 Comments
Answers (1)
Darshan Ramakant Bhat
on 18 Jan 2018
I hope below File Exchange Submission will help you:
2 Comments
Darshan Ramakant Bhat
on 19 Jan 2018
Hi Kate,
surf2stl is one of the several submissions in MATLAB File Exchange on MATLAB Central which is a forum for our product users to interact, exchange information and knowledge, without MathWorks' involvement. Feel free to contact the author of this submission directly for specific questions about the implementation.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!