I want to import CAD data into MATLAB. I want to transform the CAD in a 3D matrix containing only 0 and 1. 0 if there is void and 1 if there is the filled part. In order to explain my problem, I make an exemple for a 2D CAD: if I have a triangle in the CAD software, I want to transform into Matlab in such matrix:
0 0 1 0 0
0 1 1 1 0
1 1 1 1 1
Is someone know I can do it?

댓글 수: 3

KSSV
KSSV 2016년 5월 31일
Question is not clear....Give how the data is in CAD and how you want it in MATLAB.
Walter Roberson
Walter Roberson 2016년 5월 31일
Different CAD programs store their data in different formats.
Rohit Reddy Madasani
Rohit Reddy Madasani 2016년 6월 2일
There is an example on the MATLAB Central File Exchange for importing CAD data into MATLAB. Here is the link:
The associated files are also available from this link.
Note that files on MATLAB Central are not officially supported by MathWorks.

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Model Import에 대해 자세히 알아보기

태그

질문:

2016년 5월 31일

댓글:

2016년 6월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by