[38ba34]: / Body / AAUHuman / LegTLEM2.1 / NodeForScalingExt.any

Download this file

127 lines (102 with data), 2.7 kB

// ***** Nodes for the external scaling *****


Foot = {
  
  AnyRefNode Toetip ={
    sRel = .Scale({0.208, -1.0, ...Sign*0.098}); 
//    AnyDrawNode Draw = 
//    {
//      RGB = {1, 0, 0};
//      ScaleXYZ = 0.2*{0.025, 0.025, 0.025};
//    };
  };

  
  
  AnyRefNode HeelJointRot ={
    sRel = .Scale({0.0, -0.8485, ...Sign*-0.025}); 
    ARel = RotMat(-30.5*pi/180*...Sign,y)*RotMat(-32*pi/180,z);
//    AnyDrawNode Draw = 
//    {
//      RGB = {1, 0, 0};
//      ScaleXYZ = 0.2*{0.025, 0.025, 0.025};
//    };
//    AnyDrawRefFrame DrawRef = 
//    {
//      RGB = {0.91796875, 0.76953125, 0.06640625};
//      ScaleXYZ = 0.27*{1, 1, 1};
//      Opacity = 1;
//    };
    
  };
};  


  
Shank = {
  AnyRefNode MalleolusMedial = {
    sRel = .Scale({0.090, -0.807,...Sign*-0.01});
//    AnyDrawNode Draw = 
//    {
//      RGB = {1, 0, 0};
//      ScaleXYZ = 0.2*{0.025, 0.025, 0.025};
//    };
  };

  
  AnyRefNode CondylusMedial = {
    sRel= .Scale({0.07, -0.43,...Sign*-0.03});
    ARel = RotMat(183*pi/180,z)*RotMat(3*pi/180*...Sign,x);
//    AnyDrawNode Draw = 
//    {
//      RGB = {1, 0, 0};
//      ScaleXYZ = 0.2*{0.025, 0.025, 0.025};
//    };
//    AnyDrawRefFrame DrawRef = 
//    {
//      RGB = {0.91796875, 0.76953125, 0.06640625};
//      ScaleXYZ = 0.35*{1, 1, 1};
//      Opacity = 1;
//    };
  };
};


Thigh = {
  AnyRefNode TopOfTrochanter = {
    sRel = .Scale({-0.037, -0.001, ...Sign*0.033});
    ARel = RotMat(177*pi/180*...Sign,x)*RotMat(-9.7*pi/180,z);
//    AnyDrawNode Draw = 
//    {
//      RGB = {1, 0, 0};
//      ScaleXYZ = 0.2*{0.025, 0.025, 0.025};
//    };
//    AnyDrawRefFrame DrawRef = 
//    {
//      RGB = {0.91796875, 0.76953125, 0.06640625};
//      ScaleXYZ = 0.375*{1, 1, 1};
//      Opacity = 1;
//    };
  };
  
  AnyRefNode EpicondylusLateral = {
     sRel = .Scale({0.0317, -0.3996, ...Sign*0.0547});
//    AnyDrawNode Draw = 
//    {
//      RGB = {1, 0, 0};
//      ScaleXYZ = 0.2*{0.025, 0.025, 0.025};
//    };
  };
 
  
  
};



// ***** Measure of the Standard Parameters *****

//AnyFolder StandardMeasureExt ={
//  
//  AnyKinLinear FootLengthExt = 
//  {
//    Ref = 0;
//    AnyRefFrame &Heel = ..Foot.HeelJointRot;
//    AnyRefFrame &Toe = ..Foot.ToeTip;
//  };
//
//  AnyKinLinear ShankLengthExt = 
//  {
//    Ref = 0;
//    AnyRefFrame &Condylus = ..Shank.CondylusMedial;
//    AnyRefFrame &Malleolus = ..Shank.MalleolusMedial;
//  };
//
//  AnyKinLinear ThighLengthExt = 
//  {
//    Ref = 0;
//    AnyRefFrame &Trochanter = ..Thigh.TopOfTrochanter;
//    AnyRefFrame &Epicondylus = ..Thigh.EpicondylusLateral;
//  };
//
//
//};