Differences between solidworks model and simmechanics animation

2 ビュー (過去 30 日間)
Brian
Brian 2014 年 11 月 1 日
回答済み: Brian 2014 年 11 月 3 日
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.
Figure 1. The assembly as seen in solidworks
Figure 2. The assembly as seen in the simmechanics animation
Figure 3. The animation using manually generated stl files
My question is, is there a fix for this problem or a work around?

採用された回答

Brian
Brian 2014 年 11 月 3 日
Updating to Solidworks 2014 solved my issue.

その他の回答 (1 件)

Enes
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!
  1 件のコメント
Brian
Brian 2014 年 11 月 3 日
1) What do you mean by check the model constraints? For this assembly there are 2 under constrained parts. First, the cart is attached to the rail with 2 coincident mates, and the stick is attached to the cart with 1 coincident and 1 concentric constraint. The physical response of the system appears to be correct, it just doesn't render all the surfaces.
2) I have tried generating the model a couple times with the same result.
3) There are only 3 parts, the minimum necessary to simulate the physics I am trying to study. There are no welds.
4) Constructing the model manually from the .stl files is an option for this simple case, but I would like to resolve the issue so that I can move on to more complex examples later.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSimulation and Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by