Switch to unified view

a b/Application/Examples/JumpingJack/Model/DrawSettings.any
1
// Include the default DrawSettings values so they can be customized below. 
2
#include "<ANYBODY_PATH_BODY>/DrawSettings/DrawSettingsDefault.any"  
3
4
DrawSettings ={
5
6
  
7
  //This is the color definitions of the nodes and segments
8
 Colors = {
9
  AnyBodyRed = {149/256,51/256,55/256};    //AnyBody standard red
10
  AnyBodyGreen = {47/256,131/256,80/256};  //AnyBody standard green
11
  AnyBodyBlue = {82/256,85/256,111/256};   //AnyBody standard blue
12
  AnyBodyYellow= {235/256,197/256,17/256}; //AnyBody standard yellow
13
  AnyBodyPaleYellow = {248/256,204/256,115/256}; //AnyBody standard pale yellow
14
  AnyBodyGrey = {153/256,153/256,153/256};    //AnyBody standard grey
15
16
17
  Nodes = AnyBodyPaleYellow; 
18
  Segments =  AnyBodyPaleYellow; 
19
};
20
21
  Muscle ={ 
22
    RGB = .Colors.AnyBodyRed;
23
    DrawScaleOnOff =Off;
24
    Bulging =0.0;
25
    ColorScale =1.0;
26
    RGBColorScale = {0.957031, 0.785156, 0.785156};
27
    MaxStress = 2500000.000000; //N/m^2 //This number is for graphics only!
28
    Opacity =1.0;
29
    DrawScale = 
30
    {
31
      EnableCreasing = Off;
32
      CreasingAngle = 0.524;
33
      EnableWireframe = Off;
34
      EnableSmoothing = On;
35
      Param = 0.0;
36
      ParamArray = {0.0, 0.167, 0.333, 0.5, 0.667, 0.833, 1.0};
37
      RGBArray = {{0.0, 0.0, 0.6}, {0.0, 0.0, 1.0}, {0.0, 1.0, 1.0}, {0.0, 1.0, 0.0}, {1.0, 1.0, 0.0}, {1.0, 0.0, 0.0}, {0.6, 0.0, 0.0}};
38
      OpacityArray = {1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0};
39
    };
40
  }; 
41
  
42
  
43
    BonesOpacity ={
44
    
45
    GlobalCoef = 1;
46
    
47
    Skull = 1*GlobalCoef;
48
    Thorax = 1*GlobalCoef;
49
    Pelvis = 1*GlobalCoef;
50
    Sacrum = 1*GlobalCoef;
51
    L5 = 1*GlobalCoef;
52
    L4 = 1*GlobalCoef;
53
    L3 = 1*GlobalCoef;
54
    L2 = 1*GlobalCoef;
55
    L1 = 1*GlobalCoef;
56
    
57
    RightFoot = 1*GlobalCoef;
58
    RightShank = 1*GlobalCoef;
59
    RightThigh = 1*GlobalCoef;
60
    
61
    LeftFoot = 1*GlobalCoef;
62
    LeftShank = 1*GlobalCoef;
63
    LeftThigh = 1*GlobalCoef;
64
65
    
66
    RightClavicula = 1*GlobalCoef;
67
    RightScapula = 1*GlobalCoef;
68
    RightHumerus = 1*GlobalCoef;
69
    RightUlna = 1*GlobalCoef;
70
    RightRadius = 1*GlobalCoef;
71
    RightHand = 1*GlobalCoef;
72
    
73
    LeftClavicula = 1*GlobalCoef;
74
    LeftScapula = 1*GlobalCoef;
75
    LeftHumerus = 1*GlobalCoef;
76
    LeftUlna = 1*GlobalCoef;
77
    LeftRadius = 1*GlobalCoef;
78
    LeftHand = 1*GlobalCoef;
79
80
    
81
    // For leg TD only.
82
    RightTalus = 1*GlobalCoef;
83
    RightPatella = 1*GlobalCoef;
84
    
85
    LeftTalus = 1*GlobalCoef;
86
    LeftPatella = 1*GlobalCoef;
87
88
    
89
    // For detailed cervical model only.
90
    C1 = 1*GlobalCoef;
91
    C2 = 1*GlobalCoef;
92
    C3 = 1*GlobalCoef;
93
    C4 = 1*GlobalCoef;
94
    C5 = 1*GlobalCoef;
95
    C6 = 1*GlobalCoef;
96
    C7 = 1*GlobalCoef;
97
  };
98
99
  
100
  
101
  SegmentAxes ={
102
    RGB ={0,0,1};
103
    ScaleXYZ ={0.0001,0.00001,0.00001};
104
  };
105
  BML ={
106
    ScaleXYZ ={0.0006,0.0006,0.0006};
107
    RGB = .Colors.AnyBodyBlue;
108
  };
109
  JointAxesProximal = {
110
    RGB = .Colors.AnyBodyRed;
111
    ScaleXYZ = {0.015,0.015,0.015};
112
  };
113
  JointAxesDistal = {
114
    RGB = .Colors.AnyBodyGreen;
115
    ScaleXYZ = {0.01,0.01,0.01};
116
  };
117
  
118
  
119
  SegmentNodes ={
120
    ScaleXYZ ={0.0005,0.0005,0.0005};
121
    RGB = .Colors.AnyBodyRed;
122
  };
123
  WrapGeometry ={
124
    RGB ={1,1,1};
125
  };
126
  
127
     DrawSettingsSupport={
128
    Lin={ 
129
        ScaleFactor=0.004; 
130
       RGB = {0,0,1};
131
      Thickness = 0.004;
132
      HeadThickness = 2*Thickness;
133
      HeadLength = 3*Thickness;
134
    };
135
    Rot={ 
136
       ScaleFactor=0.08; 
137
      RGB = {1,0,0};
138
       Thickness = 0.075;
139
       HeadThickness = 2*Thickness;
140
       HeadLength = 5*Thickness;
141
    };
142
  };
143
  
144
  
145
  Marker={
146
  Color={0,0,1};
147
  Radius=0.00;
148
  
149
  };
150
151
}; //DrawSettings