STL file from catia apparently empty?
Show older comments
I tried opening the file using stlread. It adds some descriptions of the file to the command window and a new variable to workspace, implying the file has been successfully opened (see image). However, when I click on this new variable, it appears to contain no data. The file itself is 37 bytes. How can I fully read this STL file from catia in matlab?
close all; clear all; clc
fv = stlread('Part2.stl');
I'm using R2014a

5 Comments
Jan
on 4 Mar 2022
If the file has 37 bytes only, it is very short. Maybe it does not contain any data? Please post the STL file also.
KSSV
on 5 Mar 2022
You may zip it and attach the zip file.
Mike AA
on 5 Mar 2022
KSSV
on 5 Mar 2022
It looks like the file have no data.
I am getting error:
Error using stlread (line 52)
Input file must contain at least 3 unique vertices.
Accepted Answer
More Answers (0)
Categories
Find more on STL (STereoLithography) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!