NurseModel

Thanks very much for your help guys. I have now completed all the
tutorials and am ready to proceed with building my own application.

I would like to use the FullBodyModel with NoMuscles to start with and
am going to jump right in based on some of these tutorials. (For your
reference, I am trying to measure forces and moments on the L4/L5 and
L5/S1 joints based on force plate data, and motion tracking position
data).

For starters, the first question I have is: For scaling the fullbody,
can I simply do as was done in the building block tutorial:

-#include “Scaling.any” in the NurseModel.main file
-copy the Scaling.any file from the standing model and place it in the
same directory as the NurseModel.main file
-place various “AnyFolder &ScalingTrunk = Main.Scaling.Trunk;” and
“AnyFolder &ScalingLeg = Main.Scaling.Leg;” statements in the
Body.Model.any file

  • Put in: AnyFolder BodyParameters = {
    AnyVar BodyMass = 75;
    AnyVar Density = 1000;
    }; in the Main function

(What does a density of 1000 mean - is that the density of water?
1g/cm^3?) Can the entire body be scaled simply based on weight? Could
we involve an overall height measure into this?

Thanks,
Tilak

Hi Tilak

New facilities for scaling has been introduced in repository 4
compared to repository 5 from the tutorials. So the density variable
you mention is not used anymore. The individual segment lengths and
masses can now be set in a personalized file and four different
scaling laws could be used. In the script it could look in the
following way:

//Do not scale
//#include “…\BRep\Aalborg\Scaling\ScalingStandard.any”
//Scaling unifromly in all directions to macth segments lengths
//#include “…\BRep\Aalborg\Scaling\ScalingUniform.any”
//Scaling taking length and mass of the segments into account
//#include “…\BRep\Aalborg\Scaling\ScalingLengthMass.any”
//Scaling taking length, mass and fat of the segments into account
#include “…\BRep\Aalborg\Scaling\ScalingLengthMassFat.any”
Scaling={
#include “…\BRep\Aalborg\Scaling\AnyFamily\AnyJack.any”
};

The file AnyJack.any is the personalized file, it contains segment
masses and segment lengths for a specific person you could create as
many new files as you have subjects. The scaling laws can be shifted
in and out but we recommend the ScalingLenghtMassFat law, you can
read more about the scaling laws in the repository 5 presentation

http://www.anybody.aau.dk/repository/Repository5/Repository5-
Beta_files/frame.htm

We have a newer version of the AnyJack.any file i have uploaded it
to the file section. The output from the file are the same, but in
the new one the segment masses are found as a direct function of a
specified total mass, so this makes it possible to scale the entire
body as a function of the weight.

I hope this answers your questions otherwise please do not hesitate
to ask again.

Best regards
AnyBody Support

— In anyscript@yahoogroups.com, “duttatil” <tilak.dutta@u…>
wrote:
> Thanks very much for your help guys. I have now completed all the
> tutorials and am ready to proceed with building my own application.
>
> I would like to use the FullBodyModel with NoMuscles to start with
and
> am going to jump right in based on some of these tutorials. (For
your
> reference, I am trying to measure forces and moments on the L4/L5
and
> L5/S1 joints based on force plate data, and motion tracking
position
> data).
>
> For starters, the first question I have is: For scaling the
fullbody,
> can I simply do as was done in the building block tutorial:
>
> -#include “Scaling.any” in the NurseModel.main file
> -copy the Scaling.any file from the standing model and place it in
the
> same directory as the NurseModel.main file
> -place various “AnyFolder &ScalingTrunk = Main.Scaling.Trunk;” and
> “AnyFolder &ScalingLeg = Main.Scaling.Leg;” statements in the
> Body.Model.any file
> - Put in: AnyFolder BodyParameters = {
> AnyVar BodyMass = 75;
> AnyVar Density = 1000;
> }; in the Main function
>
> (What does a density of 1000 mean - is that the density of water?
> 1g/cm^3?) Can the entire body be scaled simply based on weight?
Could
> we involve an overall height measure into this?
>
> Thanks,
> Tilak

Tilak,

Something occurred to me: It is a good idea to build your application
by modification of the StandingModel. It has joint drivers defined in
the file JointsAndDrivers.any which in turn are controlled by the
numbers in the file Mannequin.any. That way you have a model that is
working from the very beginning of the work.

It is also a good idea to take one step at a time: Add one of your
drivers, and remove one of the joint drivers, and verify that the
kinematic analysis runs every time you have made a change.

Finally, I think you might want to begin replacing the drivers
proximally and work your way out to the extremities.

Best regards,
John

Hi John,

Thanks very much for your help today at the webcast. Just a few questions about
the AnyJack file. So I’ll make a new file called AnyNurse1 that is a copy of
AnyJack that has the anthropomorphic data associated with each nurse subject.

Where does the AnyNurse1 need to be #included?

Also, ultimately, I’m hoping to need to collect only the height, mass and lower
body segment lengths from our subjects. And I was hoping that all other
anthropometrics would get calculated automatically. From the looks of the
AnyJack file, however, it looks as though I need to specify lower_lumbar_spine,
Upper_lumbar spine etc.

AnyFolder AnthroData = {
AnyVar Body_Mass = 91.43 ;
AnyVar body_height = 1945.4 /1000;
AnyVar lower_lumbar_spine = 6.59 ;
AnyVar upper_lumbar_spine = 7.38 ;
AnyVar lower_thoracal_spine = 8.52 ;
AnyVar upper_thoracal_spine = 11.35 ;
AnyVar lower_cervical_spine = 0.9 ;
AnyVar upper_cervical_spine = 0.82 ;

Is there a version of the anyJack file that calculates these vals from the
weight and height?

Thanks,
Tilak

Quoting AnyBody Support <support@anybodytech.com>:

> Tilak,
>
> Something occurred to me: It is a good idea to build your application
> by modification of the StandingModel. It has joint drivers defined in
> the file JointsAndDrivers.any which in turn are controlled by the
> numbers in the file Mannequin.any. That way you have a model that is
> working from the very beginning of the work.
>
> It is also a good idea to take one step at a time: Add one of your
> drivers, and remove one of the joint drivers, and verify that the
> kinematic analysis runs every time you have made a change.
>
> Finally, I think you might want to begin replacing the drivers
> proximally and work your way out to the extremities.
>
> Best regards,
> John
>
>
>
>
>
>
> AnyBody Technology provides free support on the use of the AnyBody Modeling
> System and the Scripting language AnyScript. Other users are welcome to join
> the discussions.
> Yahoo! Groups Links
>
>
>
>
>
>
>
>

One other question:

John, you suggested that I start with the 3dgait application and add a spine to
that. Why can’t I simply change the line that says:

#include “…\BRep\Aalborg\BodyModels\TwoLegs\BodyModel_Mus3E.any”

To:

#include “…\BRep\Aalborg\BodyModels\SpineNoMusclesTwoLegs\BodyModel_NoMu
scles.any”

Thanks again for your help,
Tilak

Quoting AnyBody Support <support@anybodytech.com>:

> Tilak,
>
> Something occurred to me: It is a good idea to build your application
> by modification of the StandingModel. It has joint drivers defined in
> the file JointsAndDrivers.any which in turn are controlled by the
> numbers in the file Mannequin.any. That way you have a model that is
> working from the very beginning of the work.
>
> It is also a good idea to take one step at a time: Add one of your
> drivers, and remove one of the joint drivers, and verify that the
> kinematic analysis runs every time you have made a change.
>
> Finally, I think you might want to begin replacing the drivers
> proximally and work your way out to the extremities.
>
> Best regards,
> John
>
>
>
>
>
>
> AnyBody Technology provides free support on the use of the AnyBody Modeling
> System and the Scripting language AnyScript. Other users are welcome to join
> the discussions.
> Yahoo! Groups Links
>
>
>
>
>
>
>
>

And what do the measures: “trunk height” and “pelvis width” refer to exactly?
I’m assuming thighlength is hip joint to knee joint, shanklength is knee to
ankle, foot is ankle to end of big toe, upperarm length is shoulder to elbow,
lowerarm is elbow to wrist.

Thanks
Tilak

Hi Tilak,

> So I’ll make a new file called AnyNurse1 that is a copy of
> AnyJack that has the anthropomorphic data associated with each
nurse subject.
>
> Where does the AnyNurse1 need to be #included?

The version of the repository you have obtained still needs a few
adjustments, and one of them is that the include position of the
anthropometric files like AnyJack is not marked. It will be fixed
when we upload the right version, but here’s how to do it:

//Choice of Scaling
//#include “…\BRep\Aalborg\Scaling\ScalingStandard.any”
//#include “…\BRep\Aalborg\Scaling\ScalingUniform.any”
//#include “…\BRep\Aalborg\Scaling\ScalingLengthMass.any”
#include “…\BRep\Aalborg\Scaling\ScalingLengthMassFat.any”
Scaling = {
#include “…\BRep\Aalborg\Scaling\AnyFamily\AnyTilak.any”
};

> Also, ultimately, I’m hoping to need to collect only the height,
mass and lower
> body segment lengths from our subjects. And I was hoping that all
other
> anthropometrics would get calculated automatically. From the looks
of the
> AnyJack file, however, it looks as though I need to specify
lower_lumbar_spine,
> Upper_lumbar spine etc.
>
> AnyFolder AnthroData = {
> AnyVar Body_Mass = 91.43 ;
> AnyVar body_height = 1945.4 /1000;
> AnyVar lower_lumbar_spine = 6.59 ;
> AnyVar upper_lumbar_spine = 7.38 ;
> AnyVar lower_thoracal_spine = 8.52 ;
> AnyVar upper_thoracal_spine = 11.35 ;
> AnyVar lower_cervical_spine = 0.9 ;
> AnyVar upper_cervical_spine = 0.82 ;
>
> Is there a version of the anyJack file that calculates these vals
from the
> weight and height?

Yep. My version looks like this:
AnyVar lower_lumbar_spine = 4.08Body_Mass/70.43;
AnyVar upper_lumbar_spine = 4.62
Body_Mass/70.43;
AnyVar lower_thoracal_spine = 5.09Body_Mass/70.43;
AnyVar upper_thoracal_spine = 6.51
Body_Mass/70.43;
AnyVar lower_cervical_spine = 0.51Body_Mass/70.43;
AnyVar upper_cervical_spine = 0.43
Body_Mass/70.43;

Best regards,
John

Hi Tilak,

> John, you suggested that I start with the 3dgait application and
add
a spine to
> that. Why can’t I simply change the line that says:
>
>
#include “…\BRep\Aalborg\BodyModels\TwoLeg
s\BodyModel_Mus3E.any”
>
> To:
>
#include “…\BRep\Aalborg\BodyModels\SpineN
oMusclesTwoLegs\BodyMo
del_NoMu
> scles.any”

In fact, that is exactly what you can do. When you subsequently load
the model you are likely to get a warning that says that the system
is not kinematically determinate. This is because the model has no
drivers for the spinal vertebrae and the thorax segment that you have
now added. So you need to supply drivers for those.

The best way initially is to drive the thorax space angles and let
the spine rhythm take care of the vertebrae. You probably have no
idea what this means, but check out the JointsAndDrivers file in the
StandingModel application.

Best regards,
John

TrunkHeight is the distance between the L5/Sacrum joint and the top
of the C1 vertebra.

PelvisWidth, I believe, is the distance between the centers of the
hip joints. It is only 16 centimeters in the standard model so I am
pretty sure it is not the trochanter distance, which would be easier
to measure on a subject. At least I regret to say that my trochanter
width is somehwat biggar then 16 cm :slight_smile:

Best regards,
John

— In anyscript@yahoogroups.com, tilak.dutta@u… wrote:
> And what do the measures: “trunk height” and “pelvis width” refer
to exactly?
> I’m assuming thighlength is hip joint to knee joint, shanklength is
knee to
> ankle, foot is ankle to end of big toe, upperarm length is shoulder
to elbow,
> lowerarm is elbow to wrist.
>
> Thanks
> Tilak