How to Animate a Solidworks Assembly file using Simulink 3D Animation/Simscape Multibody ?

조회 수: 14 (최근 30일)
Hello everyone.
I have a simple Solidworks assembly file consisting 2 parts. A base and an arm with revolute joint
I want to import this file to simulink and then using Simulink 3D Animation/Simscape Multibody, I want to give some movement paramaters to animate the model. Such as moving the model from point A to point B while rotating or while moving the arm.
If I manage to do this later on I am planning to add some control schemes and dynamics/kinematics equations.
All the tutorials and guides I could find were quite dated.
Is this possbile to do? If so can anyone suggest a tutorial on how to do this?
I would appreciate showing the right direction as well.
Thanks in advance.

채택된 답변

Jan Houska
Jan Houska 2023년 1월 27일
Hi Nuri,
the first step to animate a geometry in Simulink 3D Animation is to import the geometry to the X3D file format that is native to Simulink 3D Animation. Please see the documentation to learn how to import various file formats. Then, please see the shipping examples to learn how to move individual parts of the imported geometry. Typically, this involves changes coordinates of the Transform nodes in the imported X3D file.
Good Luck, Jan
  댓글 수: 2
Nuri Efe TATLI
Nuri Efe TATLI 2023년 2월 27일
Jan thanks for the answer !
Is it possible for you to direct me to the shipping examples you are talking about ?
Thanks in advance.
Jan Houska
Jan Houska 2023년 2월 27일
Hi Nuri,
virtually any of the Simulink 3D Animation examples show how to move a geometry using the Transform node. For a very simple one, please see vrbounce. For a somewhat more complex one that shows coordination system hierarchy, please see vrmanipul_global or vrplanets. And there are many more, please see the Simulink 3D Animation examples section.
Good Luck, Jan

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

추가 답변 (0개)

카테고리

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