Differences between solidworks model and simmechanics animation
3 次查看(过去 30 天)
显示 更早的评论
When I export a model from Solidworks 2013 x64 edition into matlab 2014a using simmechanics link the 3d models appear to lose some of their faces. I think this has to do with a problem in the construction of the stl files. If I replace the default stl files with manually generated stl files, the whole part is visible but has incorrect positioning with reference to the assembly. An example of the mismatch is shown below.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145921/image.png)
Figure 1. The assembly as seen in solidworks
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145922/image.png)
Figure 2. The assembly as seen in the simmechanics animation
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145923/image.png)
Figure 3. The animation using manually generated stl files
My question is, is there a fix for this problem or a work around?
0 个评论
采纳的回答
更多回答(1 个)
Enes
2014-11-1
It is usually happens when your model is not aseembled clear or to complex. For your model it seems not too complex so to fix this issue;
1. You can check your model and your constraints in SolidWorks. 2. Try to create new model again. 3. Try to use fewer parts for your assembly(Means try to avoid using weld constraint for two fixed parts just build them as just 1 part in the model.) 4. If you can not solve issue after these steps. Try to import .stp files directly but you will need to construct your model yourself but for this example it will not take too much.
Hope this helps!
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulation and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!