Download this file

411 lines (374 with data), 21.3 kB

/// This folder contains definitions of the contact conditions between
/// the human body and the backrest.
AnyFolder BackrestSupport = {
  AnyVar   Strength=....SupportSettings.BackrestSupportStrength;
  AnyVar   StaticFrictionCoefficient=....SupportSettings.StaticFrictionBackrest;
  AnyFolder &ref=...BodyModel.Trunk;  
  
  AnyFolder &Sacrum = ref.SegmentsLumbar.SacrumSeg;
  
  Sacrum = {
    AnyRefNode SacrumSupportNode = {
      sRel= .Scale({-0.006,-0.025,0});
      AnyDrawNode  drw={
        ScaleXYZ={0.005,.005,.005};
        RGB={0,0,1};
      };
    };
  };
  
  ref.SegmentsLumbar.L5Seg = {
    AnyRefNode L5SupportNode = {
      sRel= .Scale({-0.01,0.008,0});
      AnyDrawNode drw={
        ScaleXYZ={0.005,.005,.005};
        RGB={0,0,1};
      };
    };
  };
  
  ref.SegmentsLumbar.L4Seg = {
    AnyRefNode L4SupportNode = {
      sRel = .Scale({-0.01,0.03,0});
      AnyDrawNode drw={
        ScaleXYZ={0.005,.005,.005};
        RGB={0,0,1};
      };
    };
  };
  
  ref.SegmentsLumbar.L3Seg = {
    AnyRefNode L3SupportNode = {
      sRel = .Scale({-0.01,0.05,0});
      AnyDrawNode drw={
        ScaleXYZ={0.005,.005,.005};
        RGB={0,0,1};
      };
    };
  };
  
  ref.SegmentsLumbar.L2Seg = {
    AnyRefNode L2SupportNode = {
      sRel = .Scale({-0.01,0.07,0});
      AnyDrawNode drw={
        ScaleXYZ={0.005,.005,.005};
        RGB={0,0,1};
      };
    };
  };
  
  ref.SegmentsLumbar.L1Seg={
    AnyRefNode L1SupportNode = {
      sRel = .Scale({-0.02,0.10,0});
      AnyDrawNode drw={
        ScaleXYZ={0.005,.005,.005};
        RGB={0,0,1};
      };
    };
  };
  
  ref.SegmentsThorax.T12Seg = {
    AnyRefNode T12SupportNode = {
      sRel= .Scale({-0.032,0.125,0});
      AnyDrawNode drw={
        ScaleXYZ={0.005,.005,.0050};
        RGB={0,0,1};
      };
    };
  };
  
  ref.SegmentsThorax.T11Seg = {
    AnyRefNode T11SupportNode = {
      sRel= .Scale({-0.045,0.157,0});
      AnyDrawNode drw={
        ScaleXYZ={0.005,.005,.0050};
        RGB={0,0,1};
      };
    };
  };
  
  ref.SegmentsThorax.T10Seg = {
    AnyRefNode T10SupportNode = {
      sRel= .Scale({-0.052,0.187,0});
      AnyDrawNode drw={
        ScaleXYZ={0.005,.005,.0050};
        RGB={0,0,1};
      };
    };
  };
  
  
  ref.SegmentsThorax.T9Seg = {
    AnyRefNode T9SupportNode = {
      sRel= .Scale({-0.063,0.227,0});
      AnyDrawNode drw={
        ScaleXYZ={0.005,.005,.0050};
        RGB={0,0,1};
      };
    };
  };
  
  ref.SegmentsThorax.T6Seg={
    AnyRefNode T6SupportNode= {
      sRel= .Scale({-0.078,0.3075,0});
      AnyDrawNode drw={
        ScaleXYZ={0.005,.005,.0050};
        RGB={0,0,1};
      };
    };
  };
  
  ref.SegmentsThorax.T2Seg = {
    AnyRefNode T2SupportNode = {
      sRel= .Scale({-0.05,0.42,0});
      AnyDrawNode drw={
        ScaleXYZ={0.005,.005,.0050};
        RGB={0,0,1};
      };
    };
  };
  
  ref.SegmentsCervicalSpine.SkullSeg = {
    AnyRefNode SkullSupportNode = {
      sRel= .Scale({-0.11,0.03,0});
      AnyDrawNode drw={
        ScaleXYZ={0.005,.005,.0050};
        RGB={0,0,1};
      };
    };
  };
 
//  AnyFolder SkullSupport = {
//    AnyRefFrame &BaseObject =....EnvironmentModel.Seg.BackRest;
//    AnyRefFrame &TargetObject =....BodyModel.Trunk.SegmentsCervicalSpine.SkullSeg.SkullSupportNode;
//    
//    //   AnyRefNode &TargetObject = ..LegL.Seg.Foot.ToeMedialContactNode;
//    //    AnyRefFrame &BaseObject=Main.Model.EnvironmentModel.GlobalRef; //Object which delivers the forces  
//    
//    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.05; 
//    //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.05; 
//    
//    //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  "<ANYBODY_PATH_MODELUTILS>\FrictionContactMuscles\ContactSurfaceLinPush.any"
//  };
  
//  AnyFolder T2Support = {
//    AnyRefFrame &BaseObject =....EnvironmentModel.Seg.BackRest;
//    AnyRefFrame &TargetObject =....BodyModel.Trunk.SegmentsThorax.ThoraxSeg.T2SupportNode;
//    
//    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.05; 
//    //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.05; 
//    
//    //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  "<ANYBODY_PATH_MODELUTILS>\FrictionContactMuscles\ContactSurfaceLinPush.any"
//  };
  
  AnyFolder T6Support={
    AnyRefFrame &BaseObject =....EnvironmentModel.Seg.BackRest;
    AnyRefFrame &TargetObject =....BodyModel.Trunk.SegmentsThorax.T6Seg.T6SupportNode;
    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.05; 
    //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.05; 
    
    //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  "<ANYBODY_PATH_MODELUTILS>\FrictionContactMuscles\ContactSurfaceLinPush.any"
  };
  
  AnyFolder T9Support={
    AnyRefFrame &BaseObject =....EnvironmentModel.Seg.BackRest;
    AnyRefFrame &TargetObject =....BodyModel.Trunk.SegmentsThorax.T9Seg.T9SupportNode;
    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.05; 
    //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.05; 
    
    //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  "<ANYBODY_PATH_MODELUTILS>\FrictionContactMuscles\ContactSurfaceLinPush.any"
  };
 
//  AnyFolder T10Support={
//    AnyRefFrame &BaseObject =....EnvironmentModel.Seg.BackRest;
//    AnyRefFrame &TargetObject =....BodyModel.Trunk.SegmentsThorax.T10Seg.T10SupportNode;
//    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.05; 
//    //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.05; 
//    
//    //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  "<ANYBODY_PATH_MODELUTILS>\FrictionContactMuscles\ContactSurfaceLinPush.any"
//  };
  
//  AnyFolder T12Support={
//    AnyRefFrame &BaseObject =....EnvironmentModel.Seg.BackRest;
//    AnyRefFrame &TargetObject =....BodyModel.Trunk.SegmentsThorax.ThoraxSeg.T12SupportNode;
//    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.05; 
//    //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.05; 
//    
//    //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  "<ANYBODY_PATH_MODELUTILS>\FrictionContactMuscles\ContactSurfaceLinPush.any"
//  };
//  
//  AnyFolder L1Support={
//    AnyRefFrame &BaseObject =....EnvironmentModel.Seg.BackRest;
//    AnyRefFrame &TargetObject =....BodyModel.Trunk.SegmentsLumbar.L1Seg.L1SupportNode;
//    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.05; 
//    //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.05; 
//    
//    //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  "<ANYBODY_PATH_MODELUTILS>\FrictionContactMuscles\ContactSurfaceLinPush.any"
//  };
//  
//  AnyFolder L2Support={
//    AnyRefFrame &BaseObject =....EnvironmentModel.Seg.BackRest;
//    AnyRefFrame &TargetObject =....BodyModel.Trunk.SegmentsLumbar.L2Seg.L2SupportNode;
//    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.05; 
//    //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.05; 
//    
//    //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  "<ANYBODY_PATH_MODELUTILS>\FrictionContactMuscles\ContactSurfaceLinPush.any"
//  };
//  
//  AnyFolder L3Support={
//    AnyRefFrame &BaseObject =....EnvironmentModel.Seg.BackRest;
//    AnyRefFrame &TargetObject =....BodyModel.Trunk.SegmentsLumbar.L3Seg.L3SupportNode;
//    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.05; 
//    //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.05; 
//    
//    //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  "<ANYBODY_PATH_MODELUTILS>\FrictionContactMuscles\ContactSurfaceLinPush.any"
//  };
  
//  AnyFolder L4Support={
//    AnyRefFrame &BaseObject =....EnvironmentModel.Seg.BackRest;
//    AnyRefFrame &TargetObject =....BodyModel.Trunk.SegmentsLumbar.L4Seg.L4SupportNode;
//    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.05; 
//    //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.05; 
//    
//    //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  "<ANYBODY_PATH_MODELUTILS>\FrictionContactMuscles\ContactSurfaceLinPush.any"
//  };
//  
//  AnyFolder L5Support={
//    AnyRefFrame &BaseObject =....EnvironmentModel.Seg.BackRest;
//    AnyRefFrame &TargetObject =....BodyModel.Trunk.SegmentsLumbar.L5Seg.L5SupportNode;
//    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.05; 
//    //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.03; 
//    
//    //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  "<ANYBODY_PATH_MODELUTILS>\FrictionContactMuscles\ContactSurfaceLinPush.any"
//  };
  
  AnyFolder SacrumSupport={
    AnyRefFrame &BaseObject =....EnvironmentModel.Seg.BackRest;
    AnyRefFrame &TargetObject =....BodyModel.Trunk.SegmentsLumbar.SacrumSeg.SacrumSupportNode;
    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.05; 
    //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.05; 
    
    //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  "<ANYBODY_PATH_MODELUTILS>\FrictionContactMuscles\ContactSurfaceLinPush.any"
  };
};