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

1 次查看(过去 30 天)
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 个)

DGM
DGM 2025-10-7
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