Can the exported geometries of two brick solids be combined into one geometry?

6 ビュー (過去 30 日間)
John O
John O 2021 年 9 月 16 日
回答済み: Steve Miller 2021 年 9 月 28 日
I am joining two Simscape multibody Brick solids together using a rigid transform to form a single solid rigid unit. I would like to combine the exported geometries of both brick solids into a single geometry and run it to a Spacial Contact Force block. An identical conjoined brick solid would connect to the opposing port.
Now I know I could just use 4 Spacial Contact Force blocks to run between the 4 different Exported Geometry combinations:
G1 of U1 <-> G1 of U2, (Geometry1 of Unit 1 to Geo 1 of Unit 2, )
G2 of U1 <-> G1 of U2,
G1 of U1 <-> G2 of U2,
G2 of U1 <-> G2 of U2,
But this Starts getting messy really fast as the number of units and bricks per unit increases.
Is there any way to combine exported geometries, or would the best way be to create the Unit is Solidworks and bring into Simscape as a singular unit?
Thanks in advance.
John

回答 (1 件)

Steve Miller
Steve Miller 2021 年 9 月 28 日
Hi John - the Spatial Contact Force block connects unique pieces of geometry, so if you have four unique bricks that form two distinct solids, you would (as you determined) need four Spatial Contact Force blocks to handle those contacts. You could use the Point Cloud block to reduce the number of Spatial Contact Force blocks you need.
--Steve

カテゴリ

Help Center および File ExchangeBodies についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by