Simscape Multibody - How to model a link with holes

조회 수: 2 (최근 30일)
Marco Di Muro
Marco Di Muro 2020년 12월 9일
댓글: Marco Di Muro 2021년 1월 14일
I have just written this easy code on MATLAB that provides the figure of a link with two holes. How can I export this function in Simscape Multibody in order to work with same exact 3D model? There must be something missing in the code for sure; I failed different attempts trying to recall the function in the info box of a general the extruded solid. Thanks in advance for your help.

채택된 답변

Juan Sagarduy
Juan Sagarduy 2020년 12월 22일
Hello Marco
You run the function prior to the simulation to obtain the 2D profile of the solid with hole. Then u get something like:
contour = [xA yA; xB yB; ....; xF yF] where you go from A to F in counter-clockwise fashion.
The vector contour is what you then introduce in the extruded solid dialog to create the body with required shape.
Best of Luck Juan

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simscape Multibody에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by