AnyFolder ArmSupport ={
AnyVar Strength=....SupportSettings.ArmrestSupportStrength;
AnyVar StaticFrictionCoefficient=....SupportSettings.StaticFrictionArmrest;
AnyFolder UlnaArmRestSupportRight={
AnyRefFrame &BaseObject = ....EnvironmentModel.Seg.Right.ArmRest;
AnyRefFrame &TargetObject = ....BodyModel.Right.ShoulderArm.Seg.Ulna.UlnaArmRestJntNode;
AnyRefFrame &StrengthObject=TargetObject; //Node used for strength measurement, occasionally this is different from the target object
AnyFolder &DrawRef=Main.DrawSettings; //reference to the folder which contains drawsettings
//low limit for the strength measure function, if the distance measured along Direction[0] is below this val. the strength will be zero (negative)
AnyVar UserDefinedLimitLow=-0.5;
//high limit for the strength measure function, if the distance measured along Direction[0] is above this val. the strength will be zero
AnyVar UserDefinedLimitHigh=0.5;
//high limit for the strength measure function, if the radius measured along the plane with Direction[0] as normal is above this val. the strength will be zero
AnyVar UserDefinedRadiusLimit=0.7;
AnyVar Strength =.Strength; //strength of muscles
AnyVar StaticFrictionCoefficient=.StaticFrictionCoefficient; //Friction coefficient
AnyVar ScaleFactor =1; //scale factor for draw vectors it can be set differently than by the drawsettings
AnyIntArray Direction={0,1,2}; //first element gives normal direction
#include "\FrictionContactMuscles\ContactSurfaceLinPush.any"
};
AnyFolder UlnaArmRestSupportLeft={
AnyRefFrame &BaseObject = ....EnvironmentModel.Seg.Left.ArmRest;
AnyRefFrame &TargetObject = ....BodyModel.Left.ShoulderArm.Seg.Ulna.UlnaArmRestJntNode;
AnyRefFrame &StrengthObject=TargetObject; //Node used for strength measurement, occasionally this is different from the target object
AnyFolder &DrawRef=Main.DrawSettings; //reference to the folder which contains drawsettings
//low limit for the strength measure function, if the distance measured along Direction[0] is below this val. the strength will be zero (negative)
AnyVar UserDefinedLimitLow=-0.5;
//high limit for the strength measure function, if the distance measured along Direction[0] is above this val. the strength will be zero
AnyVar UserDefinedLimitHigh=0.5;
//high limit for the strength measure function, if the radius measured along the plane with Direction[0] as normal is above this val. the strength will be zero
AnyVar UserDefinedRadiusLimit=0.7;
AnyVar Strength =.Strength; //strength of muscles
AnyVar StaticFrictionCoefficient=.StaticFrictionCoefficient; //Friction coefficient
AnyVar ScaleFactor =1; //scale factor for draw vectors it can be set differently than by the drawsettings
AnyIntArray Direction={0,1,2}; //first element gives normal direction
#include "\FrictionContactMuscles\ContactSurfaceLinPush.any"
};
};