The zero total mass is incompatible with the nonzero center of mass. Resolve this issue in order to simulate the model.
4 ビュー (過去 30 日間)
I am getting the above error message all the time. I have imported the CAD Assembly from the inventor. I have specified the material in the inventor itself. Please let me know where the problem is?
回答 (1 件)
Steve Miller 2022 年 11 月 26 日
In your DataFile, there is a part set to have 0 mass but a nonzero center of mass. Likely, the density of the part is 0 in Inventor.
%Inertia Type - Custom
%Visual Properties - Simple
smiData.Solid(4).mass = 0; % lbm
smiData.Solid(4).CoM = [1.9096113985112416e-316 2.7369230995704108e-310 0]; % in
You can either fix this in your CAD model, or you can modify the parameters directly in the ex_b_s_4_DataFile.m, setting the center of mass and inertia values to 0. Make sure this solid is rigidly attached to world or you will get additional errors related to infinite acceleration.