please some one help me import the give txt file format as table

조회 수: 8 (최근 30일)
Ayyachamy
Ayyachamy 2014년 10월 28일
편집: Walter Roberson 2025년 10월 8일 1:17
solid OBJECT
facet normal -0 -0 -1
outer loop
vertex 10 -10 0
vertex 0 -10 0
vertex 0 0 0
endloop
endfacet
facet normal 0 0 -1
outer loop
vertex 10 0 0
vertex 10 -10 0
vertex 0 0 0
endloop
endfacet
facet normal -0 0 1
outer loop
vertex 0 -10 20
vertex 10 0 20
vertex 0 0 20
endloop
endfacet
facet normal -0 0 1
outer loop
vertex 0 -10 20
vertex 10 -10 20
vertex 10 0 20
endloop
endfacet
endsolid OBJECT
  댓글 수: 1
Geoff Hayes
Geoff Hayes 2014년 10월 28일
Your text file seems to be of STL format. Is this the case? If so, then check the File Exchange for an STL (text) reader.

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

답변 (1개)

DGM
DGM 2025년 10월 7일 23:36
In R2018b or newer, just use stlread().
I don't remember what the best STLA decoder would have been in 2014, but nobody has a time machine anyway.

카테고리

Help CenterFile Exchange에서 Data Import and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by