Can I get an .stl from a spreadsheet?

14 ビュー (過去 30 日間)
Kate Hruby
Kate Hruby 2018 年 1 月 15 日
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.

回答 (1 件)

Darshan Ramakant Bhat
Darshan Ramakant Bhat 2018 年 1 月 18 日
I hope below File Exchange Submission will help you:
  2 件のコメント
Kate Hruby
Kate Hruby 2018 年 1 月 18 日
Hi Darshan,
When I try surf2stl the program runs, but the output file is nonexistent (it "wrote 0 facets" like I stated above). Am I missing something with that command?
Darshan Ramakant Bhat
Darshan Ramakant Bhat 2018 年 1 月 19 日
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.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSTL (STereoLithography) についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by