DoF Hand

Hi,
I would like to insert degrees of freedom to the hand in order to my
scheleton catches the bar. how can I make?
And then, for my model, I have modified the standing model without
muscles and now I would like to insert only some muscle for the
legs, so I have inserted in the Main this:

AnyFolder RightLeg = {
//This is a sign variable which indicates that this is the right
side
AnyVar Sign =1;
AnyFolder MusclesR = {
AnyMuscleModel MusMdl = {
F0 = 200;
// F0 = .StrengthScaleShank*.StressIndex*320; // Maximum
force output at optimum fiber length
};

AnyViaPointMuscle Soleus = {
AnyMuscleModel &MusMdl = …MusclesR.MusMdl;
//AnyRefNode &Org = …Seg.Shank.SoleusNode;
AnyRefNode SoleusNode = {sRel = .Scale({-0.020,
0.1292, …Sign0.0});};
//AnyRefNode &Ins = …Seg.Foot.SoleusNode;
AnyRefNode SoleusNode1 = {sRel = .Scale({0.028, 0.108, …Sign
-
0.001});};
AnyDrawMuscle DrwMus =
{#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
};
};

AnyViaPointMuscle Gastrocnemius = {
AnyMuscleModel &MusMdl = …MusclesR.MusMdl;
//AnyRefNode &Org = …Seg.Thigh.GastrocnemiusNode;
AnyRefNode GastrocnemiusNode = {sRel = .Scale({-0.028, -
0.237, …Sign*-0.023});};
//AnyRefNode &Via = …Seg.Shank.GastrocnemiusViaNode;
AnyRefNode GastrocnemiusViaNode = {sRel = .Scale({-0.05,
0.05, …Sign0.0});};
// AnyRefNode &Ins = …Seg.Foot.GastrocnemiusNode;
AnyRefNode GastrocnemiusNode1 = {sRel = .Scale({0.028,
0.108, …Sign
-0.001});};
AnyDrawMuscle DrwMus =
{#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
// AnyDrawMuscle DrwMus =
{#include “…BRep/Aalborg/DrawSettings/MusDrawSettings.any”
};
};

AnyViaPointMuscle TibialisPosterior = {
AnyMuscleModel &MusMdl = …MusclesR.MusMdl;
//AnyRefNode &Org = …Seg.Shank.TibialisPosteriorNode;
AnyRefNode TibialisPosteriorNode = {sRel = .Scale({0.0,
0.13, …Sign0.0});}; // original had {0.0, 0.16, 0.0} - too high,
//AnyRefNode &Via = …Seg.Foot.TibialisPosteriorViaNode;
AnyRefNode TibialisPosteriorViaNode = {sRel = .Scale({0.037,
0.085, …Sign
-0.02});

}; // Important for moment arm, needs to be checked.
//AnyRefNode &Ins = …Seg.Foot.TibialisPosteriorNode;
AnyRefNode TibialisPosteriorNode1 = {sRel = .Scale({0.012,
0.007, …Sign*-0.020}); };
AnyDrawMuscle DrwMus =
{#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
};

};

AnyViaPointMuscle PeroneusBrevis = {
AnyMuscleModel &MusMdl = …MusclesR.MusMdl;
//AnyRefNode &Org = …Seg.Shank.PeroneusBrevisNode;
AnyRefNode PeroneusBrevisNode = {sRel = .Scale({0.0, -
0.04, …Sign0.03});};
//AnyRefNode &Via = …Seg.Foot.PeroneusBrevisViaNode;
AnyRefNode PeroneusBrevisViaNode = {sRel = .Scale({0.037,
0.070, …Sign
0.018});}; // Important for moment arm, needs to be
checked.
//AnyRefNode &Ins = …Seg.Foot.PeroneusBrevisNode;
AnyRefNode PeroneusBrevisNode1 = {sRel = .Scale({0.004,
0.025, …Sign*0.036});};
AnyDrawMuscle DrwMus =
{#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
};
};

AnyViaPointMuscle TibialisAnterior = {
AnyMuscleModel &MusMdl = …MusclesR.MusMdl;
//AnyRefNode &Org = …Seg.Shank.TibialisAnteriorNode;
AnyRefNode TibialisAnteriorNode = {sRel = .Scale({0.0,
0.0115, …Sign*-0.01});};
//AnyRefNode &Via = …Seg.Foot.TibialisAnteriorViaNode;
AnyRefNode TibialisAnteriorViaNode = {sRel = .Scale({0.05,
0.03, …Sign*-0.01});};
//AnyRefNode &Ins = …Seg.Foot.TibialisAnteriorNode;
AnyRefNode TibialisAnteriorNode1 = {sRel = .Scale({0.03,
0.0, …Sign*-0.02});};
AnyDrawMuscle DrwMus =
{#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
};
};

// Start Quadriceps

AnyViaPointMuscle VastusLateralis = {
AnyMuscleModel &MusMdl = …MusclesR.MusMdl;
//AnyRefNode &Org = …Seg.Thigh.VastusLateralisNode;
AnyRefNode VastusLateralisNode = {sRel = .Scale({0.0,
0.0, …Sign0.013});};
//AnyRefNode &Via1 = …Seg.Thigh.QuadricepsViaNode1;
AnyRefNode QuadricepsViaNode1 = {sRel = .Scale({0.021, -
0.264, …Sign
-0.018});};
//AnyRefNode &Via2 = …Seg.Thigh.QuadricepsViaNode2;
AnyRefNode QuadricepsViaNode2 = {sRel = .Scale({0.007, -
0.30, …Sign*-0.018});};
//AnyRefNode &Ins = …Seg.Shank.QuadricepsNode;
AnyRefNode QuadricepsNode = {sRel = .Scale({0.032,
0.110, …Sign*0.01});}; // Node for Vasti and Rectus Femoris.
AnyDrawMuscle DrwMus =
{#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
};
};

AnyViaPointMuscle VastusMedialis = {
AnyMuscleModel &MusMdl = …MusclesR.MusMdl;
//AnyRefNode &Org = …Seg.Thigh.VastusMedialisNode;
AnyRefNode VastusMedialisNode = {sRel = .Scale({0.0,
0.041, …Sign*-0.014});};
// AnyRefNode &Via1 = …Seg.Thigh.QuadricepsViaNode1;
AnyRefNode QuadricepsViaNode1 = {sRel = .Scale({0.021, -
0.264, …Sign*-0.018});};
//AnyRefNode &Via2 = …Seg.Thigh.QuadricepsViaNode2;
AnyRefNode QuadricepsViaNode2 = {sRel = .Scale({0.007, -
0.30, …Sign*-0.018});};
//AnyRefNode &Ins = …Seg.Shank.QuadricepsNode;
AnyRefNode QuadricepsNode = {sRel = .Scale({0.032,
0.110, …Sign*0.01});}; // Node for Vasti and Rectus Femoris.
AnyDrawMuscle DrwMus =
{#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
};
};

AnyViaPointMuscle VastusIntermedius = {
AnyMuscleModel &MusMdl = …MusclesR.MusMdl;
//AnyRefNode &Org = …Seg.Thigh.VastusIntermediusNode;
AnyRefNode VastusIntermediusNode = {sRel = .Scale({0.014,
0.0, …Sign0.0});};
//AnyRefNode &Via1 = …Seg.Thigh.QuadricepsViaNode1;
AnyRefNode QuadricepsViaNode1 = {sRel = .Scale({0.021, -
0.264, …Sign
-0.018});};
//AnyRefNode &Via2 = …Seg.Thigh.QuadricepsViaNode2;
AnyRefNode QuadricepsViaNode2 = {sRel = .Scale({0.007, -
0.30, …Sign*-0.018});};
//AnyRefNode &Ins = …Seg.Shank.QuadricepsNode;
AnyRefNode QuadricepsNode = {sRel = .Scale({0.032,
0.110, …Sign0.01});}; // Node for Vasti and Rectus Femoris.
AnyDrawMuscle DrwMus =
{#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
};
};
AnyViaPointMuscle RectusFemoris = {
AnyMuscleModel &MusMdl = …MusclesR.MusMdl;
//AnyRefNode &Org = …HipNodeRef.RectusFemorisNode;
AnyVec3 T = {0.000000, -0.115000,0.096000}; // The values are set
to constant values to make it possible to move model around!
AnyRefNode RectusFemorisNode = { sRel = .Scale(-.T+{0.031, -
0.093, …Sign
0.116});};
//AnyRefNode &Via1 = …Seg.Thigh.QuadricepsViaNode1;
AnyRefNode QuadricepsViaNode1 = {sRel = .Scale({0.021, -
0.264, …Sign*-0.018});};
//AnyRefNode &Via2 = …Seg.Thigh.QuadricepsViaNode2;
AnyRefNode QuadricepsViaNode2 = {sRel = .Scale({0.007, -
0.30, …Sign*-0.018});};
//AnyRefNode &Ins = …Seg.Shank.QuadricepsNode;
AnyRefNode QuadricepsNode = {sRel = .Scale({0.032,
0.110, …Sign*0.01});}; // Node for Vasti and Rectus Femoris.
// AnyDrawMuscle DrwMus =
{#include “…BRep/Aalborg/DrawSettings/MusDrawSettings.any”
AnyDrawMuscle DrwMus =
{#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”

};
};
// End Quadriceps.

// #include “…\BRep\Aalborg\Scaling\ScalingStandard.any”

// BICIPITE FEMORALE:

AnyViaPointMuscle Semitendinosus = {
AnyMuscleModel &MusMdl = …MusclesR.MusMdl;
//AnyRefNode &Org = …HipNodeRef.SemitendinosusNode;
AnyRefNode SemitendinosusNode = {sRel = .Scale(-.T+{-0.058, -
0.178, …Sign0.055});};
//AnyRefNode &Via = …Seg.Shank.SemitendinosusViaNode;
AnyRefNode SemitendinosusViaNode = {sRel = .Scale({0.005,
0.150, …Sign
-0.042});};
//AnyRefNode &Ins = …Seg.Shank.SemitendinosusNode;
AnyRefNode SemitendinosusNode1 = {sRel = .Scale({0.018,
0.13, …Sign*-0.016});};
AnyDrawMuscle DrwMus =
{#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”

};
};

AnyViaPointMuscle Semimembranosus = {
AnyMuscleModel &MusMdl = …MusclesR.MusMdl;
//AnyRefNode &Org = …HipNodeRef.SemimembranosusNode;
AnyRefNode SemimembranosusNode = {sRel = .Scale(-.T+{-0.058, -
0.178, …Sign0.055});};
// AnyRefNode &Via = …Seg.Shank.SemimembranosusViaNode;
AnyRefNode SemimembranosusViaNode = {sRel = .Scale({-0.0185,
0.185, …Sign
-0.018});};
//AnyRefNode &Ins = …Seg.Shank.SemimembranosusNode;
AnyRefNode SemimembranosusNode1 = {sRel = .Scale({-0.027,
0.18, …Sign*-0.018});};
AnyDrawMuscle DrwMus =
{#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”

};
};

AnyViaPointMuscle BicepsFemorisCaputLongum = {
AnyMuscleModel &MusMdl = …MusclesR.MusMdl;
//AnyRefNode &Org = …HipNodeRef.BicepsFemorisCaputLongumNode;
AnyRefNode BicepsFemorisCaputLongumNode = {sRel = .Scale(-.T+{-
0.058, -0.178, …Sign0.055});};
//AnyRefNode &Via = …Seg.Shank.BicepsFemorisCaputLongumViaNode;
AnyRefNode BicepsFemorisCaputLongumViaNode = {sRel = .Scale({-
0.0185, 0.185, …Sign
0.043});};
//AnyRefNode &Ins = …Seg.Shank.BicepsFemorisCaputLongumNode;
AnyRefNode BicepsFemorisCaputLongumNode1 = {sRel = .Scale({-0.015,
0.17, …Sign*0.043});};
AnyDrawMuscle DrwMus =
{#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
//AnyDrawMuscle DrwMus =
{#include “…/drawSettings/MusDrawSettings.any”
};
};

AnyViaPointMuscle BicepsFemorisCaputBreve = {
AnyMuscleModel &MusMdl = …MusclesR.MusMdl;
//AnyRefNode &Org = …Seg.Thigh.BicepsFemorisCaputBreveNode;
AnyRefNode BicepsFemorisCaputBreveNode = {sRel = .Scale({-0.014, -
0.054, …Sign0.0});};
//AnyRefNode &Via = …Seg.Shank.BicepsFemorisCaputBreveViaNode;
AnyRefNode BicepsFemorisCaputBreveViaNode = {sRel = .Scale({-
0.0185, 0.185, …Sign
0.043});};
//AnyRefNode &Ins = …Seg.Shank.BicepsFemorisCaputBreveNode;
AnyRefNode BicepsFemorisCaputBreveNode1 = {sRel = .Scale({-0.015,
0.17, …Sign*0.043});};

AnyDrawMuscle DrwMus =
{#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
//AnyDrawMuscle DrwMus =
{#include “…/drawSettings/MusDrawSettings.any”
};
};

AnyViaPointMuscle Sartorius = {
AnyMuscleModel &MusMdl = …MusclesR.MusMdl;
//AnyRefNode &Org = …HipNodeRef.SartoriusNode;
AnyRefNode SartoriusNode = {sRel = .Scale(-.T+{0.068, -
0.038, …Sign*0.152});};
//AnyRefNode &Via1 = …Seg.Thigh.SartoriusViaNode1;
AnyRefNode SartoriusViaNode1 = {

 sRel = .Scale({0.045, 0, ...Sign*-0.03});

};

//AnyRefNode &Via2 = …Seg.Shank.SartoriusViaNode2;
AnyRefNode SartoriusViaNode2 = {sRel = .Scale({-0.0185+0.025,
0.18, …Sign*-0.038});};
//AnyRefNode &Via3 = …Seg.Shank.SartoriusViaNode3;
AnyRefNode SartoriusViaNode3 = {sRel = .Scale({0.005+0.005,
0.150, …Sign*-0.047000});};
//AnyRefNode &Ins = …Seg.Shank.SartoriusNode;
AnyRefNode SartoriusNode1 = {sRel = .Scale({0.018, 0.13, …Sign*-
0.016});};
AnyDrawMuscle DrwMus =
{#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
};
};

AnyViaPointMuscle Gracilis = {
AnyMuscleModel &MusMdl = …MusclesR.MusMdl;
//AnyRefNode &Org = …HipNodeRef.GracilisNode;
AnyRefNode GracilisNode = {sRel = .Scale(-.T+{0.035, -
0.181, …Sign0.023});};
//AnyRefNode &Via = …Seg.Shank.GracilisViaNode;
AnyRefNode GracilisViaNode = {sRel = .Scale({-0.0185,
0.18, …Sign
-0.018});};
//AnyRefNode &Via1 = …Seg.Shank.GracilisViaNode1;
AnyRefNode GracilisViaNode1 = {sRel = .Scale({0.005,
0.150, …Sign*-0.042});};
//AnyRefNode &Ins = …Seg.Shank.GracilisNode;
AnyRefNode GracilisNode1 = {sRel = .Scale({0.018, 0.13, …Sign*-
0.016});};
AnyDrawMuscle DrwMus =
{#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”

};
};

};// chiude il folder della gamba destra

}; // chiude il folder Right

AnyFolder LeftLeg = {
//This is a sign variable which indicates that this is the right
side
AnyVar Sign =-1;
AnyFolder MusclesL= {
AnyMuscleModel MusMdl = {
F0 = 200;
// F0 = .StrengthScaleShank*.StressIndex*320; // Maximum
force output at optimum fiber length
};

AnyViaPointMuscle Soleus = {
AnyMuscleModel &MusMdl = …MusclesL.MusMdl;
//AnyRefNode &Org = …Seg.Shank.SoleusNode;
AnyRefNode SoleusNode = {sRel = .Scale({-0.020,
0.1292, …Sign0.0});};
//AnyRefNode &Ins = …Seg.Foot.SoleusNode;
AnyRefNode SoleusNode1 = {sRel = .Scale({0.028, 0.108, …Sign
-
0.001});};
AnyDrawMuscle DrwMus =
{#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
};
};

AnyViaPointMuscle Gastrocnemius = {
AnyMuscleModel &MusMdl = …MusclesL.MusMdl;
//AnyRefNode &Org = …Seg.Thigh.GastrocnemiusNode;
AnyRefNode GastrocnemiusNode = {sRel = .Scale({-0.028, -
0.237, …Sign*-0.023});};
//AnyRefNode &Via = …Seg.Shank.GastrocnemiusViaNode;
AnyRefNode GastrocnemiusViaNode = {sRel = .Scale({-0.05,
0.05, …Sign0.0});};
// AnyRefNode &Ins = …Seg.Foot.GastrocnemiusNode;
AnyRefNode GastrocnemiusNode1 = {sRel = .Scale({0.028,
0.108, …Sign
-0.001});};
AnyDrawMuscle DrwMus =
{#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
// AnyDrawMuscle DrwMus =
{#include “…BRep/Aalborg/DrawSettings/MusDrawSettings.any”
};
};

AnyViaPointMuscle TibialisPosterior = {
AnyMuscleModel &MusMdl = …MusclesL.MusMdl;
//AnyRefNode &Org = …Seg.Shank.TibialisPosteriorNode;
AnyRefNode TibialisPosteriorNode = {sRel = .Scale({0.0,
0.13, …Sign0.0});}; // original had {0.0, 0.16, 0.0} - too high,
//AnyRefNode &Via = …Seg.Foot.TibialisPosteriorViaNode;
AnyRefNode TibialisPosteriorViaNode = {sRel = .Scale({0.037,
0.085, …Sign
-0.02});

}; // Important for moment arm, needs to be checked.
//AnyRefNode &Ins = …Seg.Foot.TibialisPosteriorNode;
AnyRefNode TibialisPosteriorNode1 = {sRel = .Scale({0.012,
0.007, …Sign*-0.020}); };
AnyDrawMuscle DrwMus =
{#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
};

};

AnyViaPointMuscle PeroneusBrevis = {
AnyMuscleModel &MusMdl = …MusclesL.MusMdl;
//AnyRefNode &Org = …Seg.Shank.PeroneusBrevisNode;
AnyRefNode PeroneusBrevisNode = {sRel = .Scale({0.0, -
0.04, …Sign0.03});};
//AnyRefNode &Via = …Seg.Foot.PeroneusBrevisViaNode;
AnyRefNode PeroneusBrevisViaNode = {sRel = .Scale({0.037,
0.070, …Sign
0.018});}; // Important for moment arm, needs to be
checked.
//AnyRefNode &Ins = …Seg.Foot.PeroneusBrevisNode;
AnyRefNode PeroneusBrevisNode1 = {sRel = .Scale({0.004,
0.025, …Sign*0.036});};
AnyDrawMuscle DrwMus =
{#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
};
};

AnyViaPointMuscle TibialisAnterior = {
AnyMuscleModel &MusMdl = …MusclesL.MusMdl;
//AnyRefNode &Org = …Seg.Shank.TibialisAnteriorNode;
AnyRefNode TibialisAnteriorNode = {sRel = .Scale({0.0,
0.0115, …Sign*-0.01});};
//AnyRefNode &Via = …Seg.Foot.TibialisAnteriorViaNode;
AnyRefNode TibialisAnteriorViaNode = {sRel = .Scale({0.05,
0.03, …Sign*-0.01});};
//AnyRefNode &Ins = …Seg.Foot.TibialisAnteriorNode;
AnyRefNode TibialisAnteriorNode1 = {sRel = .Scale({0.03,
0.0, …Sign*-0.02});};
AnyDrawMuscle DrwMus =
{#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
};
};

// Start Quadriceps

AnyViaPointMuscle VastusLateralis = {
AnyMuscleModel &MusMdl = …MusclesL.MusMdl;
//AnyRefNode &Org = …Seg.Thigh.VastusLateralisNode;
AnyRefNode VastusLateralisNode = {sRel = .Scale({0.0,
0.0, …Sign0.013});};
//AnyRefNode &Via1 = …Seg.Thigh.QuadricepsViaNode1;
AnyRefNode QuadricepsViaNode1 = {sRel = .Scale({0.021, -
0.264, …Sign
-0.018});};
//AnyRefNode &Via2 = …Seg.Thigh.QuadricepsViaNode2;
AnyRefNode QuadricepsViaNode2 = {sRel = .Scale({0.007, -
0.30, …Sign*-0.018});};
//AnyRefNode &Ins = …Seg.Shank.QuadricepsNode;
AnyRefNode QuadricepsNode = {sRel = .Scale({0.032,
0.110, …Sign*0.01});}; // Node for Vasti and Rectus Femoris.
AnyDrawMuscle DrwMus =
{#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
};
};

AnyViaPointMuscle VastusMedialis = {
AnyMuscleModel &MusMdl = …MusclesL.MusMdl;
//AnyRefNode &Org = …Seg.Thigh.VastusMedialisNode;
AnyRefNode VastusMedialisNode = {sRel = .Scale({0.0,
0.041, …Sign*-0.014});};
// AnyRefNode &Via1 = …Seg.Thigh.QuadricepsViaNode1;
AnyRefNode QuadricepsViaNode1 = {sRel = .Scale({0.021, -
0.264, …Sign*-0.018});};
//AnyRefNode &Via2 = …Seg.Thigh.QuadricepsViaNode2;
AnyRefNode QuadricepsViaNode2 = {sRel = .Scale({0.007, -
0.30, …Sign*-0.018});};
//AnyRefNode &Ins = …Seg.Shank.QuadricepsNode;
AnyRefNode QuadricepsNode = {sRel = .Scale({0.032,
0.110, …Sign*0.01});}; // Node for Vasti and Rectus Femoris.
AnyDrawMuscle DrwMus =
{#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
};
};

AnyViaPointMuscle VastusIntermedius = {
AnyMuscleModel &MusMdl = …MusclesL.MusMdl;
//AnyRefNode &Org = …Seg.Thigh.VastusIntermediusNode;
AnyRefNode VastusIntermediusNode = {sRel = .Scale({0.014,
0.0, …Sign0.0});};
//AnyRefNode &Via1 = …Seg.Thigh.QuadricepsViaNode1;
AnyRefNode QuadricepsViaNode1 = {sRel = .Scale({0.021, -
0.264, …Sign
-0.018});};
//AnyRefNode &Via2 = …Seg.Thigh.QuadricepsViaNode2;
AnyRefNode QuadricepsViaNode2 = {sRel = .Scale({0.007, -
0.30, …Sign*-0.018});};
//AnyRefNode &Ins = …Seg.Shank.QuadricepsNode;
AnyRefNode QuadricepsNode = {sRel = .Scale({0.032,
0.110, …Sign0.01});}; // Node for Vasti and Rectus Femoris.
AnyDrawMuscle DrwMus =
{#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
};
};
AnyViaPointMuscle RectusFemoris = {
AnyMuscleModel &MusMdl = …MusclesL.MusMdl;
//AnyRefNode &Org = …HipNodeRef.RectusFemorisNode;
AnyVec3 T = {0.000000, -0.115000,0.096000}; // The values are set
to constant values to make it possible to move model around!
AnyRefNode RectusFemorisNode = { sRel = .Scale(-.T+{0.031, -
0.093, …Sign
0.116});};
//AnyRefNode &Via1 = …Seg.Thigh.QuadricepsViaNode1;
AnyRefNode QuadricepsViaNode1 = {sRel = .Scale({0.021, -
0.264, …Sign*-0.018});};
//AnyRefNode &Via2 = …Seg.Thigh.QuadricepsViaNode2;
AnyRefNode QuadricepsViaNode2 = {sRel = .Scale({0.007, -
0.30, …Sign*-0.018});};
//AnyRefNode &Ins = …Seg.Shank.QuadricepsNode;
AnyRefNode QuadricepsNode = {sRel = .Scale({0.032,
0.110, …Sign*0.01});}; // Node for Vasti and Rectus Femoris.
// AnyDrawMuscle DrwMus =
{#include “…BRep/Aalborg/DrawSettings/MusDrawSettings.any”
AnyDrawMuscle DrwMus =
{#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”

};
};
// End Quadriceps.

// #include “…\BRep\Aalborg\Scaling\ScalingStandard.any”

// BICIPITE FEMORALE:

AnyViaPointMuscle Semitendinosus = {
AnyMuscleModel &MusMdl = …MusclesL.MusMdl;
//AnyRefNode &Org = …HipNodeRef.SemitendinosusNode;
AnyRefNode SemitendinosusNode = {sRel = .Scale(-.T+{-0.058, -
0.178, …Sign0.055});};
//AnyRefNode &Via = …Seg.Shank.SemitendinosusViaNode;
AnyRefNode SemitendinosusViaNode = {sRel = .Scale({0.005,
0.150, …Sign
-0.042});};
//AnyRefNode &Ins = …Seg.Shank.SemitendinosusNode;
AnyRefNode SemitendinosusNode1 = {sRel = .Scale({0.018,
0.13, …Sign*-0.016});};
AnyDrawMuscle DrwMus =
{#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”

};
};

AnyViaPointMuscle Semimembranosus = {
AnyMuscleModel &MusMdl = …MusclesL.MusMdl;
//AnyRefNode &Org = …HipNodeRef.SemimembranosusNode;
AnyRefNode SemimembranosusNode = {sRel = .Scale(-.T+{-0.058, -
0.178, …Sign0.055});};
// AnyRefNode &Via = …Seg.Shank.SemimembranosusViaNode;
AnyRefNode SemimembranosusViaNode = {sRel = .Scale({-0.0185,
0.185, …Sign
-0.018});};
//AnyRefNode &Ins = …Seg.Shank.SemimembranosusNode;
AnyRefNode SemimembranosusNode1 = {sRel = .Scale({-0.027,
0.18, …Sign*-0.018});};
AnyDrawMuscle DrwMus =
{#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”

};
};

AnyViaPointMuscle BicepsFemorisCaputLongum = {
AnyMuscleModel &MusMdl = …MusclesL.MusMdl;
//AnyRefNode &Org = …HipNodeRef.BicepsFemorisCaputLongumNode;
AnyRefNode BicepsFemorisCaputLongumNode = {sRel = .Scale(-.T+{-
0.058, -0.178, …Sign0.055});};
//AnyRefNode &Via = …Seg.Shank.BicepsFemorisCaputLongumViaNode;
AnyRefNode BicepsFemorisCaputLongumViaNode = {sRel = .Scale({-
0.0185, 0.185, …Sign
0.043});};
//AnyRefNode &Ins = …Seg.Shank.BicepsFemorisCaputLongumNode;
AnyRefNode BicepsFemorisCaputLongumNode1 = {sRel = .Scale({-0.015,
0.17, …Sign*0.043});};
AnyDrawMuscle DrwMus =
{#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
//AnyDrawMuscle DrwMus =
{#include “…/drawSettings/MusDrawSettings.any”
};
};

AnyViaPointMuscle BicepsFemorisCaputBreve = {
AnyMuscleModel &MusMdl = …MusclesL.MusMdl;
//AnyRefNode &Org = …Seg.Thigh.BicepsFemorisCaputBreveNode;
AnyRefNode BicepsFemorisCaputBreveNode = {sRel = .Scale({-0.014, -
0.054, …Sign0.0});};
//AnyRefNode &Via = …Seg.Shank.BicepsFemorisCaputBreveViaNode;
AnyRefNode BicepsFemorisCaputBreveViaNode = {sRel = .Scale({-
0.0185, 0.185, …Sign
0.043});};
//AnyRefNode &Ins = …Seg.Shank.BicepsFemorisCaputBreveNode;
AnyRefNode BicepsFemorisCaputBreveNode1 = {sRel = .Scale({-0.015,
0.17, …Sign*0.043});};

AnyDrawMuscle DrwMus =
{#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
//AnyDrawMuscle DrwMus =
{#include “…/drawSettings/MusDrawSettings.any”
};
};

AnyViaPointMuscle Sartorius = {
AnyMuscleModel &MusMdl = …MusclesL.MusMdl;
//AnyRefNode &Org = …HipNodeRef.SartoriusNode;
AnyRefNode SartoriusNode = {sRel = .Scale(-.T+{0.068, -
0.038, …Sign*0.152});};
//AnyRefNode &Via1 = …Seg.Thigh.SartoriusViaNode1;
AnyRefNode SartoriusViaNode1 = {

 sRel = .Scale({0.045, 0, ...Sign*-0.03});

};

//AnyRefNode &Via2 = …Seg.Shank.SartoriusViaNode2;
AnyRefNode SartoriusViaNode2 = {sRel = .Scale({-0.0185+0.025,
0.18, …Sign*-0.038});};
//AnyRefNode &Via3 = …Seg.Shank.SartoriusViaNode3;
AnyRefNode SartoriusViaNode3 = {sRel = .Scale({0.005+0.005,
0.150, …Sign*-0.047000});};
//AnyRefNode &Ins = …Seg.Shank.SartoriusNode;
AnyRefNode SartoriusNode1 = {sRel = .Scale({0.018, 0.13, …Sign*-
0.016});};
AnyDrawMuscle DrwMus =
{#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
};
};

AnyViaPointMuscle Gracilis = {
AnyMuscleModel &MusMdl = …MusclesL.MusMdl;
//AnyRefNode &Org = …HipNodeRef.GracilisNode;
AnyRefNode GracilisNode = {sRel = .Scale(-.T+{0.035, -
0.181, …Sign0.023});};
//AnyRefNode &Via = …Seg.Shank.GracilisViaNode;
AnyRefNode GracilisViaNode = {sRel = .Scale({-0.0185,
0.18, …Sign
-0.018});};
//AnyRefNode &Via1 = …Seg.Shank.GracilisViaNode1;
AnyRefNode GracilisViaNode1 = {sRel = .Scale({0.005,
0.150, …Sign*-0.042});};
//AnyRefNode &Ins = …Seg.Shank.GracilisNode;
AnyRefNode GracilisNode1 = {sRel = .Scale({0.018, 0.13, …Sign*-
0.016});};
AnyDrawMuscle DrwMus =
{#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”

};
};

};// chiude il Folder MusclesL
};// chiude il folder LeftLeg

but when I make to run AnyBody, it doesn’t recognize me
the “.Scale”; what’s thing? how could I replace it so that to
remove that reference .Scale?

Then, my model of the weightlifting predicts that to a definite
instant the skeleton lifts himself on the toes, so, for this in the
standing model, I have eliminated the ties that the heel forced on
the floor:

AnyKinEqSimpleDriver RHeelGroundConstraint ={
AnyKinLinear HeelPos = {
AnyFixedRefFrame &Ground =
Main.Model.EnvironmentModel.GlobalRef;
AnyRefNode &Ball =
Main.Model.HumanModel.Right.Leg.Seg.Foot.HeelJoint;
};
MeasureOrganizer = {1}; // Only the y coordinate
DriverPos = {0.0};
// DriverVel = {0};
DriverVel = {.JntPos.Right.HeelHeight/Main.Study.tEnd};
Reaction.Type = {1}; // Provide ground reaction forces
};

and I have inserted an InterpolDriver:

AnyFolder HeelDriver ={
AnyVector Time1 = { 0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.56, 0.62, 0.67,
0.72, 0.77, 0.82, 0.95, 0.98, 1.0, 1.1, 1.17 };
AnyKinEqInterPolDriver HeelJointDriver = {
AnyKinLinear HeelPos = {
AnyRefNode &BallL =
Main.Model.HumanModel.Left.Leg.Seg.Foot.HeelJoint;
AnyRefNode &BallR =
Main.Model.HumanModel.Right.Leg.Seg.Foot.HeelJoint;
};
MeasureOrganizer={0,1};
T = .Time1;
Type = Bspline;
Data = {{0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0

     },
     {0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
        0

    } } * pi/180 ;

   Reaction.Type = {0,0};

   };// chiude AnyKinEqInterPolDriver

  }; // chiude il folder

however, something doesn’t go.
In comparison to which reference I Have to consider the angles to
insert in the Data?

and for last, I have,also, inserted an InterpolDriver for the
shoulder (GH joint), however I don’t succeed in understanding in
comparison to which axes AnyBody considers the rotations, How do I
know it?

Thanks for the availability in to give answers to my thousand
questions!

Raffaella

Hi Raffaella

We do not have a model of the hand, currently it consist of one
segment. If you want the model to grap around the bar you will have
to build the hand model, which is a huge task. I think you should
stick with the one segment model we have and start by attaching the
bar to each of the hands. In order to replicate a real hand model we
have inserted a glove segment, please read more about on

http://www.anybody.aau.dk/repository/Repository5/Repository5_files/fr
ame.htm

slide 18

Adding the muscles directly in the main folder of the model is not
how the structure of the models is intended. Doing this is possible
but it will lead to complications.

In the folder BRep/aalborg/Bodymodels we have a collection of
already assembled body parts which can be easily used. We do not
currently have a full body model with only muscles in the legs but
we have one with muscles in the legs and the spine. This model is
named FullBodyModelNoMuslcesInArms

So to use this model please replace in the main file

#include “…\BRep\Aalborg\BodyModels\FullBodyModel\BodyModel.a
ny”

with this one

#include “…\BRep\Aalborg\BodyModels\FullBodyModelNoMusclesInA
rms\BodyModel.any”

If you do not want the muscles in the spine you can make a copy of
the FullBodyModelNoMusclesInArms folder, rename it and modify the
BodyModel.any file to include the SpineNoMuscles.root.any instead of
Spine.root.any.

I did not understand that the model could lift its feet when the
driver specifies that it should remain on the floor. Could it be,
that when it did so also gave a warning saying that the system
was indeterminate?. The driver you have added, drives a motion
between the right and left heel of the model, and set this to zero,
for the x and y coodinate, measured in global cooridnate system.
This driver do not measure wrt. to the floor, is this by intention?.

Best regards

AnyBody Support

— In anyscript@yahoogroups.com, “ing_bio982” <ing_bio982@y…>
wrote:
> Hi,
> I would like to insert degrees of freedom to the hand in order to
my
> scheleton catches the bar. how can I make?
> And then, for my model, I have modified the standing model
without
> muscles and now I would like to insert only some muscle for the
> legs, so I have inserted in the Main this:
>
> AnyFolder RightLeg = {
> //This is a sign variable which indicates that this is the right
> side
> AnyVar Sign =1;
> AnyFolder MusclesR = {
> AnyMuscleModel MusMdl = {
> F0 = 200;
> // F0 = .StrengthScaleShank*.StressIndex320; // Maximum
> force output at optimum fiber length
> };
>
>
> AnyViaPointMuscle Soleus = {
> AnyMuscleModel &MusMdl = …MusclesR.MusMdl;
> //AnyRefNode &Org = …Seg.Shank.SoleusNode;
> AnyRefNode SoleusNode = {sRel = .Scale({-0.020,
> 0.1292, …Sign
0.0});};
> //AnyRefNode &Ins = …Seg.Foot.SoleusNode;
> AnyRefNode SoleusNode1 = {sRel = .Scale({0.028, 0.108, …Sign*-
> 0.001});};
> AnyDrawMuscle DrwMus =
> {#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
> };
> };
>
>
> AnyViaPointMuscle Gastrocnemius = {
> AnyMuscleModel &MusMdl = …MusclesR.MusMdl;
> //AnyRefNode &Org = …Seg.Thigh.GastrocnemiusNode;
> AnyRefNode GastrocnemiusNode = {sRel = .Scale({-0.028, -
> 0.237, …Sign*-0.023});};
> //AnyRefNode &Via = …Seg.Shank.GastrocnemiusViaNode;
> AnyRefNode GastrocnemiusViaNode = {sRel = .Scale({-0.05,
> 0.05, …Sign0.0});};
> // AnyRefNode &Ins = …Seg.Foot.GastrocnemiusNode;
> AnyRefNode GastrocnemiusNode1 = {sRel = .Scale({0.028,
> 0.108, …Sign
-0.001});};
> AnyDrawMuscle DrwMus =
> {#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
> // AnyDrawMuscle DrwMus =
> {#include “…BRep/Aalborg/DrawSettings/MusDrawSettings.any”
> };
> };
>
> AnyViaPointMuscle TibialisPosterior = {
> AnyMuscleModel &MusMdl = …MusclesR.MusMdl;
> //AnyRefNode &Org = …Seg.Shank.TibialisPosteriorNode;
> AnyRefNode TibialisPosteriorNode = {sRel = .Scale({0.0,
> 0.13, …Sign0.0});}; // original had {0.0, 0.16, 0.0} - too
high,
> //AnyRefNode &Via = …Seg.Foot.TibialisPosteriorViaNode;
> AnyRefNode TibialisPosteriorViaNode = {sRel = .Scale({0.037,
> 0.085, …Sign
-0.02});
>
> }; // Important for moment arm, needs to be checked.
> //AnyRefNode &Ins = …Seg.Foot.TibialisPosteriorNode;
> AnyRefNode TibialisPosteriorNode1 = {sRel = .Scale({0.012,
> 0.007, …Sign*-0.020}); };
> AnyDrawMuscle DrwMus =
> {#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
> };
>
> };
>
> AnyViaPointMuscle PeroneusBrevis = {
> AnyMuscleModel &MusMdl = …MusclesR.MusMdl;
> //AnyRefNode &Org = …Seg.Shank.PeroneusBrevisNode;
> AnyRefNode PeroneusBrevisNode = {sRel = .Scale({0.0, -
> 0.04, …Sign0.03});};
> //AnyRefNode &Via = …Seg.Foot.PeroneusBrevisViaNode;
> AnyRefNode PeroneusBrevisViaNode = {sRel = .Scale({0.037,
> 0.070, …Sign
0.018});}; // Important for moment arm, needs to be
> checked.
> //AnyRefNode &Ins = …Seg.Foot.PeroneusBrevisNode;
> AnyRefNode PeroneusBrevisNode1 = {sRel = .Scale({0.004,
> 0.025, …Sign0.036});};
> AnyDrawMuscle DrwMus =
> {#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
> };
> };
>
> AnyViaPointMuscle TibialisAnterior = {
> AnyMuscleModel &MusMdl = …MusclesR.MusMdl;
> //AnyRefNode &Org = …Seg.Shank.TibialisAnteriorNode;
> AnyRefNode TibialisAnteriorNode = {sRel = .Scale({0.0,
> 0.0115, …Sign
-0.01});};
> //AnyRefNode &Via = …Seg.Foot.TibialisAnteriorViaNode;
> AnyRefNode TibialisAnteriorViaNode = {sRel = .Scale({0.05,
> 0.03, …Sign*-0.01});};
> //AnyRefNode &Ins = …Seg.Foot.TibialisAnteriorNode;
> AnyRefNode TibialisAnteriorNode1 = {sRel = .Scale({0.03,
> 0.0, …Sign*-0.02});};
> AnyDrawMuscle DrwMus =
> {#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
> };
> };
>
> // Start Quadriceps
>
> AnyViaPointMuscle VastusLateralis = {
> AnyMuscleModel &MusMdl = …MusclesR.MusMdl;
> //AnyRefNode &Org = …Seg.Thigh.VastusLateralisNode;
> AnyRefNode VastusLateralisNode = {sRel = .Scale({0.0,
> 0.0, …Sign0.013});};
> //AnyRefNode &Via1 = …Seg.Thigh.QuadricepsViaNode1;
> AnyRefNode QuadricepsViaNode1 = {sRel = .Scale({0.021, -
> 0.264, …Sign
-0.018});};
> //AnyRefNode &Via2 = …Seg.Thigh.QuadricepsViaNode2;
> AnyRefNode QuadricepsViaNode2 = {sRel = .Scale({0.007, -
> 0.30, …Sign*-0.018});};
> //AnyRefNode &Ins = …Seg.Shank.QuadricepsNode;
> AnyRefNode QuadricepsNode = {sRel = .Scale({0.032,
> 0.110, …Sign0.01});}; // Node for Vasti and Rectus Femoris.
> AnyDrawMuscle DrwMus =
> {#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
> };
> };
>
> AnyViaPointMuscle VastusMedialis = {
> AnyMuscleModel &MusMdl = …MusclesR.MusMdl;
> //AnyRefNode &Org = …Seg.Thigh.VastusMedialisNode;
> AnyRefNode VastusMedialisNode = {sRel = .Scale({0.0,
> 0.041, …Sign
-0.014});};
> // AnyRefNode &Via1 = …Seg.Thigh.QuadricepsViaNode1;
> AnyRefNode QuadricepsViaNode1 = {sRel = .Scale({0.021, -
> 0.264, …Sign*-0.018});};
> //AnyRefNode &Via2 = …Seg.Thigh.QuadricepsViaNode2;
> AnyRefNode QuadricepsViaNode2 = {sRel = .Scale({0.007, -
> 0.30, …Sign*-0.018});};
> //AnyRefNode &Ins = …Seg.Shank.QuadricepsNode;
> AnyRefNode QuadricepsNode = {sRel = .Scale({0.032,
> 0.110, …Sign0.01});}; // Node for Vasti and Rectus Femoris.
> AnyDrawMuscle DrwMus =
> {#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
> };
> };
>
> AnyViaPointMuscle VastusIntermedius = {
> AnyMuscleModel &MusMdl = …MusclesR.MusMdl;
> //AnyRefNode &Org = …Seg.Thigh.VastusIntermediusNode;
> AnyRefNode VastusIntermediusNode = {sRel = .Scale({0.014,
> 0.0, …Sign
0.0});};
> //AnyRefNode &Via1 = …Seg.Thigh.QuadricepsViaNode1;
> AnyRefNode QuadricepsViaNode1 = {sRel = .Scale({0.021, -
> 0.264, …Sign*-0.018});};
> //AnyRefNode &Via2 = …Seg.Thigh.QuadricepsViaNode2;
> AnyRefNode QuadricepsViaNode2 = {sRel = .Scale({0.007, -
> 0.30, …Sign*-0.018});};
> //AnyRefNode &Ins = …Seg.Shank.QuadricepsNode;
> AnyRefNode QuadricepsNode = {sRel = .Scale({0.032,
> 0.110, …Sign0.01});}; // Node for Vasti and Rectus Femoris.
> AnyDrawMuscle DrwMus =
> {#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
> };
> };
> AnyViaPointMuscle RectusFemoris = {
> AnyMuscleModel &MusMdl = …MusclesR.MusMdl;
> //AnyRefNode &Org = …HipNodeRef.RectusFemorisNode;
> AnyVec3 T = {0.000000, -0.115000,0.096000}; // The values are
set
> to constant values to make it possible to move model around!
> AnyRefNode RectusFemorisNode = { sRel = .Scale(-.T+{0.031, -
> 0.093, …Sign
0.116});};
> //AnyRefNode &Via1 = …Seg.Thigh.QuadricepsViaNode1;
> AnyRefNode QuadricepsViaNode1 = {sRel = .Scale({0.021, -
> 0.264, …Sign*-0.018});};
> //AnyRefNode &Via2 = …Seg.Thigh.QuadricepsViaNode2;
> AnyRefNode QuadricepsViaNode2 = {sRel = .Scale({0.007, -
> 0.30, …Sign*-0.018});};
> //AnyRefNode &Ins = …Seg.Shank.QuadricepsNode;
> AnyRefNode QuadricepsNode = {sRel = .Scale({0.032,
> 0.110, …Sign0.01});}; // Node for Vasti and Rectus Femoris.
> // AnyDrawMuscle DrwMus =
> {#include “…BRep/Aalborg/DrawSettings/MusDrawSettings.any”
> AnyDrawMuscle DrwMus =
> {#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
>
> };
> };
> // End Quadriceps.
>
>
>
> // #include “…\BRep\Aalborg\Scaling\ScalingStandard.any”
>
>
>
> // BICIPITE FEMORALE:
>
> AnyViaPointMuscle Semitendinosus = {
> AnyMuscleModel &MusMdl = …MusclesR.MusMdl;
> //AnyRefNode &Org = …HipNodeRef.SemitendinosusNode;
> AnyRefNode SemitendinosusNode = {sRel = .Scale(-.T+{-0.058, -
> 0.178, …Sign
0.055});};
> //AnyRefNode &Via = …Seg.Shank.SemitendinosusViaNode;
> AnyRefNode SemitendinosusViaNode = {sRel = .Scale({0.005,
> 0.150, …Sign*-0.042});};
> //AnyRefNode &Ins = …Seg.Shank.SemitendinosusNode;
> AnyRefNode SemitendinosusNode1 = {sRel = .Scale({0.018,
> 0.13, …Sign*-0.016});};
> AnyDrawMuscle DrwMus =
> {#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
>
> };
> };
>
>
> AnyViaPointMuscle Semimembranosus = {
> AnyMuscleModel &MusMdl = …MusclesR.MusMdl;
> //AnyRefNode &Org = …HipNodeRef.SemimembranosusNode;
> AnyRefNode SemimembranosusNode = {sRel = .Scale(-.T+{-0.058, -
> 0.178, …Sign0.055});};
> // AnyRefNode &Via = …Seg.Shank.SemimembranosusViaNode;
> AnyRefNode SemimembranosusViaNode = {sRel = .Scale({-0.0185,
> 0.185, …Sign
-0.018});};
> //AnyRefNode &Ins = …Seg.Shank.SemimembranosusNode;
> AnyRefNode SemimembranosusNode1 = {sRel = .Scale({-0.027,
> 0.18, …Sign*-0.018});};
> AnyDrawMuscle DrwMus =
> {#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
>
>
> };
> };
>
>
> AnyViaPointMuscle BicepsFemorisCaputLongum = {
> AnyMuscleModel &MusMdl = …MusclesR.MusMdl;
> //AnyRefNode &Org = …HipNodeRef.BicepsFemorisCaputLongumNode;
> AnyRefNode BicepsFemorisCaputLongumNode = {sRel = .Scale(-.T+{-
> 0.058, -0.178, …Sign0.055});};
> //AnyRefNode &Via = …Seg.Shank.BicepsFemorisCaputLongumViaNode;
> AnyRefNode BicepsFemorisCaputLongumViaNode = {sRel = .Scale({-
> 0.0185, 0.185, …Sign
0.043});};
> //AnyRefNode &Ins = …Seg.Shank.BicepsFemorisCaputLongumNode;
> AnyRefNode BicepsFemorisCaputLongumNode1 = {sRel = .Scale({-
0.015,
> 0.17, …Sign0.043});};
> AnyDrawMuscle DrwMus =
> {#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
> //AnyDrawMuscle DrwMus =
> {#include “…/drawSettings/MusDrawSettings.any”
> };
> };
>
> AnyViaPointMuscle BicepsFemorisCaputBreve = {
> AnyMuscleModel &MusMdl = …MusclesR.MusMdl;
> //AnyRefNode &Org = …Seg.Thigh.BicepsFemorisCaputBreveNode;
> AnyRefNode BicepsFemorisCaputBreveNode = {sRel = .Scale({-
0.014, -
> 0.054, …Sign
0.0});};
> //AnyRefNode &Via = …Seg.Shank.BicepsFemorisCaputBreveViaNode;
> AnyRefNode BicepsFemorisCaputBreveViaNode = {sRel = .Scale({-
> 0.0185, 0.185, …Sign0.043});};
> //AnyRefNode &Ins = …Seg.Shank.BicepsFemorisCaputBreveNode;
> AnyRefNode BicepsFemorisCaputBreveNode1 = {sRel = .Scale({-
0.015,
> 0.17, …Sign
0.043});};
>
> AnyDrawMuscle DrwMus =
> {#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
> //AnyDrawMuscle DrwMus =
> {#include “…/drawSettings/MusDrawSettings.any”
> };
> };
>
>
> AnyViaPointMuscle Sartorius = {
> AnyMuscleModel &MusMdl = …MusclesR.MusMdl;
> //AnyRefNode &Org = …HipNodeRef.SartoriusNode;
> AnyRefNode SartoriusNode = {sRel = .Scale(-.T+{0.068, -
> 0.038, …Sign0.152});};
> //AnyRefNode &Via1 = …Seg.Thigh.SartoriusViaNode1;
> AnyRefNode SartoriusViaNode1 = {
>
> sRel = .Scale({0.045, 0, …Sign
-0.03});
> };
>
> //AnyRefNode &Via2 = …Seg.Shank.SartoriusViaNode2;
> AnyRefNode SartoriusViaNode2 = {sRel = .Scale({-0.0185+0.025,
> 0.18, …Sign*-0.038});};
> //AnyRefNode &Via3 = …Seg.Shank.SartoriusViaNode3;
> AnyRefNode SartoriusViaNode3 = {sRel = .Scale({0.005+0.005,
> 0.150, …Sign*-0.047000});};
> //AnyRefNode &Ins = …Seg.Shank.SartoriusNode;
> AnyRefNode SartoriusNode1 = {sRel = .Scale({0.018,
0.13, …Sign*-
> 0.016});};
> AnyDrawMuscle DrwMus =
>
{#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
> };
> };
>
> AnyViaPointMuscle Gracilis = {
> AnyMuscleModel &MusMdl = …MusclesR.MusMdl;
> //AnyRefNode &Org = …HipNodeRef.GracilisNode;
> AnyRefNode GracilisNode = {sRel = .Scale(-.T+{0.035, -
> 0.181, …Sign0.023});};
> //AnyRefNode &Via = …Seg.Shank.GracilisViaNode;
> AnyRefNode GracilisViaNode = {sRel = .Scale({-0.0185,
> 0.18, …Sign
-0.018});};
> //AnyRefNode &Via1 = …Seg.Shank.GracilisViaNode1;
> AnyRefNode GracilisViaNode1 = {sRel = .Scale({0.005,
> 0.150, …Sign*-0.042});};
> //AnyRefNode &Ins = …Seg.Shank.GracilisNode;
> AnyRefNode GracilisNode1 = {sRel = .Scale({0.018, 0.13, …Sign*-
> 0.016});};
> AnyDrawMuscle DrwMus =
> {#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
>
> };
> };
>
> };// chiude il folder della gamba destra
>
> }; // chiude il folder Right
>
> AnyFolder LeftLeg = {
> //This is a sign variable which indicates that this is the
right
> side
> AnyVar Sign =-1;
> AnyFolder MusclesL= {
> AnyMuscleModel MusMdl = {
> F0 = 200;
> // F0 = .StrengthScaleShank*.StressIndex320; // Maximum
> force output at optimum fiber length
> };
>
>
> AnyViaPointMuscle Soleus = {
> AnyMuscleModel &MusMdl = …MusclesL.MusMdl;
> //AnyRefNode &Org = …Seg.Shank.SoleusNode;
> AnyRefNode SoleusNode = {sRel = .Scale({-0.020,
> 0.1292, …Sign
0.0});};
> //AnyRefNode &Ins = …Seg.Foot.SoleusNode;
> AnyRefNode SoleusNode1 = {sRel = .Scale({0.028, 0.108, …Sign*-
> 0.001});};
> AnyDrawMuscle DrwMus =
> {#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
> };
> };
>
>
> AnyViaPointMuscle Gastrocnemius = {
> AnyMuscleModel &MusMdl = …MusclesL.MusMdl;
> //AnyRefNode &Org = …Seg.Thigh.GastrocnemiusNode;
> AnyRefNode GastrocnemiusNode = {sRel = .Scale({-0.028, -
> 0.237, …Sign*-0.023});};
> //AnyRefNode &Via = …Seg.Shank.GastrocnemiusViaNode;
> AnyRefNode GastrocnemiusViaNode = {sRel = .Scale({-0.05,
> 0.05, …Sign0.0});};
> // AnyRefNode &Ins = …Seg.Foot.GastrocnemiusNode;
> AnyRefNode GastrocnemiusNode1 = {sRel = .Scale({0.028,
> 0.108, …Sign
-0.001});};
> AnyDrawMuscle DrwMus =
> {#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
> // AnyDrawMuscle DrwMus =
> {#include “…BRep/Aalborg/DrawSettings/MusDrawSettings.any”
> };
> };
>
> AnyViaPointMuscle TibialisPosterior = {
> AnyMuscleModel &MusMdl = …MusclesL.MusMdl;
> //AnyRefNode &Org = …Seg.Shank.TibialisPosteriorNode;
> AnyRefNode TibialisPosteriorNode = {sRel = .Scale({0.0,
> 0.13, …Sign0.0});}; // original had {0.0, 0.16, 0.0} - too
high,
> //AnyRefNode &Via = …Seg.Foot.TibialisPosteriorViaNode;
> AnyRefNode TibialisPosteriorViaNode = {sRel = .Scale({0.037,
> 0.085, …Sign
-0.02});
>
> }; // Important for moment arm, needs to be checked.
> //AnyRefNode &Ins = …Seg.Foot.TibialisPosteriorNode;
> AnyRefNode TibialisPosteriorNode1 = {sRel = .Scale({0.012,
> 0.007, …Sign*-0.020}); };
> AnyDrawMuscle DrwMus =
> {#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
> };
>
> };
>
> AnyViaPointMuscle PeroneusBrevis = {
> AnyMuscleModel &MusMdl = …MusclesL.MusMdl;
> //AnyRefNode &Org = …Seg.Shank.PeroneusBrevisNode;
> AnyRefNode PeroneusBrevisNode = {sRel = .Scale({0.0, -
> 0.04, …Sign0.03});};
> //AnyRefNode &Via = …Seg.Foot.PeroneusBrevisViaNode;
> AnyRefNode PeroneusBrevisViaNode = {sRel = .Scale({0.037,
> 0.070, …Sign
0.018});}; // Important for moment arm, needs to be
> checked.
> //AnyRefNode &Ins = …Seg.Foot.PeroneusBrevisNode;
> AnyRefNode PeroneusBrevisNode1 = {sRel = .Scale({0.004,
> 0.025, …Sign0.036});};
> AnyDrawMuscle DrwMus =
> {#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
> };
> };
>
> AnyViaPointMuscle TibialisAnterior = {
> AnyMuscleModel &MusMdl = …MusclesL.MusMdl;
> //AnyRefNode &Org = …Seg.Shank.TibialisAnteriorNode;
> AnyRefNode TibialisAnteriorNode = {sRel = .Scale({0.0,
> 0.0115, …Sign
-0.01});};
> //AnyRefNode &Via = …Seg.Foot.TibialisAnteriorViaNode;
> AnyRefNode TibialisAnteriorViaNode = {sRel = .Scale({0.05,
> 0.03, …Sign*-0.01});};
> //AnyRefNode &Ins = …Seg.Foot.TibialisAnteriorNode;
> AnyRefNode TibialisAnteriorNode1 = {sRel = .Scale({0.03,
> 0.0, …Sign*-0.02});};
> AnyDrawMuscle DrwMus =
> {#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
> };
> };
>
> // Start Quadriceps
>
> AnyViaPointMuscle VastusLateralis = {
> AnyMuscleModel &MusMdl = …MusclesL.MusMdl;
> //AnyRefNode &Org = …Seg.Thigh.VastusLateralisNode;
> AnyRefNode VastusLateralisNode = {sRel = .Scale({0.0,
> 0.0, …Sign0.013});};
> //AnyRefNode &Via1 = …Seg.Thigh.QuadricepsViaNode1;
> AnyRefNode QuadricepsViaNode1 = {sRel = .Scale({0.021, -
> 0.264, …Sign
-0.018});};
> //AnyRefNode &Via2 = …Seg.Thigh.QuadricepsViaNode2;
> AnyRefNode QuadricepsViaNode2 = {sRel = .Scale({0.007, -
> 0.30, …Sign*-0.018});};
> //AnyRefNode &Ins = …Seg.Shank.QuadricepsNode;
> AnyRefNode QuadricepsNode = {sRel = .Scale({0.032,
> 0.110, …Sign0.01});}; // Node for Vasti and Rectus Femoris.
> AnyDrawMuscle DrwMus =
> {#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
> };
> };
>
> AnyViaPointMuscle VastusMedialis = {
> AnyMuscleModel &MusMdl = …MusclesL.MusMdl;
> //AnyRefNode &Org = …Seg.Thigh.VastusMedialisNode;
> AnyRefNode VastusMedialisNode = {sRel = .Scale({0.0,
> 0.041, …Sign
-0.014});};
> // AnyRefNode &Via1 = …Seg.Thigh.QuadricepsViaNode1;
> AnyRefNode QuadricepsViaNode1 = {sRel = .Scale({0.021, -
> 0.264, …Sign*-0.018});};
> //AnyRefNode &Via2 = …Seg.Thigh.QuadricepsViaNode2;
> AnyRefNode QuadricepsViaNode2 = {sRel = .Scale({0.007, -
> 0.30, …Sign*-0.018});};
> //AnyRefNode &Ins = …Seg.Shank.QuadricepsNode;
> AnyRefNode QuadricepsNode = {sRel = .Scale({0.032,
> 0.110, …Sign0.01});}; // Node for Vasti and Rectus Femoris.
> AnyDrawMuscle DrwMus =
> {#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
> };
> };
>
> AnyViaPointMuscle VastusIntermedius = {
> AnyMuscleModel &MusMdl = …MusclesL.MusMdl;
> //AnyRefNode &Org = …Seg.Thigh.VastusIntermediusNode;
> AnyRefNode VastusIntermediusNode = {sRel = .Scale({0.014,
> 0.0, …Sign
0.0});};
> //AnyRefNode &Via1 = …Seg.Thigh.QuadricepsViaNode1;
> AnyRefNode QuadricepsViaNode1 = {sRel = .Scale({0.021, -
> 0.264, …Sign*-0.018});};
> //AnyRefNode &Via2 = …Seg.Thigh.QuadricepsViaNode2;
> AnyRefNode QuadricepsViaNode2 = {sRel = .Scale({0.007, -
> 0.30, …Sign*-0.018});};
> //AnyRefNode &Ins = …Seg.Shank.QuadricepsNode;
> AnyRefNode QuadricepsNode = {sRel = .Scale({0.032,
> 0.110, …Sign0.01});}; // Node for Vasti and Rectus Femoris.
> AnyDrawMuscle DrwMus =
> {#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
> };
> };
> AnyViaPointMuscle RectusFemoris = {
> AnyMuscleModel &MusMdl = …MusclesL.MusMdl;
> //AnyRefNode &Org = …HipNodeRef.RectusFemorisNode;
> AnyVec3 T = {0.000000, -0.115000,0.096000}; // The values are
set
> to constant values to make it possible to move model around!
> AnyRefNode RectusFemorisNode = { sRel = .Scale(-.T+{0.031, -
> 0.093, …Sign
0.116});};
> //AnyRefNode &Via1 = …Seg.Thigh.QuadricepsViaNode1;
> AnyRefNode QuadricepsViaNode1 = {sRel = .Scale({0.021, -
> 0.264, …Sign*-0.018});};
> //AnyRefNode &Via2 = …Seg.Thigh.QuadricepsViaNode2;
> AnyRefNode QuadricepsViaNode2 = {sRel = .Scale({0.007, -
> 0.30, …Sign*-0.018});};
> //AnyRefNode &Ins = …Seg.Shank.QuadricepsNode;
> AnyRefNode QuadricepsNode = {sRel = .Scale({0.032,
> 0.110, …Sign0.01});}; // Node for Vasti and Rectus Femoris.
> // AnyDrawMuscle DrwMus =
> {#include “…BRep/Aalborg/DrawSettings/MusDrawSettings.any”
> AnyDrawMuscle DrwMus =
> {#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
>
> };
> };
> // End Quadriceps.
>
>
>
> // #include “…\BRep\Aalborg\Scaling\ScalingStandard.any”
>
>
>
> // BICIPITE FEMORALE:
>
> AnyViaPointMuscle Semitendinosus = {
> AnyMuscleModel &MusMdl = …MusclesL.MusMdl;
> //AnyRefNode &Org = …HipNodeRef.SemitendinosusNode;
> AnyRefNode SemitendinosusNode = {sRel = .Scale(-.T+{-0.058, -
> 0.178, …Sign
0.055});};
> //AnyRefNode &Via = …Seg.Shank.SemitendinosusViaNode;
> AnyRefNode SemitendinosusViaNode = {sRel = .Scale({0.005,
> 0.150, …Sign*-0.042});};
> //AnyRefNode &Ins = …Seg.Shank.SemitendinosusNode;
> AnyRefNode SemitendinosusNode1 = {sRel = .Scale({0.018,
> 0.13, …Sign*-0.016});};
> AnyDrawMuscle DrwMus =
> {#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
>
> };
> };
>
>
> AnyViaPointMuscle Semimembranosus = {
> AnyMuscleModel &MusMdl = …MusclesL.MusMdl;
> //AnyRefNode &Org = …HipNodeRef.SemimembranosusNode;
> AnyRefNode SemimembranosusNode = {sRel = .Scale(-.T+{-0.058, -
> 0.178, …Sign0.055});};
> // AnyRefNode &Via = …Seg.Shank.SemimembranosusViaNode;
> AnyRefNode SemimembranosusViaNode = {sRel = .Scale({-0.0185,
> 0.185, …Sign
-0.018});};
> //AnyRefNode &Ins = …Seg.Shank.SemimembranosusNode;
> AnyRefNode SemimembranosusNode1 = {sRel = .Scale({-0.027,
> 0.18, …Sign*-0.018});};
> AnyDrawMuscle DrwMus =
> {#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
>
>
> };
> };
>
>
> AnyViaPointMuscle BicepsFemorisCaputLongum = {
> AnyMuscleModel &MusMdl = …MusclesL.MusMdl;
> //AnyRefNode &Org = …HipNodeRef.BicepsFemorisCaputLongumNode;
> AnyRefNode BicepsFemorisCaputLongumNode = {sRel = .Scale(-.T+{-
> 0.058, -0.178, …Sign0.055});};
> //AnyRefNode &Via = …Seg.Shank.BicepsFemorisCaputLongumViaNode;
> AnyRefNode BicepsFemorisCaputLongumViaNode = {sRel = .Scale({-
> 0.0185, 0.185, …Sign
0.043});};
> //AnyRefNode &Ins = …Seg.Shank.BicepsFemorisCaputLongumNode;
> AnyRefNode BicepsFemorisCaputLongumNode1 = {sRel = .Scale({-
0.015,
> 0.17, …Sign0.043});};
> AnyDrawMuscle DrwMus =
> {#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
> //AnyDrawMuscle DrwMus =
> {#include “…/drawSettings/MusDrawSettings.any”
> };
> };
>
> AnyViaPointMuscle BicepsFemorisCaputBreve = {
> AnyMuscleModel &MusMdl = …MusclesL.MusMdl;
> //AnyRefNode &Org = …Seg.Thigh.BicepsFemorisCaputBreveNode;
> AnyRefNode BicepsFemorisCaputBreveNode = {sRel = .Scale({-
0.014, -
> 0.054, …Sign
0.0});};
> //AnyRefNode &Via = …Seg.Shank.BicepsFemorisCaputBreveViaNode;
> AnyRefNode BicepsFemorisCaputBreveViaNode = {sRel = .Scale({-
> 0.0185, 0.185, …Sign0.043});};
> //AnyRefNode &Ins = …Seg.Shank.BicepsFemorisCaputBreveNode;
> AnyRefNode BicepsFemorisCaputBreveNode1 = {sRel = .Scale({-
0.015,
> 0.17, …Sign
0.043});};
>
> AnyDrawMuscle DrwMus =
> {#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
> //AnyDrawMuscle DrwMus =
> {#include “…/drawSettings/MusDrawSettings.any”
> };
> };
>
>
> AnyViaPointMuscle Sartorius = {
> AnyMuscleModel &MusMdl = …MusclesL.MusMdl;
> //AnyRefNode &Org = …HipNodeRef.SartoriusNode;
> AnyRefNode SartoriusNode = {sRel = .Scale(-.T+{0.068, -
> 0.038, …Sign0.152});};
> //AnyRefNode &Via1 = …Seg.Thigh.SartoriusViaNode1;
> AnyRefNode SartoriusViaNode1 = {
>
> sRel = .Scale({0.045, 0, …Sign
-0.03});
> };
>
> //AnyRefNode &Via2 = …Seg.Shank.SartoriusViaNode2;
> AnyRefNode SartoriusViaNode2 = {sRel = .Scale({-0.0185+0.025,
> 0.18, …Sign*-0.038});};
> //AnyRefNode &Via3 = …Seg.Shank.SartoriusViaNode3;
> AnyRefNode SartoriusViaNode3 = {sRel = .Scale({0.005+0.005,
> 0.150, …Sign*-0.047000});};
> //AnyRefNode &Ins = …Seg.Shank.SartoriusNode;
> AnyRefNode SartoriusNode1 = {sRel = .Scale({0.018,
0.13, …Sign*-
> 0.016});};
> AnyDrawMuscle DrwMus =
>
{#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
> };
> };
>
> AnyViaPointMuscle Gracilis = {
> AnyMuscleModel &MusMdl = …MusclesL.MusMdl;
> //AnyRefNode &Org = …HipNodeRef.GracilisNode;
> AnyRefNode GracilisNode = {sRel = .Scale(-.T+{0.035, -
> 0.181, …Sign0.023});};
> //AnyRefNode &Via = …Seg.Shank.GracilisViaNode;
> AnyRefNode GracilisViaNode = {sRel = .Scale({-0.0185,
> 0.18, …Sign
-0.018});};
> //AnyRefNode &Via1 = …Seg.Shank.GracilisViaNode1;
> AnyRefNode GracilisViaNode1 = {sRel = .Scale({0.005,
> 0.150, …Sign*-0.042});};
> //AnyRefNode &Ins = …Seg.Shank.GracilisNode;
> AnyRefNode GracilisNode1 = {sRel = .Scale({0.018, 0.13, …Sign*-
> 0.016});};
> AnyDrawMuscle DrwMus =
> {#include “…\BRep\Aalborg\DrawSettings\MusDrawSettings.any”
>
> };
> };
>
>
>
> };// chiude il Folder MusclesL
> };// chiude il folder LeftLeg
>
>
>
> but when I make to run AnyBody, it doesn’t recognize me
> the “.Scale”; what’s thing? how could I replace it so that to
> remove that reference .Scale?
>
> Then, my model of the weightlifting predicts that to a definite
> instant the skeleton lifts himself on the toes, so, for this in
the
> standing model, I have eliminated the ties that the heel forced on
> the floor:
>
>
> AnyKinEqSimpleDriver RHeelGroundConstraint ={
> AnyKinLinear HeelPos = {
> AnyFixedRefFrame &Ground =
> Main.Model.EnvironmentModel.GlobalRef;
> AnyRefNode &Ball =
> Main.Model.HumanModel.Right.Leg.Seg.Foot.HeelJoint;
> };
> MeasureOrganizer = {1}; // Only the y coordinate
> DriverPos = {0.0};
> // DriverVel = {0};
> DriverVel = {.JntPos.Right.HeelHeight/Main.Study.tEnd};
> Reaction.Type = {1}; // Provide ground reaction forces
> };
>
>
> and I have inserted an InterpolDriver:
>
> AnyFolder HeelDriver ={
> AnyVector Time1 = { 0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.56, 0.62,
0.67,
> 0.72, 0.77, 0.82, 0.95, 0.98, 1.0, 1.1, 1.17 };
> AnyKinEqInterPolDriver HeelJointDriver = {
> AnyKinLinear HeelPos = {
> AnyRefNode &BallL =
> Main.Model.HumanModel.Left.Leg.Seg.Foot.HeelJoint;
> AnyRefNode &BallR =
> Main.Model.HumanModel.Right.Leg.Seg.Foot.HeelJoint;
> };
> MeasureOrganizer={0,1};
> T = .Time1;
> Type = Bspline;
> Data = {{0,
> 0,
> 0,
> 0,
> 0,
> 0,
> 0,
> 0,
> 0,
> 0,
> 0,
> 0,
> 0,
> 0,
> 0,
> 0,
> 0
>
>
> },
> {0,
> 0,
> 0,
> 0,
> 0,
> 0,
> 0,
> 0,
> 0,
> 0,
> 0,
> 0,
> 0,
> 0,
> 0,
> 0,
> 0
>
> } } * pi/180 ;
>
> Reaction.Type = {0,0};
>
> };// chiude AnyKinEqInterPolDriver
>
> }; // chiude il folder
>
>
>
>
>
> however, something doesn’t go.
> In comparison to which reference I Have to consider the angles to
> insert in the Data?
>
> and for last, I have,also, inserted an InterpolDriver for the
> shoulder (GH joint), however I don’t succeed in understanding in
> comparison to which axes AnyBody considers the rotations, How do
I
> know it?
>
>
> Thanks for the availability in to give answers to my thousand
> questions!
>
> Raffaella

Ok,
I have tried to insert:

AnyKinRotational GHRotL = {
AnyRefNode &scapula_gh
= …HumanModel.Trunk.SegmentsThorax.ThoraxSeg.ij;
AnyRefNode &humerus_gh
= …HumanModel.Left.ShoulderArm.Seg.Humerus.gh;

 //AnyRefFrame &GlenoHumL= Main.Model.EnvironmentModel.GlobalRef;

 Type = RotVector;
 AngVelOnOff = On;
     };


    scapula_gh={

AnyDrawRefFrame drawcoorL={
RGB={0,0,1}; //draw a blue coordinate system
};

};

humerus_gh={
AnyDrawRefFrame drawcoorL={
RGB={0,1,0}; //draw a green coordinate system
};

};

to visualize the systems of reference, but it gives me error…
“scapula_gh: Unresolved object.”

Why?
What I have to add before

       scapula_gh = {

AnyDrawRefFrame drawcoorL = {
RGB={0,0,1}; / / draw to coordinated blue system
};

};

?

I Would like, then, that the heel of my model (both the right one
and the left one) it detached itself from platform to a definite
instant, maintaining the attached fingers to the platform, as could
I make?
Is it right to drive it with an interpolation ?
Which values should I insert in the measure organizer?
What I would like is that the heel moved it from platform, but that
it didn’t rotate neither to the right neither to the left.
Can you help me?
How do I have to modify my driver to do this?

Thanks
Raffaella

Hi Raffaella

I think i got one bracket too much in the code i wrote, sorry about
that, it should be

AnyKinRotational GHRotL = {
AnyRefNode &scapula_gh
= …HumanModel.Trunk.SegmentsThorax.ThoraxSeg.ij;
AnyRefNode &humerus_gh
= …HumanModel.Left.ShoulderArm.Seg.Humerus.gh;

  //AnyRefFrame &GlenoHumL= Main.Model.EnvironmentModel.GlobalRef;

  Type = RotVector;
  AngVelOnOff = On;


  scapula_gh={
    AnyDrawRefFrame drawcoorL={
       RGB={0,0,1}; //draw a blue coordinate system
    };
  };

  humerus_gh={
    AnyDrawRefFrame drawcoorL={
      RGB={0,1,0}; //draw a green coordinate system
    };
  };

};

If you want the model to lift the heels free from the platform at a
certain time in the analysis you should replace the
AnyKinEqSimpleDriver RHeelGroundConstraint with an interpolation
driver which initially have zeros and then at some point gets a
value. Do not change the nodes in the measure, only how it is
driven. Then do the same thing for the left heel.

It could look the following way for the right heel

AnyKinEqInterpolationDriver RHeelGroundConstraint ={
AnyKinLinear HeelPos = {
AnyFixedRefFrame &Ground =
Main.Model.EnvironmentModel.GlobalRef;
AnyRefNode &Ball =
Main.Model.HumanModel.Right.Leg.Seg.Foot.HeelJoint;
};
MeasureOrganizer = {1}; // Only the y coordinate
AnyVector Time1 = { 0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.56, 0.62,
0.67, 0.72, 0.77, 0.82, 0.95, 0.98, 1.0, 1.1, 1.17 };

Data = {
{0, 0, 0,0, 0, 0, 0, 0, 0, 0.005, 0.01,
0.01,0.01,0.01,0.01,0.01, 0.01}
};

 Reaction.Type = {1};   // Provide ground reaction forces

};

Best regards
AnyBody Support

— In anyscript@yahoogroups.com, “ing_bio982” <ing_bio982@y…>
wrote:
> Ok,
> I have tried to insert:
>
> AnyKinRotational GHRotL = {
> AnyRefNode &scapula_gh
> = …HumanModel.Trunk.SegmentsThorax.ThoraxSeg.ij;
> AnyRefNode &humerus_gh
> = …HumanModel.Left.ShoulderArm.Seg.Humerus.gh;
>
> //AnyRefFrame &GlenoHumL=
Main.Model.EnvironmentModel.GlobalRef;
>
> Type = RotVector;
> AngVelOnOff = On;
> };
>
>
> scapula_gh={
> AnyDrawRefFrame drawcoorL={
> RGB={0,0,1}; //draw a blue coordinate system
> };
>
> };
>
> humerus_gh={
> AnyDrawRefFrame drawcoorL={
> RGB={0,1,0}; //draw a green coordinate system
> };
>
> };
>
>
> to visualize the systems of reference, but it gives me error…
> “scapula_gh: Unresolved object.”
>
> Why?
> What I have to add before
>
>
> scapula_gh = {
> AnyDrawRefFrame drawcoorL = {
> RGB={0,0,1}; / / draw to coordinated blue system
> };
>
> };
>
> ?
>
> I Would like, then, that the heel of my model (both the right one
> and the left one) it detached itself from platform to a definite
> instant, maintaining the attached fingers to the platform, as
could
> I make?
> Is it right to drive it with an interpolation ?
> Which values should I insert in the measure organizer?
> What I would like is that the heel moved it from platform, but
that
> it didn’t rotate neither to the right neither to the left.
> Can you help me?
> How do I have to modify my driver to do this?
>
>
> Thanks
> Raffaella

Hi Raffaella

I think it would be a good idea if you make a sketch of your model,
I am a little unsure exactly what it should do. A sketch showing the
boundary conditions, to the model in terms on which reactions should
be available on the feet and hands would help a lot. A sketch
showing which joints you drive on the model would also be
instructive. If the model is going to lift a heavy weight away from
the platform it will be very important that the model is in balance
so that the total center of mass for the entire model is located
above the feet. Otherwise the feet will have to be glued to the
floor and it will give misleading results. It is possible to drive
the model automatically to get the balance right, but a sketch
showing the current drivers would be very instructive, in order to
advice.

Best regards
AnyBody Support

— In anyscript@yahoogroups.com, “AnyBody Support” <support@a…>
wrote:
> Hi Raffaella
>
> I think i got one bracket too much in the code i wrote, sorry
about
> that, it should be
>
> AnyKinRotational GHRotL = {
> AnyRefNode &scapula_gh
> = …HumanModel.Trunk.SegmentsThorax.ThoraxSeg.ij;
> AnyRefNode &humerus_gh
> = …HumanModel.Left.ShoulderArm.Seg.Humerus.gh;
>
> //AnyRefFrame &GlenoHumL=
Main.Model.EnvironmentModel.GlobalRef;
>
> Type = RotVector;
> AngVelOnOff = On;
>
>
> scapula_gh={
> AnyDrawRefFrame drawcoorL={
> RGB={0,0,1}; //draw a blue coordinate system
> };
> };
>
> humerus_gh={
> AnyDrawRefFrame drawcoorL={
> RGB={0,1,0}; //draw a green coordinate system
> };
> };
> };
>
>
>
> If you want the model to lift the heels free from the platform at
a
> certain time in the analysis you should replace the
> AnyKinEqSimpleDriver RHeelGroundConstraint with an interpolation
> driver which initially have zeros and then at some point gets a
> value. Do not change the nodes in the measure, only how it is
> driven. Then do the same thing for the left heel.
>
>
> It could look the following way for the right heel
>
> AnyKinEqInterpolationDriver RHeelGroundConstraint ={
> AnyKinLinear HeelPos = {
> AnyFixedRefFrame &Ground =
> Main.Model.EnvironmentModel.GlobalRef;
> AnyRefNode &Ball =
> Main.Model.HumanModel.Right.Leg.Seg.Foot.HeelJoint;
> };
> MeasureOrganizer = {1}; // Only the y coordinate
> AnyVector Time1 = { 0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.56, 0.62,
> 0.67, 0.72, 0.77, 0.82, 0.95, 0.98, 1.0, 1.1, 1.17 };
>
> Data = {
> {0, 0, 0,0, 0, 0, 0, 0, 0, 0.005, 0.01,
> 0.01,0.01,0.01,0.01,0.01, 0.01}
> };
>
>
> Reaction.Type = {1}; // Provide ground reaction forces
> };
>
>
>
>
> Best regards
> AnyBody Support
>
>
>
>
> — In anyscript@yahoogroups.com, “ing_bio982” <ing_bio982@y…>
> wrote:
> > Ok,
> > I have tried to insert:
> >
> > AnyKinRotational GHRotL = {
> > AnyRefNode &scapula_gh
> > = …HumanModel.Trunk.SegmentsThorax.ThoraxSeg.ij;
> > AnyRefNode &humerus_gh
> > = …HumanModel.Left.ShoulderArm.Seg.Humerus.gh;
> >
> > //AnyRefFrame &GlenoHumL=
> Main.Model.EnvironmentModel.GlobalRef;
> >
> > Type = RotVector;
> > AngVelOnOff = On;
> > };
> >
> >
> > scapula_gh={
> > AnyDrawRefFrame drawcoorL={
> > RGB={0,0,1}; //draw a blue coordinate system
> > };
> >
> > };
> >
> > humerus_gh={
> > AnyDrawRefFrame drawcoorL={
> > RGB={0,1,0}; //draw a green coordinate system
> > };
> >
> > };
> >
> >
> > to visualize the systems of reference, but it gives me error…
> > “scapula_gh: Unresolved object.”
> >
> > Why?
> > What I have to add before
> >
> >
> > scapula_gh = {
> > AnyDrawRefFrame drawcoorL = {
> > RGB={0,0,1}; / / draw to coordinated blue system
> > };
> >
> > };
> >
> > ?
> >
> > I Would like, then, that the heel of my model (both the right
one
> > and the left one) it detached itself from platform to a definite
> > instant, maintaining the attached fingers to the platform, as
> could
> > I make?
> > Is it right to drive it with an interpolation ?
> > Which values should I insert in the measure organizer?
> > What I would like is that the heel moved it from platform, but
> that
> > it didn’t rotate neither to the right neither to the left.
> > Can you help me?
> > How do I have to modify my driver to do this?
> >
> >
> > Thanks
> > Raffaella