[770c98]: / Application / Examples / PedalDemo / Model / HumanModel.any

Download this file

27 lines (21 with data), 849 Bytes

  /// The actual body model is defined in this folder
  AnyFolder HumanModel = {
    
    AnyFolder &Mannequin=.Model.Mannequin;

    // This model uses the simple one-parameter muscles 
    #include  "BodyPartsSetup.any"
    #include  "<ANYBODY_PATH_BODY>/BodyModels/GenericBodyModel/BodyModel.any"
    
    // Add a pedal contact node to the ball of the foot.
    BodyModel.Right.Leg.Seg.Foot = {
      AnyRefNode FootBall = {
        sRel = {-0.015, -0.05, 0.0};
      };
    };
    
    // Use the standard size human.
    #include "<ANYBODY_PATH_BODY>\Scaling\ScalingStandard.any"
    
    // Overall strength scaling
    AnyFolder StrengthParameters={
      AnyVar SpecificMuscleTensionSpine= 90; //N/cm^2
      AnyVar StrengthIndexLeg= 1; 
      AnyVar SpecificMuscleTensionShoulderArm= 90; //N/cm^2
    };    
  };