Specifications
207
AnyVar ScaleFactor=0.001;
AnyVec3 RGB = {1,0,0};
AnyVar Thickness = 0.01;
AnyVar HeadThickness = 2*Thickness;
AnyVar HeadLength = 5*Thickness;
};
};
AnyFolder Names={
AnyVec3 RGB={0,0,1};
AnyVec3 ScaleXYZ={0.01,0.01,0.01};
};
AnyFolder Marker={
AnyVec3 Color={0,0,1};
AnyVar Radius=0.005;
};
}; //DrawSettings
Then save the new file under the name "Drawsettings.any". The beauty of all this is that it allows you to
very easily change many of the graphical settings of the entire model just by changing a few numbers in this
file. For instance, if you want to give all the bones in the model a new color, then simply edit the blend of
red, green and blue for the AnyBodyPaleYellow setting near the top opt the file.
To use these settings, the following must be added to the Pedal.Main.any file:
Main = {
#include "DrawSettings.any"
// The actual body model goes in this folder
AnyFolder MyPedal = {
Try loading the model again. F7 should produce the encouraging message:
Model Warning: Study 'Main.MyStudy' contains too few kinematic constraints to be kinematically
determinate.
Evaluating model...
Loaded successfully.
Elapsed Time : 0.831000
The model view should show you the following picture:










