CAD model robot matlab
4 views (last 30 days)
Show older comments
I'd like to plot the movement of a robot in a 3d model, and I need to associate some parts of the 3d model with my robot's articulation, but I don't know how to import this kind of files into matlab for move and rotate it and how can associate this variables with the parts of my 3d model.....
What kind of CAD files can I use to do this ?
Is there any script or something to work with this files ¿
Where can i find some information about this ¡¡¡¡¡
Thaks a lot ¡¡¡¡
0 Comments
Answers (5)
Davide Ferraro
on 3 Jan 2013
You may consider using Simulink and SimMechanics with the CAD Import feature: http://www.mathworks.com/products/simmechanics/description3.html
0 Comments
Davide Ferraro
on 3 Jan 2013
Hi Javier,
yes, what you see in the video is possible, on the other side is not immediate. What the user has probably done is:
- Get from the CAD model the STL file
- Transform the object into a series of patches. Perhaps this can help: http://www.mathworks.it/matlabcentral/fileexchange/6678-stlread
- Develop your GUI in order to interact with the plot (you will have to develop all the junction rules, rotation matrices, etc.)
If you get a chance the update to SimMechanics you may benefit of all the modeling features that may help you not only for visualization but also for system and control design through actual simulation.
0 Comments
Davide Ferraro
on 4 Jan 2013
Hi Javier,
what about this:
It seems that this code may get data directly from DXF files and should include a basic plot. I'm not a CAD expert but you may probably work directly from DXF instead of STL files. It seems that there are some converters on the web:
But I don't know much more on this. Regarding your third question you have to do all the kinematics analysis of your system. You need to identify which rotations are allowed and then implement this through code using rotation matrices. SimMechanics would have taken care of this but working with just MATLAB that should be programmed from the basics.
0 Comments
See Also
Categories
Find more on Model Import in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!