Download this file

218 lines (174 with data), 5.9 kB

    AnyFixedRefFrame Chart1Ref ={
      
      Origin = -{1,1,1};
      AnyChart Chart1 = 
      {
        
        Style = {
          Sizes = {2,2,2};
          AutoSizes=Off;
          AutoPosition=Off;
          
          Axes = {
            Style = 0;
          };
        };
        
        Series =   {
          AnyVar Thickness = 3.0;
          AnyVec3 Color={0,0,1};
          
          AnyChartSerie COP_L =     {
            Lines.RGB = .Color;

#if TMJ_CONTACT_MODEL == 1
            Abscissa = "Main.Model.Study.Output.BodyModel.Jnt.TMJ_JntL_Contact.COP[0]";
            Abscissa2 = "Main.Model.Study.Output.BodyModel.Jnt.TMJ_JntL_Contact.COP[1]";
            Value = "Main.Model.Study.Output.BodyModel.Jnt.TMJ_JntL_Contact.COP[2]";
#else
            Abscissa = "Main.Model.Study.Output.BodyModel.Seg.Mandible.TMJ_NodeL.r[0]";
            Abscissa2 = "Main.Model.Study.Output.BodyModel.Seg.Mandible.TMJ_NodeL.r[1]";
            Value = "Main.Model.Study.Output.BodyModel.Seg.Mandible.TMJ_NodeL.r[2]";
#endif
            Lines = { Thickness = ..Thickness;};
          };

          AnyChartSerie COP_R =     {
            Lines.RGB = .Color;
#if TMJ_CONTACT_MODEL == 1
            Abscissa = "Main.Model.Study.Output.BodyModel.Jnt.TMJ_JntR_Contact.COP[0]";
            Abscissa2 = "Main.Model.Study.Output.BodyModel.Jnt.TMJ_JntR_Contact.COP[1]";
            Value = "Main.Model.Study.Output.BodyModel.Jnt.TMJ_JntR_Contact.COP[2]";
#else
            Abscissa = "Main.Model.Study.Output.BodyModel.Seg.Mandible.TMJ_NodeR.r[0]";
            Abscissa2 = "Main.Model.Study.Output.BodyModel.Seg.Mandible.TMJ_NodeR.r[1]";
            Value = "Main.Model.Study.Output.BodyModel.Seg.Mandible.TMJ_NodeR.r[2]";

#endif
            Lines = { Thickness = ..Thickness;};
          };
          
        };  
              
        
        AbsAxis = {
          Visible = Off;
          Min = -1.0;
          Max = 1.0;
          AutoMin = Off;
          AutoMax = Off;
          
          Unit1 = {
            Unit = 1;
          };    
        };
        
        AbsAxis2 = 
        {
          Visible = Off;
          Min = -1.0;
          Max = 1.0;
          AutoMin = Off;
          AutoMax = Off;
          
          Unit1 = {
            Unit = 1;
          };
          
          
        };
        
        ValueAxis = 
        {
          Visible = Off;
          Min = -1.0;
          Max = 1.0;
          AutoMin = Off;
          AutoMax = Off;
          
          Unit1 = {
            Unit = 0.1;
          };
        };        
      };
    };

    Main.Model.HumanModel.Seg.Mandible.MandibleSurfNode = {   
    AnyRefNode Chart1Ref ={
      
      sRel = -{1,1,1};
      AnyChart Chart1 = 
      {
        
        Style = {
          Sizes = {2,2,2};
          AutoSizes=Off;
          AutoPosition=Off;
          
          Axes = {
            Style = 0;
          };
        };
        
        Series =   {
          AnyVar Thickness = 3.0;
          AnyVec3 Color={1,0,0};
          
          AnyChartSerie COP_L =     {
            Lines.RGB = .Color;

            Abscissa = "Main.Model.Study.Output.OutputFile.TMJ_L_COP_CT_Mandible[0]";
            Abscissa2 = "Main.Model.Study.Output.OutputFile.TMJ_L_COP_CT_Mandible[1]";
            Value = "Main.Model.Study.Output.OutputFile.TMJ_L_COP_CT_Mandible[2]";
            Lines = { Thickness = ..Thickness;};
          };

          AnyChartSerie COP_R =     {
            Lines.RGB = .Color;
            Abscissa = "Main.Model.Study.Output.OutputFile.TMJ_R_COP_CT_Mandible[0]";
            Abscissa2 = "Main.Model.Study.Output.OutputFile.TMJ_R_COP_CT_Mandible[1]";
            Value = "Main.Model.Study.Output.OutputFile.TMJ_R_COP_CT_Mandible[2]";
            Lines = { Thickness = ..Thickness;};
          };
          
        };  
              
        
        AbsAxis = {
          Visible = On;
          Min = -1.0;
          Max = 1.0;
          AutoMin = Off;
          AutoMax = Off;
          
          Unit1 = {
            Unit = 1;
          };    
        };
        
        AbsAxis2 = 
        {
          Visible = On;
          Min = -1.0;
          Max = 1.0;
          AutoMin = Off;
          AutoMax = Off;
          
          Unit1 = {
            Unit = 1;
          };
          
          
        };
        
        ValueAxis = 
        {
          Visible = On;
          Min = -1.0;
          Max = 1.0;
          AutoMin = Off;
          AutoMax = Off;
          
          Unit1 = {
            Unit = 0.1;
          };
        };        
      };
    };
  };   
    
AnyDrawLine COP_L = 
     {
#if TMJ_CONTACT_MODEL == 0    
       p0 = Main.Model.HumanModel.Seg.Mandible.TMJ_NodeL.r;
       
#else
       p0 = Main.Model.HumanModel.Jnt.TMJ_JntL_Contact.COP;

       #endif
       p1 = p0+0.005*(Main.Model.Study.TMJ_ReactionForces.TML_L_ReacMeasure_Flocal*Main.Model.HumanModel.Seg.Skull.TMJ_NodeL.Axes');
       Visible = On;
       AnyRefFrame &ref = Main.GlobalRef;
       
       Line.RGB ={0,0,1};
       Line.Thickness = 0.001;
       Line.End.Thickness = 2*0.01;
       Line.End.Length = 4*0.01;
       GlobalCoord=On;
     };
     
AnyDrawLine COP_R = 
     {
#if TMJ_CONTACT_MODEL == 0    
       p0 = Main.Model.HumanModel.Seg.Mandible.TMJ_NodeR.r;
       
#else
       p0 = Main.Model.HumanModel.Jnt.TMJ_JntR_Contact.COP;
#endif
       p1 = p0+0.005*(Main.Model.Study.TMJ_ReactionForces.TML_R_ReacMeasure_Flocal*Main.Model.HumanModel.Seg.Skull.TMJ_NodeR.Axes');
       Visible = On;
       AnyRefFrame &ref = Main.GlobalRef;
       
       Line.RGB ={0,0,1};
       Line.Thickness = 0.001;
       Line.End.Thickness = 2*0.01;
       Line.End.Length = 4*0.01;
       GlobalCoord=On;
     };