CADモデルを変更し,Simscape Multibodyにも反映するには?

1 visualizzazione (ultimi 30 giorni)
A
A il 3 Mar 2021
Commentato: A il 1 Mag 2021
を見て,InventorのAssembly(CAD)からSimscape Multibody modelを生成する事ができました.また,自分で作成したAssembly(CAD)もSimscape Multibodyに生成する事ができました.
Simscape Multibodyにインポート済みのAssembly(CAD)に変更を加えた場合,既に生成されているSimscape Multibody modelにも変更内容を反映させるにはどうしたらよいでしょうか?また,その逆はできるのでしょうか?

Risposta accettata

Yifeng Tang
Yifeng Tang il 29 Apr 2021
Taka San,
I tried to understand your question using Google Translator, and I believe you are wondering if your modification in CAD will be reflected in the Multibody model that has aleady be created. Let me know if I misunderstood your question
The quick answer is unfortunately no. Everytime a change is made in CAD assembly, you will need to run the conversion workflow again to generate a new Multibody model to reflect the changes.
If the change is small, however, it may be possible to update the Multibody model manually. For example, if you just changed the geometry of a part, while all coordinate definitions and joint positions remain the same, you may export the part as a STEP file and then in Multibody make the corresponding File Solid block point to the new STEP file. This can be beneficial after you have made substantial modification of the Multibody model, for example adding actuations.
Hope this helps.
  3 Commenti
Yifeng Tang
Yifeng Tang il 30 Apr 2021
Exporting STEP should be done in the CAD environment. I'd assume most CAD software would support export to this file format.
Once you have the STEP file, you need to "use" it in the Multibody model. Open the subsystem that contains the part you want to replace, for example "Part21_RIGID", you should see a File Solid block, double click and you'll have an interface to point to a different file. Give it a try. More details here: https://www.mathworks.com/help/releases/R2021a/physmod/sm/ref/filesolid.html
To add actuator, you need to enable actuation in the joint setting.
You can also connect the joints to Simscape (1D) using the the 1D-3D interface: https://www.mathworks.com/help/releases/R2021a/physmod/sm/sm_examples_interface_block.html
A
A il 1 Mag 2021
Thank you for the answer. I would like to try it with your answer.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Simscape Multibody in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by