Differences between solidworks model and simmechanics animation

조회 수: 1 (최근 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 CenterFile Exchange에서 Simulation and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by