Specifications
112
AnyDrawMuscle drw = {
//RGB = {0.554688, 0.101563, 0.117188};
//Transparency = 1.000000;
//DrawOnOff = 1.000000;
Bulging = 1;
ColorScale = 1;
//RGBColorScale = {0.957031, 0.785156, 0.785156};
MaxStress = 2500;
};
When you reload and run the InverseDynamicAnalysis, you will notice that the red shade of the muscle
changes as its activity grows:
When the activity is zero, the color defaults to a rather pale red. You can control this "initial" value of the
scaled color through the property RGBColorscale. As the activity grows towards 1, the color approaches the
default value of the muscle given in the RGB property. For instance, if you want the color interpolated from
a cold blue to a warm red as the muscle activity increases, you can use the following settings:
AnyDrawMuscle drw = {
RGB = {1, 0, 0}; //Red
//Transparency = 1.000000;
//DrawOnOff = 1.000000;
Bulging = 1;
ColorScale = 1;
RGBColorScale = {0, 0, 1}; //Blue
MaxStress = 2500;
};
Finally, the muscle drawing object has a couple of properties in common with other drawing objects: You
can control the transparency of the object through the property of that name. Transparency = 1 means
oblique, and with Transparency = 0, the object becomes completely invisible. All values in between causes
the object to be semi-transparent. You can also turn of the display of the object entirely off by setting
DrawOnOff = 0;
With the drawing of muscles under control, let us proceed to another important issue. Lesson 3: Via point
muscles.
Lesson 3: Via point muscles
Although the name of the muscle class we have used to far is AnyViaPointMuscle, the example has only
showed the muscle passing in a straight line between two points. Real muscles in the body rarely do so.










