Effacer les filtres
Effacer les filtres

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

21 vues (au cours des 30 derniers jours)
SENOCQ Vincent
SENOCQ Vincent le 19 Juil 2024
Réponse apportée : Abhinav Aravindan le 20 Août 2024 à 10:54
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 ?

Réponses (1)

Abhinav Aravindan
Abhinav Aravindan le 20 Août 2024 à 10:54
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!

Produits


Version

R2024a

Community Treasure Hunt

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

Start Hunting!