93 lines (70 with data), 2.8 kB
Right =
{
AnyFolder Leg =
{
#define _LEFT_RIGHT_ "Right"
#include "..\..\Leg\Leg.root.any"
#undef _LEFT_RIGHT_
//Reference to folder which contains the interface of the right side
AnyFolder &InterfaceFolder =..Interface.Right;
//Reference to mannequin value from model folder
AnyFolder &MannequinValuesFolder = ..MannequinValuesFromModel.AnyFolder_Posture.AnyFolder_Right;
#include "../Include/SettingsLeg.any"
AnyFolder &Scaling = ...Scaling;
AnyFolder &StandardParameters =...Scaling.StandardParameters.Right;
AnyFolder &GeoScaling =...Scaling.GeometricalScaling.Right;
AnyFolder &MassScaling =...Scaling.MassScaling.Right;
AnyFolder &FiberLengthScaling =...Scaling.FiberLengthScaling.Right;
AnyFolder &StrengthScaling =...Scaling.StrengthScaling.Right;
//This is a sign variable which indicates that this is the right side
AnyVar Sign =1;
//-------------------------------------------------------
// Interface references that specifies what the leg "Leg/Leg.any" should connect to
//-------------------------------------------------------
// INPUT
AnyRefFrame &HipNodeRef= ..Trunk.SegmentsLumbar.PelvisSeg.HipJointRight;
AnyFolder BonesOpacity =
{
AnyVar Foot = Main.DrawSettings.BonesOpacity.RightFoot;
AnyVar Shank = Main.DrawSettings.BonesOpacity.RightShank;
AnyVar Thigh = Main.DrawSettings.BonesOpacity.RightThigh;
};
#if (BM_LEG_MUSCLES_RIGHT != OFF) | (BM_TRUNK_LUMBAR_MUSCLES != OFF)
AnyFolder &TrunkMuscles = ..Trunk.MusclesSpineRight;
#endif
AnyFolder MomentMeasure=
{
#if (BM_LEG_MUSCLES_RIGHT == OFF)
AnyForceMomentMeasure KneeJointReactionMoments =
{
AnyForceBase &Force = ..Jnt.Knee.Constraints.Reaction;
AnyRefFrame &Thighknee = ..Seg.Thigh.KneeJoint;
AnyVec3 Mlocal = M*Thighknee.Axes;
};
#else
AnyFolder &TrunkMuscles = ...Trunk.MusclesSpineRight;
#include "..\..\Leg\LegMoments.any"
#endif
};
};//End Leg
};
Trunk =
{
AnyRefFrame &PsoasMajorRightReference=.Right.Leg.Seg.Thigh;
};
#if (BM_LEG_MUSCLES_RIGHT == OFF)
#include "../../Leg/RightLegNoMusclesSelectedOutput.any"
#else
#if (BM_LEG_MUSCLES_RIGHT == _MUSCLES_SIMPLE_)
#include "../../Leg/RightLegSimpleMusclesSelectedOutput.any"
#endif
#if (BM_LEG_MUSCLES_RIGHT == _MUSCLES_3E_HILL_)
#include "../../Leg/RightLegMuscles3ESelectedOutput.any"
#endif
#endif
#if (BM_LEG_MUSCLES_RIGHT != OFF)
#if BM_TRUNK_LUMBAR_MUSCLES == OFF
#include "RightPsoas.any"
#else
#endif
#endif