How to output STL format flie

조회 수: 2 (최근 30일)
LIN Hongbin
LIN Hongbin 2016년 3월 14일
편집: DGM 2025년 10월 8일
I have a point matrix p whose size is 3x98065;the triangulation matrix t whose size is 3x196124 ; How to output the data as a STL model.Thank you.

채택된 답변

Walter Roberson
Walter Roberson 2016년 3월 14일
  댓글 수: 3
LIN Hongbin
LIN Hongbin 2016년 3월 14일
I create a struct and solve it,Thanks
DGM
DGM 2025년 7월 16일
편집: DGM 2025년 10월 8일
Since R2018b, MATLAB has built-in STL tools. You don't need to download anything.
For legacy versions needing third-party tools, I'd strongly recommend these tools over #20922. This explains why.
If you use #20922 or #36770 in a modern installation, you will shadow the inbuilt tools and likely cause problems for yourself unless you rename it.
FWIW, OP's face and vertex lists are transposed, so most tools that take F,V lists may have unexpected problems because of their orientation. That said, none of the versions of #20922 will produce that specific error message if given the inputs as described. They will produce different error messages. If someone did provide a set of inputs which could provoke the given error message, it wouldn't report the line numbers as described. However, because of a bug, FEX #36770 will produce that error message on that line number, when given only two arguments -- but again, not if they're transposed as described. Who knows what OP was actually doing.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 STL (STereoLithography)에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by