Comment positionner précisément un fichier *.STP dans Simscape Multibody ?

2 views (last 30 days)
Bonjour,
dans matlab on line, j'importe des fichiers .STP (j'ai essayé les deux .STEP AP203 ou .STEP AP214) natifs de SW 2021 SP3.0. Afin d'effectuer l'assemblage dans Simscape multibody, et de créer mes liaisons dans Simscape, je dois connaître un repère lié à la pièce. Je ne le trouve pas ! Où est l'origine ? Quels sont les directions attribuées ? Quel rapport entre les origines et axes Solidworks et ceux de Simscape ?
J'ai entré un centre de masse de coordonnées [0 0 0]. Dans quel repère ?

Answers (1)

Abhinav Aravindan
Abhinav Aravindan on 20 Aug 2024
I understand that you are trying to make some modifications to the model imported from Solidworks using the “Simscape Multibody Link Plugin” but facing some trouble in doing so.
Normally, the Simscape Multibody Link plugin uses the coordinate systems defined in SolidWorks as references. If no custom coordinate systems are defined, the default is the origin as defined in SolidWorks.
When exporting a CAD assembly from SolidWorks to Simscape Multibody, the CAD export procedure generates one XML multibody description file and a set of geometry files. The XML file contains the structure of the assembly and the parameters that define each part, the geometry files define the 3-D geometry of each part.
You can visualize the reference frame in the model by clicking the “Toggle visibility of frames” icon in the Mechanics Explorer tool strip.
Further, to create a user-defined coordinate system, you may follow the example in the link provided below.
For more details on “Simscape Multibody Link” Plugin and its usage, please refer to the following demonstration and links:
I hope this answers you query!

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!