Points to STL file

조회 수: 30 (최근 30일)
Michael Lin
Michael Lin 2019년 10월 10일
답변: Abhisek Pradhan 2019년 10월 14일
Hi all,
I have a array of points (Line1OuterAll) I'd like to use to generate a surface with STL extension.
I tried to use stlwrite using stlwrite('test.stl',Line1OuterAll(:,1),Line1OuterAll(:,2),Line1OuterAll(:,3),'mode','ascii') but it gives me this error:
Warning: Duplicate data points have been detected and removed.
Some point indices will not be referenced by the triangulation.
> In stlwrite>parseInputs (line 175)
In stlwrite (line 76)
Warning from stlwrite>parseInputs (line 175)
faces = delaunay(X,Y);
Am I doing something wrong?
Thanks

답변 (1개)

Abhisek Pradhan
Abhisek Pradhan 2019년 10월 14일
stlwrite user a triangulation object has one its parameter.
Refer triangulation for making a triangulation object from the data set and provide it as a parameter for stlwrite function.

카테고리

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

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by