# Mass element

Hi,

I want the human to carry a load on his hand like the dumbbell-model
in the tuorial. How can I define a mass to the dumbbell as it is not
shown in the tutorial?
Do I have to create another Segment first?

for example:

AnySeg Bag = {
Mass=5;
Jii = {0.01,0.01,0.01}

AnyRefNode Handle = {
sRel = {0,0,0};

AnyDrawSTL = {
FileName = “Bag.stl”;
ScaleXYZ = {0.001,0.001,0.001};
};
}; //Bag

But then I have to connect the Sement “Bag” to the model. What joint
should I use and what Dof do I have to suppress in order to keep the
Dof and the constraints equally?

Thanks

Best regards

Thomas

Hi Thomas,

The easy way is to just apply an AnyForce3D corresponding to the
gravity of the dumbbell on the hand. This will work okay as long as
the motion is slow. It is not completely correct, though, because it
will not represent the centrifugal force and other inertia forces
that may occur when the model moves the hand.

The better and slightly more difficult way is to define the dumbbell
as a segment with a mass and then attach it to the hand by an
AnyStdJoint. This will give you an entirely correct representation of
the dumbbell including all the inertia forces that it causes.

Best regards,
John
AnyBody Support

— In anyscript@yahoogroups.com, “knox40” <knox40@…> wrote:
>
> Hi,
>
> I want the human to carry a load on his hand like the dumbbell-
model
> in the tuorial. How can I define a mass to the dumbbell as it is
not
> shown in the tutorial?
> Do I have to create another Segment first?
>
> for example:
>
> AnySeg Bag = {
> Mass=5;
> Jii = {0.01,0.01,0.01}
>
> AnyRefNode Handle = {
> sRel = {0,0,0};
>
> AnyDrawSTL = {
> FileName = “Bag.stl”;
> ScaleXYZ = {0.001,0.001,0.001};
> };
> }; //Bag
>
>
> But then I have to connect the Sement “Bag” to the model. What
joint
> should I use and what Dof do I have to suppress in order to keep
the
> Dof and the constraints equally?
>
> Thanks
>
> Best regards
>
> Thomas
>