Gear is rotating wrt wrong axis in simscape multibody
古いコメントを表示
I made two gears in solidworks and then exported their step. file. Then I opened simscape in simulink and connected these gears to revolute joint and then to rigid transform. I offsetted one gear to make a gear mesh and reoriented both gears to xy plane using the rigid transform. I changed one of the gear's torque to "provided by input". I then connected a constant so that that gear would rotate at a specified torque.
Now It should rotate wrt z axis but it rotates wrt x axis. How can I fix this issue?
回答 (1 件)
Abhishek
2025 年 6 月 10 日
移動済み: Steve Miller
2025 年 8 月 11 日
0 投票
Hi, just a quick clarification to better understand the issue:
- After importing the STEP file into Simscape, have you verified the orientation of the gear's local reference frame using Mechanics Explorer?
- Specifically, is the gear's rotation axis (Z-axis) aligned with the global Z-axis?
- Also, in the Revolute Joint, is the axis of rotation explicitly set to [0 0 1]?Sometimes imported geometries from SolidWorks come in with unexpected frame orientations, which can cause this kind of mismatch.
1 件のコメント
Muhtasimul
2025 年 6 月 23 日
移動済み: Steve Miller
2025 年 8 月 11 日
カテゴリ
ヘルプ センター および File Exchange で Assembly についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!