15 lines (11 with data), 1.0 kB
AnyFolder &DrawRef=Main.DrawSettings; //reference to the folder which contains drawsettings
//low limit for the strength measure function, if the distance measured along Direction[0] is below this val. the strength will be zero (negative)
AnyVar UserDefinedLimitLow= -0.001;
//high limit for the strength measure function, if the distance measured along Direction[0] is above this val. the strength will be zero
AnyVar UserDefinedLimitHigh= -0.000001;
//high limit for the strength measure function, if the radius measured along the plane with Direction[0] as normal is above this val. the strength will be zero
AnyVar UserDefinedRadiusLimit=0.002;
AnyVar Strength =1000; //strength of muscles
AnyVar StaticFrictionCoefficient=0.0; //Friction coefficient
AnyVar ScaleFactor =-2; //scale factor for draw vectors it can be set differently than by the drawsettings
AnyIntArray Direction={0,1,2}; //first element gives normal direction