Hi ¡
I have a problem with a little proyect of a robot.
I get a CAD model of muy robot in a .STEP file, I have to make a graphical interface that represent the movement of the robot. For this I have to asign some parts of the CAD model to some variable of my program (like articulations of the robot).
I don't find the way to import this kind of files and work with it.
Where can I have some information o something to do this....??
Can someone give me some reference for try to do it ?
Thanks ¡¡

댓글 수: 3

Matt Kindig
Matt Kindig 2012년 12월 18일
Hi Javier,
STEP is a complicated format, and I doubt you will find a general-purpose importer function that is versatile enough to import all possible keywords that can appear in a STEP file. Further, because Matlab is not a CAD program, several common CAD features, such as curved faces, extrudes, etc. are not natively defined in Matlab, and in fact do not necessarily have such meaning.
Instead, I would look at the .STEP file itself (using a text editor such as Notepad) and see if you can figure out which elements of the file are relevant to you. Once you have a better idea of what information you want to extract from the file, we might be able to provide more information.
Javier
Javier 2013년 1월 3일
I found a way... change the format of the model 3D in a .dxf file and use a script "model3d" (this link http://www.mathworks.com/matlabcentral/fileexchange/7940-model3d ), but I have a new problem... when I try to import the file, it load correctly, but when I try to plot it hte picture is empty, only with the XYZ axis but any model....
I don't know if I'm doing it correctly and I don't find any example of use....
I try with 4 diferents files but nothing....
In this site, I read that need to "compile Mex-files"... How can I do this ?
Where can I find any example of use of this script or something....
Thanks a lot ¡¡¡¡
Michael Loibl
Michael Loibl 2023년 1월 18일
I just wrote a step import function for trimmed NURBS surfaces created in CAD. Maybe, this hits somebody's needs.

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

답변 (0개)

카테고리

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

제품

질문:

2012년 12월 18일

댓글:

2023년 1월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by